From 0f4dd182b023dd8a34eab07702591d180feb86cc Mon Sep 17 00:00:00 2001 From: ficus Date: Fri, 23 Nov 2012 20:01:16 +0100 Subject: disable ipv6 on uap0 (temporary) --- config/includes.chroot/etc/network/interfaces | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'config/includes.chroot/etc/network/interfaces') 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 -- cgit v1.2.3