Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4151

Troubleshooting • Stopped being able to access the internet although I'm still connected to wifi

$
0
0
My raspberry pi has suddenly stopped accessing the internet. It is successfully connected to the wifi. Everything looks good on the side of the router.

I have:
Raspberry Pi 5
Bookworm 64-bit

I've tried:
Connecting to my phone's internet via a hotspot. It connects successfully as well, but just the same it will not access the internet.
Checked my /etc/resolv.conf file, the DNS servers listed are correct.
Pinged 8.8.8.8, there was no results
Pinged my default router, there was no results
Pinged google.com, the results came back as "Temporary failure in name resolution."
Changed the mac address by spoofing it.

What I'm finding interesting is that I cannot even ping anything locally, like even my default router. I don't know what that means, but I do know that others that have had a similar issue with their pi at least could ping locally. And pinging 8.8.8.8 at least would give them a response. A response that the ping failed, but it's still a response. I just get PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data and then I have to close and reopen the command window because it's like it gets stuck, I can't type in any more commands.

I also tried:
I disabled NetworkManager and NetworkManager-wait-online

Code:

sudo systemctl stop NetworkManagersudo systemctl disable NetworkManagersudo systemctl mask NetworkManager
then I edited /etc/wpa_supplicant/wpa_supplicant.conf to look like this

Code:

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev    country=mycountrycodenetwork={        ssid="myssid"        psk="mypassword"}
and then tried
sudo wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -i wlan0 -B -f /var/log/wpa_supplicant.log

I looked at the log
cat /var/log/wpa_supplicant.log

The log:
Succesfully initialized wpa_supplicant
Could not read interface wlan0 flags: No such device
nl80211: Driver does not support authentication/association or connect commands
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Could not read interface wlan0 flags: No such device
wlan0: Failed to initialize driver interface
wlan0: CTRL-EVENT-DSCP-POLICY clear_all
Successfully initialized wpa_supplicant
wlan0: Failed to initiate sched scan
wlan0: Failed to initiate sched scan
wlan0: Failed to initiate sched scan
wlan0: Failed to initiate sched scan
wlan0: Failed to initiate sched scan
wlan0: Failed to initiate sched scan


It was hopefully going to be successful and then I could have tried sudo dhclient -v wlan0 and then after that tried pinging again. But I couldn't get that far.

I am stumped, I really need some help please!

Statistics: Posted by Lindys — Wed Jun 19, 2024 11:45 pm



Viewing all articles
Browse latest Browse all 4151

Trending Articles