LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   problems disabling ipv6 in debian testing with ath5k (https://www.linuxquestions.org/questions/linux-wireless-networking-41/problems-disabling-ipv6-in-debian-testing-with-ath5k-763329/)

mf93 10-20-2009 08:31 PM

problems disabling ipv6 in debian testing with ath5k
 
Alright so my router does not support ipv6 and so I went about disabling ipv6(which was simple in lenny) i created a 00local.conf with
Code:

install ipv6 /bin/true
alias net-pf-10 off
alias ipv6 off

in blacklists.conf i blacklisted ipv6
Code:

blacklist ipv6
blacklist net-pf-10

and I disabled ipv6 in proc/sys/net/ipv6/all/disable_ipv6
Code:

# echo 1 > /proc/sys/net/ipv6/all/disable_ipv6
# cat /proc/sys/net/ipv6/all/disable_ipv6
1
# ifconfig wlan0 down
# ifconfig wlan0 up

And the only thing that worked was when I changed the 0 to 1 in disable_ipv6, and although my repositories still didnt work properly
I figured a reboot would fix that. However, on reboot it was disabled again and my repositories still did not work properly...
So i think editing the .bash_profile would allow me to auto disable every reboot but that still doesn't fix the repositories
I can connect to fpt://ftp.debian.org and http://ftp.debian.org and http://ftp.us.debian.org through iceweasel but not in my repos any help?

mf93 10-24-2009 12:37 PM

ok heres how I fixed it---
Code:

# pico /etc/sysctl.conf
net.ipv6.conf.all.disable_ipv6=1
net.ipv6.conf.ath0.disable_ipv6=1
net.ipv6.conf.eth0.disable_ipv6=1

# reboot

put those 3 lines near the top of the file...and you may have to replace ath0 with wlan0 or the like because I switched to MADWIFI drivers and ath0 is specific to that driver


All times are GMT -5. The time now is 05:57 AM.