Difference between revisions of "Novena Dogfood Setup"

From Studio Kousagi Wiki
Jump to: navigation, search
(Network Setup)
(Network Setup)
Line 2: Line 2:
  
 
==Network Setup==
 
==Network Setup==
 +
Install required packages:
 +
 +
apt-get install bridge-utils
 +
 
Add a file under /etc/network/interfaces.d/ called eth1:
 
Add a file under /etc/network/interfaces.d/ called eth1:
  
Line 10: Line 14:
 
         netmask 255.255.255.252
 
         netmask 255.255.255.252
  
Add a file under /etc/network/interfaces.d/ called eth0:
+
Add a file under /etc/network/interfaces.d/ called bro:
  auto eth0
+
  auto br0
  iface eth0 inet static
+
  iface br0 inet static
 +
bridge_ports wlan0 eth0
 
         address 10.0.49.1
 
         address 10.0.49.1
 
         gateway 10.0.49.1
 
         gateway 10.0.49.1
 +
        network 10.0.49.0
 
         netmask 255.255.255.0
 
         netmask 255.255.255.0
 +
 +
==DHCP server==
 +
Install ISC DHCP server:
 +
 +
apt-get install isc-dhcp-server
 +
 +
Edit /etc/default/isc-dhcp-server and set it to only start up on br0:
 +
 +
INTERFACES="br0"

Revision as of 06:04, 27 May 2014

Novena is now running, serving bunniefoo.com. This is what we had to do to configure it. The board is running Debian Jessie.

Network Setup

Install required packages:

apt-get install bridge-utils

Add a file under /etc/network/interfaces.d/ called eth1:

auto eth1
iface eth1 inet static
       address 210.23.25.254
       gateway 210.23.25.253
       netmask 255.255.255.252

Add a file under /etc/network/interfaces.d/ called bro:

auto br0
iface br0 inet static

bridge_ports wlan0 eth0

       address 10.0.49.1
       gateway 10.0.49.1
       network 10.0.49.0
       netmask 255.255.255.0

DHCP server

Install ISC DHCP server:

apt-get install isc-dhcp-server

Edit /etc/default/isc-dhcp-server and set it to only start up on br0:

INTERFACES="br0"