lundi 26 janvier 2015

Can't connect to some websites through wlan0 whenever eth0 is up


Vote count:

0




I have setup two interfaces from my laptop running ubuntu natty 11.04. One interface is wlan0. The other interface is eth0. I have configured wpa_supplicant on wlan0 on subnet 192.168.1.1 I have configured eth0 on subnet 192.168.0.0.


I can always browse to most websites (eg. google.com) all the time, regardless if eth0 is up or not. But when eth0 is up (ifup eth0) then I can't open some websites, like github.com, or leafletjs.com... Chrome says "This webpage is not available"


Here is my... Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.1.0 * 255.255.255.0 U 0 0 0 wlan0 link-local * 255.255.0.0 U 1000 0 0 wlan0 192.0.0.0 * 255.0.0.0 U 0 0 0 eth0 127.0.0.0 * 255.0.0.0 U 0 0 0 lo default homestation 0.0.0.0 UG 0 0 0 wlan0


(homestation is the hostname for 192.168.1.1, my router)


And this is my current network configuration (/etc/network/interfaces):



auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 192.168.0.1
netmask 255.0.0.0

auto wlan0
iface wlan0 inet static
address 192.168.1.254
netmask 255.255.255.0
gateway 192.168.1.1
dns-nameservers 192.168.1.1

# WPA configuration
wpa-driver wext
wpa-ssid Movistar_15332923
wpa-ap-scan 1
wpa-proto WPA
wpa-pairwise TKIP CCMP
wpa-group TKIP
wpa-key-mgmt WPA-PSK
wpa-psk XXXXXXXXXXXXXXXXXX


Any help will be appreciated!



asked 42 secs ago







Can't connect to some websites through wlan0 whenever eth0 is up

Aucun commentaire:

Enregistrer un commentaire