You are not logged in.

#1 2022-01-24 22:32:24

Akim
Member
Registered: 2021-08-04
Posts: 42

How to troubleshoot wifi (I've read the wiki)

Yesterday I tried installing openvpn, expressvpn and protonvpn. Tried connecting to protonvpn but it just froze and didn't connect so I removed all the mentioned packages. Now WiFi isn't working somehow (maybe vpns aren't the reason at all but it doesn't hurt to mention).

I can scan and connect to any network using nmcli, but none of them work. I've read wiki and forums and I still can't find the reason. The interface is up, rfkill isn't blocking anything, I just don't know how to find the reason why it's not working.

Offline

#2 2022-01-25 00:54:29

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,492
Website

Re: How to troubleshoot wifi (I've read the wiki)

How do you define not working?  What doesn't work?  What error message(s) do you get, or what actual symptoms do you see?

As for reading the wiki, that's good, but don't just tell us that.  Tell us what you did with what you ran.  What diagnostic commands did you run and what was their output?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2022-01-25 08:51:56

Akim
Member
Registered: 2021-08-04
Posts: 42

Re: How to troubleshoot wifi (I've read the wiki)

Trilby wrote:

How do you define not working?  What doesn't work?  What error message(s) do you get, or what actual symptoms do you see?

As for reading the wiki, that's good, but don't just tell us that.  Tell us what you did with what you ran.  What diagnostic commands did you run and what was their output?

I'm not sure how to define a not working Internet, it just doesn't work. Websites don't load, ping says something like failure in name resolution, etc. There are no errors or anything else wrong, therefore I'm unable to detect the issue.

As I mentioned in my post, nothing is blocked (rfkill) and wlan0 interface is up (ip link). I don't remember everything I ran, but there were a lot of commands I either don't understand even after reading wiki/man (i.e. wpa_supplicant) or don't have installed (dhcpcd), making it even harder to troubleshoot.

Offline

#4 2022-01-25 09:17:05

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,100

Re: How to troubleshoot wifi (I've read the wiki)

ip a
ip r
ping -c 1 _gateway
ping -c 1 8.8.8.8
ping -c 1 google.com
drill google.com
drill @8.8.8.8 google.com
find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f
sudo journalctl -b | curl -F 'f:1=<-' ix.io

Offline

#5 2022-01-25 09:54:51

Akim
Member
Registered: 2021-08-04
Posts: 42

Re: How to troubleshoot wifi (I've read the wiki)

seth wrote:
ip a
ip r
ping -c 1 _gateway
ping -c 1 8.8.8.8
ping -c 1 google.com
drill google.com
drill @8.8.8.8 google.com
find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f
sudo journalctl -b | curl -F 'f:1=<-' ix.io

Thank you for your reply, here is a link to these commands: https://pastebin.com/i09iUQtd

Offline

#6 2022-01-25 10:22:25

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,100

Re: How to troubleshoot wifi (I've read the wiki)

Though the journal upload failed due to "no internet", this seems purely a DNS issue.

stat /etc/resolv.conf
cat /etc/resolv.conf
ps aux | grep resolv

Offline

#7 2022-01-25 10:35:40

Akim
Member
Registered: 2021-08-04
Posts: 42

Re: How to troubleshoot wifi (I've read the wiki)

seth wrote:

Though the journal upload failed due to "no internet", this seems purely a DNS issue.

stat /etc/resolv.conf
cat /etc/resolv.conf
ps aux | grep resolv

Here it is: https://pastebin.com/HQSqNHaJ

Offline

#8 2022-01-25 10:58:58

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,100

Re: How to troubleshoot wifi (I've read the wiki)

resolv.conf isn't a symlink to the resolved stub, but NM configures the resolver to localhost and also there's no systemd-resolved running.
Figure how you want to resolve DNS, the the NM wiki and fix your configuration accordingly.

Offline

Board footer

Powered by FluxBB