Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
WiFi connected but no page is loading
WiFi connected but no page is loading
Hi,
I have been using debian for a while, but came across this issue... Basically, my debian (10) will not load any page, but is connected to the wifi network. The funny thing is, it is the only distro I have been using, that is unable to perform this basic task. All other distros on my laptop had no issue with that, all other devices connected to this network work perfect. My debian work on every other wifi network I have connected to with no problems, apart from this one. I have tried to change the DHCP to 8.8.8.8 and 8.8.4.4 under IPv4 settings, I have also tried adding namesrevers to the resolve.conf, however after the NetworkManager restart, the resolve.conf file does not show edited nameservers. I believe it must be getting overwritten by the service..... Any ideas guys ? It is also worth mentioning, that I have never had to reconfigure anything in any devices that use this network, nor I had to configure the router.....
I have been using debian for a while, but came across this issue... Basically, my debian (10) will not load any page, but is connected to the wifi network. The funny thing is, it is the only distro I have been using, that is unable to perform this basic task. All other distros on my laptop had no issue with that, all other devices connected to this network work perfect. My debian work on every other wifi network I have connected to with no problems, apart from this one. I have tried to change the DHCP to 8.8.8.8 and 8.8.4.4 under IPv4 settings, I have also tried adding namesrevers to the resolve.conf, however after the NetworkManager restart, the resolve.conf file does not show edited nameservers. I believe it must be getting overwritten by the service..... Any ideas guys ? It is also worth mentioning, that I have never had to reconfigure anything in any devices that use this network, nor I had to configure the router.....
-
- Posts: 117
- Joined: 2018-06-05 15:23
- Location: Italy
- Has thanked: 2 times
Re: WiFi connected but no page is loading
Hi,
Can you check if DHCP server is working properly?
Did you get an IP address from your DHCP server (it could be the wireless router that you have at home)?
Regards
Can you check if DHCP server is working properly?
Did you get an IP address from your DHCP server (it could be the wireless router that you have at home)?
Regards
Lenovo T460 | 8Gbyte of RAM | Intel core i5 | SSD 250GB | Debian 12
Re: WiFi connected but no page is loading
Hi,
Thanks for the reply. Yes, the router's DHCP is working ok... I get an IP, everything seems to be fine. In fact,the connection works sometimes (for lets say a minute) then gets really slow, actually it show as connected (no disruption in IP address) , but the pages won't load.... there is another identical laptop in my household, running windows and it works just perfect on that wifi... wondering, if I should replace Debian's NetworkManager with something else - let's say IWCtl and get rid of wpa_suplicant..... Another thing that makes me wonder , looking at systmectl.... :
● NetworkManager-wait-online.service loaded failed failed Network Manager Wait Online
Thanks for the reply. Yes, the router's DHCP is working ok... I get an IP, everything seems to be fine. In fact,the connection works sometimes (for lets say a minute) then gets really slow, actually it show as connected (no disruption in IP address) , but the pages won't load.... there is another identical laptop in my household, running windows and it works just perfect on that wifi... wondering, if I should replace Debian's NetworkManager with something else - let's say IWCtl and get rid of wpa_suplicant..... Another thing that makes me wonder , looking at systmectl.... :
● NetworkManager-wait-online.service loaded failed failed Network Manager Wait Online
-
- df -h | grep > 20TiB
- Posts: 1418
- Joined: 2012-10-06 05:31
- Location: /dev/chair
- Has thanked: 79 times
- Been thanked: 191 times
Re: WiFi connected but no page is loading
Yeah, NetworkMangler will do that for you. It's a "feature". IIRC there's a way to specify nameservers in your NM config instead, but I haven't used it in a while. GIYF.
Or you could use the tools at your disposal (ping, nslookup, route, traceroute, a real ethernet cable etc.) to find out what's actually wrong, rather than randomly replacing parts on a hunch... Just a suggestion.
Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.
Re: WiFi connected but no page is loading
I have... can ping the router ok, but nothing else... non local or public IPs.... it literally looks like a bad signal in your mobile phone.... sometimes it works, sometimes it doesnt. Mostly does not.... and I mean, it will work for a short period of time ,then it stops... worth mentioning, I remain connected to the network. The page just wont load, or in other words , no IP is accessible for a while.
Have not tried the cable yet... but the routers placement makes it really awkward to use a cable....
Re: WiFi connected but no page is loading
I use wpa_supplicant, has worked flawless so no need to change. Network manager makes things too complicated, for me at least.
Open terminal, and try:
192.168.1.1 is my router, works as dhcp server and nameserver too.
And still in terminal
And that it works a while, then not, would indicate your wifi goes to sleep mode.
As root or with sudo:
Open terminal, and try:
Code: Select all
~$ cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 192.168.1.1
And still in terminal
Code: Select all
~$ ip route show
default via 192.168.1.1 dev wifi1 onlink
192.168.1.0/24 dev wifi1 proto kernel scope link src 192.168.1.29
As root or with sudo:
Code: Select all
:~$ sudo rfkill
[sudo] salasana henkilölle arto:
ID TYPE DEVICE SOFT HARD
0 wlan phy0 unblocked unblocked
1 wlan acer-wireless unblocked unblocked
2 wlan phy1 unblocked unblocked
Re: WiFi connected but no page is loading
Code: Select all
jr91@Luke-deb:~$ cat /etc/resolv.conf
# Generated by NetworkManager
nameserver 192.168.8.1
nameserver 8.8.8.8
nameserver 8.8.4.4
Code: Select all
jr91@Luke-deb:~$ ip route show
default via 192.168.8.1 dev wlp2s0 proto dhcp metric 600
169.254.0.0/16 dev wlp2s0 scope link metric 1000
172.16.16.0/24 dev vmnet1 proto kernel scope link src 172.16.16.1
192.168.8.0/24 dev vmnet8 proto kernel scope link src 192.168.8.1
192.168.8.0/24 dev wlp2s0 proto kernel scope link src 192.168.8.182 metric 600
Code: Select all
jr91@Luke-deb:~$ sudo rfkill
ID TYPE DEVICE SOFT HARD
0 bluetooth Toshiba Bluetooth unblocked unblocked
1 bluetooth hci0 unblocked unblocked
2 wlan phy0 unblocked unblocked
Re: WiFi connected but no page is loading
More moving parts vms Well seems ok if those vmnets are excluded. To me network manager has been only trouble, so I nowadays don't even install it when I install Debian. Obviously can not speak of it, as I don't know it better. Sorry, can't help further.
Re: WiFi connected but no page is loading
No problem, thanks a lot. What do use instead of Network Manager? I am eager to try something else.... kind of loads of tools to choose from... maybe its time to experiment ...
Re: WiFi connected but no page is loading
You can use iwd instead of wpa_supplicant. I found iwd as network manager replacement rather doable, since iwd has interactive mode it is easy to set it up.
On the other hand you can use iwd as backend for network manager as well. You might have more luck with it, I had some issues with wpa_supplicant.
As for now, iwd is currently in Buster only as a technical preview, but under Bullseye it is working rather fine.
On the other hand you can use iwd as backend for network manager as well. You might have more luck with it, I had some issues with wpa_supplicant.
As for now, iwd is currently in Buster only as a technical preview, but under Bullseye it is working rather fine.
Re: WiFi connected but no page is loading
There are also many frontends to wpa_supplicant. I agree iwd will replace it in the long run. but in buster I think wpa_supplicant is the most simple to set up.
wpa_supplicant.conf must be only *root readable. Don't need anything else, maybe firmware for your wifi.
EDIT:
clarifation for *
Code: Select all
# /etc/wpa_supplicant/wpa_supplicant.conf
network={
ssid="ssid of your wifi"
psk="password of your wifi"
}
EDIT:
clarifation for *
Code: Select all
$ ls -l /etc/wpa_supplicant/wpa_supplicant.conf
-r-------- 1 root root 168 kesä 20 18:30 /etc/wpa_supplicant/wpa_supplicant.conf
Re: WiFi connected but no page is loading
Ok guys, I have experimented .... so, everything is working great now. What I had done was upgrading to BullsEye (debian 11) with a hope, that maybe that will solve my problem.
Well, it did not.
So, I got rid of wpa_supplicant and NetworkManager (both disabled via systemctl) and installed iwd alngo with IWCtl .... the configuration is very easy and it works flawlessly now. Thank you all for help. Hope this thread will serve someone else.
===== UPDATE ======
Sorry guys, it worked ok for about an hour.... until I ran a VM machine with Kali linux installed on it... the exact issue reproduced and is now driving me crazy. The connection remains established, but after a while - a minute or less, that is without running the VM and after the reboot, it wont ping any IP , including 1.1.1.1 until I ..... then it works for a while again and the problem replicates......
Well, it did not.
So, I got rid of wpa_supplicant and NetworkManager (both disabled via systemctl) and installed iwd alngo with IWCtl .... the configuration is very easy and it works flawlessly now. Thank you all for help. Hope this thread will serve someone else.
===== UPDATE ======
Sorry guys, it worked ok for about an hour.... until I ran a VM machine with Kali linux installed on it... the exact issue reproduced and is now driving me crazy. The connection remains established, but after a while - a minute or less, that is without running the VM and after the reboot, it wont ping any IP , including 1.1.1.1 until I
Code: Select all
service iwd restart
- sunrat
- Administrator
- Posts: 6475
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 118 times
- Been thanked: 474 times
Re: WiFi connected but no page is loading
Did you investigate whether your device is going into power saving mode as was mentioned above?
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Re: WiFi connected but no page is loading
Yes - that's when I can't ping any IP's
Code: Select all
jr91@Luke-deb:~$ sudo rfkill
ID TYPE DEVICE SOFT HARD
0 bluetooth Toshiba Bluetooth unblocked unblocked
1 wlan phy0 unblocked unblocked
2 bluetooth hci0 unblocked unblocked
Re: WiFi connected but no page is loading
Also please note, that if I switch to a different WiFi - for example my mobile's HotSpot, the connection remains settled and sound.... No issues at all.... also, all other devices connected to the debian-giving-problems WiFi network work just perfect.....
Re: WiFi connected but no page is loading
Another funny update.... I started a download of a 4GB file , using the Opera (my default browser)... the file downloaded with no interruptions, however, during the download, Opera would not open any website - reported "NO INTERNET CONNECTION" error..... I also could not ping any IP's (external), like 8.8.8.8..... Any suggestion guys? I become powerless
Re: WiFi connected but no page is loading
The router's wifi might be dying. Has happened for me many times, router works, but wifi is unstable, and soon can't connect at all over wifi.jr91 wrote: ↑2021-07-25 21:33 Another funny update.... I started a download of a 4GB file , using the Opera (my default browser)... the file downloaded with no interruptions, however, during the download, Opera would not open any website - reported "NO INTERNET CONNECTION" error..... I also could not ping any IP's (external), like 8.8.8.8..... Any suggestion guys? I become powerless
I purchased a wireless router, which I connect to router, and disabled wifi on the router.
Re: WiFi connected but no page is loading
Guys, got it sorted.... one of the VM's configured while connected to a different network was causing an IP clash on this particular network.... Editing few lines in the VMware network config file solved the issue
Thank you all for help ..... I believe I will stay with iwd alng with IWCtl , as it works a lot smoother then wpa_supplicant along with NetworkMnager. Just a thought. ....
Cheers!
Thank you all for help ..... I believe I will stay with iwd alng with IWCtl , as it works a lot smoother then wpa_supplicant along with NetworkMnager. Just a thought. ....
Cheers!