diff options
author | Arturo FilastoĢ <hellais@torproject.org> | 2011-08-23 16:58:43 +0200 |
---|---|---|
committer | Arturo FilastoĢ <hellais@torproject.org> | 2011-08-23 17:01:08 +0200 |
commit | 4b7143c2feea76120750394f04a40d757bdbde57 (patch) | |
tree | 32451b9fb9dba646e2fc728bb3326c7defcd2a6d /packages/torouter-prep/configs/interfaces | |
parent | e09646bce65198fdc6dc13ca94b6653059c7ae0b (diff) | |
download | torouter-4b7143c2feea76120750394f04a40d757bdbde57.tar.gz torouter-4b7143c2feea76120750394f04a40d757bdbde57.zip |
Use wlan0 instead of uap0
Diffstat (limited to 'packages/torouter-prep/configs/interfaces')
-rw-r--r-- | packages/torouter-prep/configs/interfaces | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/torouter-prep/configs/interfaces b/packages/torouter-prep/configs/interfaces index a72d593..d1b9ba3 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 uap0 - post-down ifdown uap0 + post-up ifup wlan0 + post-down ifdown wlan0 auto eth1 iface eth1 inet static @@ -18,7 +18,7 @@ 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 uap0 because it clears the nat tables + # this must happen after have brought up wlan0 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 |