diff options
Diffstat (limited to 'config/includes.chroot/etc/network/interfaces')
-rw-r--r-- | config/includes.chroot/etc/network/interfaces | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/includes.chroot/etc/network/interfaces b/config/includes.chroot/etc/network/interfaces index 3c8db85..9e418ca 100644 --- a/config/includes.chroot/etc/network/interfaces +++ b/config/includes.chroot/etc/network/interfaces @@ -12,13 +12,14 @@ iface eth0 inet dhcp post-down ifdown uap0 # The LAN network interface (not tor-ified) -allow-hotplug eth1 +auto eth1 iface eth1 inet static address 10.23.42.1 netmask 255.255.255.0 network 10.23.42.0 broadcast 10.23.42.255 pre-up ip addr del 10.23.42.1/24 dev eth1 || true + post-up /etc/init.d/torouterui start post-up /etc/init.d/dnsmasq_lan start # this must happen after have brought up uap0 because it clears the NAT # tables |