Stopped connecting to the internet on certain WiFi network

I have a dualboot laptop. Over a month I was able to connect to the WiFi network and access to the internet. For 3 days now I’m connecting to this network but can’t access the internet. When I plug in the ether-net cable I’m getting access to the internet on that network. When I boot into windows on the same laptop I have access to the internet on that network. How do I fix internet connection?

When cable is plugged in:


:~> sudo route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.0.1     0.0.0.0         UG    100    0        0 eth0
0.0.0.0         192.168.0.1     0.0.0.0         UG    600    0        0 wlan0
192.168.0.0     0.0.0.0         255.255.255.0   U     100    0        0 eth0
192.168.0.0     0.0.0.0         255.255.255.0   U     600    0        0 wlan0

Wireless only:


:~> sudo route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.0.1     0.0.0.0         UG    600    0        0 wlan0
192.168.0.0     0.0.0.0         255.255.255.0   U     600    0        0 wlan0


How do you check your internet connection. I ask because some people tell us that they have no internet connection where they in fact have, but only have no DNS name resolving.

Please try and post

ping -c1  130.57.66.6

and

ping -c1 forums.opensuse.org

Here is the output:

:~> ping -c1  130.57.66.6
PING 130.57.66.6 (130.57.66.6) 56(84) bytes of data.

--- 130.57.66.6 ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms


:~> ping -c1 forums.opensuse.org
ping: unknown host forums.opensuse.org


That proves it then: no connection to the internet.

It is a bit strange that you have double routes in the case where the cable is connected. The Wifi should then not be used (to the same network). But you say in that situation it works.

I then would say,: something wrong with the Wifi card, but you say that Windows works with it.

Hm.

Yep, that is the case.

Stupid try, but can you still connect to the router?

ping -c1 192.168.0.1

I will double-check tomorrow, but if I think I tried to connect to the router and was unable to do so on WiFi and had a success on wired connection.

ping -c1 192.168.0.1
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.

--- 192.168.0.1 ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms