Difference between revisions of "Novena Dogfood Setup"
(→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 | + | Add a file under /etc/network/interfaces.d/ called bro: |
− | auto | + | auto br0 |
− | iface | + | 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"