aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArturo FilastoĢ€ <hellais@torproject.org>2011-08-23 16:58:43 +0200
committerArturo FilastoĢ€ <hellais@torproject.org>2011-08-23 17:01:08 +0200
commit4b7143c2feea76120750394f04a40d757bdbde57 (patch)
tree32451b9fb9dba646e2fc728bb3326c7defcd2a6d
parente09646bce65198fdc6dc13ca94b6653059c7ae0b (diff)
downloadtorouter-4b7143c2feea76120750394f04a40d757bdbde57.tar.gz
torouter-4b7143c2feea76120750394f04a40d757bdbde57.zip
Use wlan0 instead of uap0
-rw-r--r--packages/torouter-prep/configs/dnsmasq.conf2
-rw-r--r--packages/torouter-prep/configs/interfaces6
-rwxr-xr-xpackages/torouter-prep/configs/tor-wireless-firewall.sh2
-rw-r--r--packages/torouter-prep/configs/udhcpd.conf2
4 files changed, 6 insertions, 6 deletions
diff --git a/packages/torouter-prep/configs/dnsmasq.conf b/packages/torouter-prep/configs/dnsmasq.conf
index 2711486..cc6477d 100644
--- a/packages/torouter-prep/configs/dnsmasq.conf
+++ b/packages/torouter-prep/configs/dnsmasq.conf
@@ -83,7 +83,7 @@ no-poll
# interface (eg eth0) here.
# Repeat the line for more than one interface.
interface=eth1
-interface=uap0
+interface=wlan0
# Or you can specify which interface _not_ to listen on
except-interface=eth0
except-interface=lo
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
diff --git a/packages/torouter-prep/configs/tor-wireless-firewall.sh b/packages/torouter-prep/configs/tor-wireless-firewall.sh
index 4310e7b..bdb2587 100755
--- a/packages/torouter-prep/configs/tor-wireless-firewall.sh
+++ b/packages/torouter-prep/configs/tor-wireless-firewall.sh
@@ -7,7 +7,7 @@ NON_TOR="10.0.2.0/24 10.23.42.0/24 172.16.23.0/24"
TRANS_PORT="9040"
# your internal interface
-INT_IF="uap0"
+INT_IF="wlan0"
iptables -F
iptables -t nat -F
diff --git a/packages/torouter-prep/configs/udhcpd.conf b/packages/torouter-prep/configs/udhcpd.conf
index 04160aa..db88e38 100644
--- a/packages/torouter-prep/configs/udhcpd.conf
+++ b/packages/torouter-prep/configs/udhcpd.conf
@@ -5,7 +5,7 @@ start 172.16.23.10
end 172.16.23.254
# The interface that udhcpd will use
-interface uap0
+interface wlan0
# The maximim number of leases (includes addressesd reserved
# by OFFER's, DECLINE's, and ARP conficts