You are not logged in.

#1 2012-05-04 17:26:54

samos123
Member
Registered: 2012-04-25
Posts: 8

[Solved]Python seems to try ipv6 causing Network is unreachable errors

I'm not sure what's going on but I got the feeling that its related to the ipv6 commands I used before to setup a tunnel, i havent been executing those anymore though as it didnt work. I have restarted the pc already several times since the last time i ran those command also.

I posted the whole error logs and commands that I executed on stackoverflow: http://stackoverflow.com/questions/1045 … nreachable

Really would appreciate any help! I'm seriously stuck on it for several hours already.

cat /proc/sys/net/ipv6/bindv6only
returns 0
so that should be good.

Could this fix it? ip route replace ::/0 dev wlan0 metric 1

Adding some more output:
ip -6 addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qlen 1000
    inet6 fe80::72f3:95ff:feb5:7a8f/64 scope link
       valid_lft forever preferred_lft forever

I dont wanna use ipv6 my ISP does not support it.

UPDATE:
In my /etc/hosts file I pointed facebook and many major sites to use their ipv6 address, so i could bypass the Great Firewall, but didn't turn them back. My bad. Hope it will help somebody who is trying the same thing and also as stupid as me.

Last edited by samos123 (2012-05-07 06:08:27)

Offline

#2 2012-05-05 03:44:23

boswbr25
Member
Registered: 2012-02-29
Posts: 63

Re: [Solved]Python seems to try ipv6 causing Network is unreachable errors

Although I'm not that well-versed in networking, I do know that you can make your system stop using ipv6 by placing the following line in your modprobe.conf:

 blacklist ipv6 

Hope that helps smile!

Offline

Board footer

Powered by FluxBB