diff options
author | ficus <ficus@robocracy.org> | 2012-11-23 20:01:16 +0100 |
---|---|---|
committer | ficus <ficus@robocracy.org> | 2012-11-23 20:01:16 +0100 |
commit | 0f4dd182b023dd8a34eab07702591d180feb86cc (patch) | |
tree | c0f9d171a7ce392b1795276dd78f7b6198e05ab7 /config/includes.chroot/etc/network/interfaces | |
parent | 63ec73ed1a4fd5c1a6b6b3cdeb805dc4e6dcfdfe (diff) | |
download | torouter-live-0f4dd182b023dd8a34eab07702591d180feb86cc.tar.gz torouter-live-0f4dd182b023dd8a34eab07702591d180feb86cc.zip |
disable ipv6 on uap0 (temporary)
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 7d11e36..3c8db85 100644 --- a/config/includes.chroot/etc/network/interfaces +++ b/config/includes.chroot/etc/network/interfaces @@ -26,7 +26,7 @@ iface eth1 inet static pre-down /etc/init.d/dnsmasq_lan stop # The magic Tor wireless network -# *NOT* auto; gets configured by eth0 post-* +auto uap0 iface uap0 inet static address 172.16.23.1 netmask 255.255.255.0 @@ -34,6 +34,7 @@ iface uap0 inet static broadcast 172.16.23.255 pre-up ifconfig uap0 hw ether 00:66:66:66:66:66 pre-up ip addr del 172.16.23.1/24 dev uap0 || true + post-up sysctl -w net.ipv6.conf.uap0.disable_ipv6=1 # just for this one post-up /etc/init.d/tor start post-up /etc/init.d/tor reload post-up /etc/init.d/dnsmasq_wifi start |