From 9ac2c7a00186e1b0daf527cadf94b1f104fc3e14 Mon Sep 17 00:00:00 2001 From: Arturo FilastoĢ€ Date: Fri, 26 Aug 2011 00:53:44 +0200 Subject: Change back to uap0 --- packages/torouter-prep/configs/interfaces | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'packages/torouter-prep/configs/interfaces') diff --git a/packages/torouter-prep/configs/interfaces b/packages/torouter-prep/configs/interfaces index d1b9ba3..ef3071a 100644 --- a/packages/torouter-prep/configs/interfaces +++ b/packages/torouter-prep/configs/interfaces @@ -8,8 +8,8 @@ iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet dhcp - post-up ifup wlan0 - post-down ifdown wlan0 + post-up ifup uap0 + post-down ifdown uap0 auto eth1 iface eth1 inet static @@ -18,12 +18,12 @@ iface eth1 inet static network 10.23.42.0 broadcast 10.23.42.255 post-up echo 1 > /proc/sys/net/ipv4/ip_forward - # this must happen after have brought up wlan0 because it clears the nat tables + # this must happen after have brought up uap0 because it clears the nat tables post-up iptables -t nat -A POSTROUTING -s 10.23.42.0/24 -o eth0 -j MASQUERADE post-up /etc/init.d/dnsmasq restart # The magic Tor wireless network -iface wlan0 inet static +iface uap0 inet static address 172.16.23.1 netmask 255.255.255.0 network 172.16.23.0 -- cgit v1.2.3