You are not logged in.

#1 2023-10-19 08:09:36

ZALMT
Member
Registered: 2023-10-19
Posts: 33

[SOLVED] Problem using uni wifi

I installed Arch on my laptop, and it so far it's been great. There is only 1 problem: I can't use my uni's wifi

On the first day I set it up using the recommended settings on Android and NetworkManager, and things seemed to be fine, a little slow, but that could equally due to the traffic and/or the old laptop, but in the next few days I couldn't access the internet properly, even though it showed that I was "connected". Sometimes after disconnect/reconnect and/or reboot I would get 5s of access (I tried through ping google.com), then things would die down, all the while the system seemed to be connected.

I could use the hotspot from my phone just fine, and the wifi in my accomodation is also fine, even though afaik both my uni and accommodation uses WPA2, the only difference is that my accommodation uses a website to sign in, while in my uni we have an username and password.

I have looked and iwd is not running, dhcpcd is not installed, I have no idea what happened, there was times were there was connection, but the access seemed to just die down.

I have tried RTFM, but things were either not helping or too complicated for my monke brain to understand, so any help would be deeply appreciated

EDIT: this is the output of iwconfig

iwconfig
lo        no wireless extensions.

enp0s25   no wireless extensions.

wlan0     IEEE 802.11  ESSID:"UniSydney"  
          Mode:Managed  Frequency:5.2 GHz  Access Point: A0:EC:F9:37:04:1F   
          Bit Rate=12 Mb/s   Tx-Power=9 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=38/70  Signal level=-72 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:1  Invalid misc:0   Missed beacon:0

enp0s26u1u2i1  no wireless extensions.

Last edited by ZALMT (2024-02-22 00:24:49)

Offline

#2 2023-10-19 12:19:22

seth
Member
Registered: 2012-09-03
Posts: 53,611

Re: [SOLVED] Problem using uni wifi

Possibly https://bbs.archlinux.org/viewtopic.php?id=286417 - otherwise you'll have to please post your complete system journal after attempting to use the uni network:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

Offline

#3 2023-10-20 01:54:33

ZALMT
Member
Registered: 2023-10-19
Posts: 33

Re: [SOLVED] Problem using uni wifi

seth wrote:

Possibly https://bbs.archlinux.org/viewtopic.php?id=286417 - otherwise you'll have to please post your complete system journal after attempting to use the uni network:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

My uni uses PEAP instead of TLS, so I'm not sure if the link that you sent is applicable.

The output of the command that you wanted me to run is this: http://0x0.st/HJeE.txt.

Having said that for some reason I am using the wifi in the uni library just fine at the moment, but like I said things have been working in the past, but then refused to work again

Offline

#4 2023-10-20 06:20:00

ZALMT
Member
Registered: 2023-10-19
Posts: 33

Re: [SOLVED] Problem using uni wifi

seth wrote:

Possibly https://bbs.archlinux.org/viewtopic.php?id=286417 - otherwise you'll have to please post your complete system journal after attempting to use the uni network:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

It was working a few hours ago when I was at the library, but when I get to the building where my classroom is, it's acting up again, anyway this is the output of the command: http://0x0.st/HJ2E.txt

Offline

#5 2023-10-20 06:36:06

seth
Member
Registered: 2012-09-03
Posts: 53,611

Re: [SOLVED] Problem using uni wifi

You're running NM and systemd-networkd concurrently.
Pick one, disable the other.

Offline

#6 2023-10-20 07:16:54

ZALMT
Member
Registered: 2023-10-19
Posts: 33

Re: [SOLVED] Problem using uni wifi

seth wrote:

You're running NM and systemd-networkd concurrently.
Pick one, disable the other.

Okay, I disabled systemd-networkd. I won't be back to uni at least until tmr, so I won't know if there's any issue left until then.

But thank you, good sir, I didn't even know systemd-networkd is a thing, I just thought that there was dhcpcd, iwd and NM

Offline

#7 2023-10-23 02:15:26

ZALMT
Member
Registered: 2023-10-19
Posts: 33

Re: [SOLVED] Problem using uni wifi

seth wrote:

You're running NM and systemd-networkd concurrently.
Pick one, disable the other.

It's still having the same problem sad

The output of

 sudo journalctl -b | curl -F 'file=@-' 0x0.st 

this time is
http://0x0.st/HJEg.txt

Offline

#8 2023-10-23 05:52:05

seth
Member
Registered: 2012-09-03
Posts: 53,611

Re: [SOLVED] Problem using uni wifi

Oct 23 13:05:17 T420-Arch-btw wpa_supplicant[377]: wlan0: SME: Trying to authenticate with 00:c8:8b:3a:27:ef (SSID='UniSydney' freq=5180 MHz)
Oct 23 13:05:17 T420-Arch-btw kernel: wlan0: authenticate with 00:c8:8b:3a:27:ef
Oct 23 13:05:17 T420-Arch-btw NetworkManager[360]: <info>  [1698026717.2371] device (wlan0): supplicant interface state: disconnected -> authenticating
Oct 23 13:05:17 T420-Arch-btw kernel: wlan0: send auth to 00:c8:8b:3a:27:ef (try 1/3)
Oct 23 13:05:17 T420-Arch-btw wpa_supplicant[377]: wlan0: Trying to associate with 00:c8:8b:3a:27:ef (SSID='UniSydney' freq=5180 MHz)
Oct 23 13:05:17 T420-Arch-btw NetworkManager[360]: <info>  [1698026717.3095] device (wlan0): supplicant interface state: authenticating -> associating
Oct 23 13:05:17 T420-Arch-btw kernel: wlan0: authenticated
Oct 23 13:05:17 T420-Arch-btw kernel: wlan0: associate with 00:c8:8b:3a:27:ef (try 1/3)
Oct 23 13:05:17 T420-Arch-btw kernel: wlan0: RX AssocResp from 00:c8:8b:3a:27:ef (capab=0x111 status=0 aid=78)
Oct 23 13:05:17 T420-Arch-btw wpa_supplicant[377]: wlan0: Associated with 00:c8:8b:3a:27:ef
Oct 23 13:05:17 T420-Arch-btw wpa_supplicant[377]: wlan0: CTRL-EVENT-EAP-STARTED EAP authentication started
…
Oct 23 13:05:17 T420-Arch-btw wpa_supplicant[377]: EAP-TLV: TLV Result - Success - EAP-TLV/Phase2 Completed
Oct 23 13:05:17 T420-Arch-btw wpa_supplicant[377]: wlan0: CTRL-EVENT-EAP-SUCCESS EAP authentication completed successfully
…
Oct 23 13:05:17 T420-Arch-btw wpa_supplicant[377]: wlan0: WPA: Key negotiation completed with 00:c8:8b:3a:27:ef [PTK=CCMP GTK=CCMP]
Oct 23 13:05:17 T420-Arch-btw wpa_supplicant[377]: wlan0: CTRL-EVENT-CONNECTED - Connection to 00:c8:8b:3a:27:ef completed [id=0 id_str=]
…
Oct 23 13:05:17 T420-Arch-btw NetworkManager[360]: <info>  [1698026717.5534] dhcp4 (wlan0): state changed new lease, address=10.16.165.129
…
Oct 23 13:05:17 T420-Arch-btw systemd-resolved[337]: wlan0: Bus client set default route setting: yes
Oct 23 13:05:17 T420-Arch-btw systemd-resolved[337]: wlan0: Bus client set DNS server list to: 10.67.10.62, 10.67.10.63
…
Oct 23 13:05:17 T420-Arch-btw NetworkManager[360]: <info>  [1698026717.5923] manager: NetworkManager state is now CONNECTED_SITE
…
Oct 23 13:06:25 T420-Arch-btw systemd[1]: Started Network Manager Script Dispatcher Service.
Oct 23 13:06:25 T420-Arch-btw kernel: wlan0: deauthenticating from 00:c8:8b:3a:27:ef by local choice (Reason: 3=DEAUTH_LEAVING)
Oct 23 13:06:25 T420-Arch-btw wpa_supplicant[377]: wlan0: CTRL-EVENT-DISCONNECTED bssid=00:c8:8b:3a:27:ef reason=3 locally_generated=1

You connect to the AP and get a lease fine, but there's not what NM considers a global connection (ie. the aility to ping ping.archlinux.org)
The you disconnect by your own volition.
When connected to the uni AP, can you

ip r
ping -c3 _gateway
ping -c3 10.16.165.1 # speculative
ping -c3 10.67.10.63 # speculative, but does it say "no route to host"?
ping -c3  8.8.8.8
dig @8.8.8.8 google.com
dig @10.67.10.63 google.com

Offline

#9 2023-10-24 02:48:11

ZALMT
Member
Registered: 2023-10-19
Posts: 33

Re: [SOLVED] Problem using uni wifi

seth wrote:
Oct 23 13:05:17 T420-Arch-btw wpa_supplicant[377]: wlan0: SME: Trying to authenticate with 00:c8:8b:3a:27:ef (SSID='UniSydney' freq=5180 MHz)
Oct 23 13:05:17 T420-Arch-btw kernel: wlan0: authenticate with 00:c8:8b:3a:27:ef
Oct 23 13:05:17 T420-Arch-btw NetworkManager[360]: <info>  [1698026717.2371] device (wlan0): supplicant interface state: disconnected -> authenticating
Oct 23 13:05:17 T420-Arch-btw kernel: wlan0: send auth to 00:c8:8b:3a:27:ef (try 1/3)
Oct 23 13:05:17 T420-Arch-btw wpa_supplicant[377]: wlan0: Trying to associate with 00:c8:8b:3a:27:ef (SSID='UniSydney' freq=5180 MHz)
Oct 23 13:05:17 T420-Arch-btw NetworkManager[360]: <info>  [1698026717.3095] device (wlan0): supplicant interface state: authenticating -> associating
Oct 23 13:05:17 T420-Arch-btw kernel: wlan0: authenticated
Oct 23 13:05:17 T420-Arch-btw kernel: wlan0: associate with 00:c8:8b:3a:27:ef (try 1/3)
Oct 23 13:05:17 T420-Arch-btw kernel: wlan0: RX AssocResp from 00:c8:8b:3a:27:ef (capab=0x111 status=0 aid=78)
Oct 23 13:05:17 T420-Arch-btw wpa_supplicant[377]: wlan0: Associated with 00:c8:8b:3a:27:ef
Oct 23 13:05:17 T420-Arch-btw wpa_supplicant[377]: wlan0: CTRL-EVENT-EAP-STARTED EAP authentication started
…
Oct 23 13:05:17 T420-Arch-btw wpa_supplicant[377]: EAP-TLV: TLV Result - Success - EAP-TLV/Phase2 Completed
Oct 23 13:05:17 T420-Arch-btw wpa_supplicant[377]: wlan0: CTRL-EVENT-EAP-SUCCESS EAP authentication completed successfully
…
Oct 23 13:05:17 T420-Arch-btw wpa_supplicant[377]: wlan0: WPA: Key negotiation completed with 00:c8:8b:3a:27:ef [PTK=CCMP GTK=CCMP]
Oct 23 13:05:17 T420-Arch-btw wpa_supplicant[377]: wlan0: CTRL-EVENT-CONNECTED - Connection to 00:c8:8b:3a:27:ef completed [id=0 id_str=]
…
Oct 23 13:05:17 T420-Arch-btw NetworkManager[360]: <info>  [1698026717.5534] dhcp4 (wlan0): state changed new lease, address=10.16.165.129
…
Oct 23 13:05:17 T420-Arch-btw systemd-resolved[337]: wlan0: Bus client set default route setting: yes
Oct 23 13:05:17 T420-Arch-btw systemd-resolved[337]: wlan0: Bus client set DNS server list to: 10.67.10.62, 10.67.10.63
…
Oct 23 13:05:17 T420-Arch-btw NetworkManager[360]: <info>  [1698026717.5923] manager: NetworkManager state is now CONNECTED_SITE
…
Oct 23 13:06:25 T420-Arch-btw systemd[1]: Started Network Manager Script Dispatcher Service.
Oct 23 13:06:25 T420-Arch-btw kernel: wlan0: deauthenticating from 00:c8:8b:3a:27:ef by local choice (Reason: 3=DEAUTH_LEAVING)
Oct 23 13:06:25 T420-Arch-btw wpa_supplicant[377]: wlan0: CTRL-EVENT-DISCONNECTED bssid=00:c8:8b:3a:27:ef reason=3 locally_generated=1

You connect to the AP and get a lease fine, but there's not what NM considers a global connection (ie. the aility to ping ping.archlinux.org)
The you disconnect by your own volition.
When connected to the uni AP, can you

ip r
ping -c3 _gateway
ping -c3 10.16.165.1 # speculative
ping -c3 10.67.10.63 # speculative, but does it say "no route to host"?
ping -c3  8.8.8.8
dig @8.8.8.8 google.com
dig @10.67.10.63 google.com


I ran all the commands that you gave, and the returns as follows:

$ ip r
default via 10.19.95.254 dev wlan0 proto dhcp src 10.19.89.53 metric 600
10.19.88.0/21 dev wlan0 proto kernel scope link src 10.19.89.53 metric 600
$ ping -c3 _gateway
PING _gateway (10.19.95.254) 56(84) bytes of data.
64 bytes from vlan2642.vxlan.ppe-h69-d17-3j.gw.usyd.edu.au (10.19.95.254): icmp_seq=1 ttl=64 time=7.03 ms
64 bytes from vlan2642.vxlan.ppe-h69-d17-3j.gw.usyd.edu.au (10.19.95.254): icmp_seq=2 ttl=64 time=7.02 ms
64 bytes from vlan2642.vxlan.ppe-h69-d17-3j.gw.usyd.edu.au (10.19.95.254): icmp_seq=3 ttl=64 time=7.02 ms
--- _gateway ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 7.017/7.024/7.034/0.007 ms
--- _gateway ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 7.017/7.024/7.034/0.007 ms
$ ping -c3 10.67.10.63
PING 10.67.10.63 (10.67.10.63) 56(84) bytes of data.
64 bytes from 10.67.10.63: icmp_seq=1 ttl=61 time=3.25 ms
64 bytes from 10.67.10.63: icmp_seq=2 ttl=61 time=3.30 ms
64 bytes from 10.67.10.63: icmp_seq=3 ttl=61 time=6.06 ms

--- 10.67.10.63 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
r
$ ping -c3 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=115 time=6.75 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=115 time=6.57 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=115 time=8.26 ms

--- 8.8.8.8 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2004ms
rtt min/avg/max/mdev = 6.566/7.193/8.264/0.760 ms
 dig @8.8.8.8 google.com 

returned no command found at first, but after I installed

 dnsutils 

and ran it again it returned:

$ dig @8.8.8.8 google.com

; <<>> DiG 9.18.19 <<>> @8.8.8.8 google.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 46174
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;google.com.			IN	A

;; ANSWER SECTION:
google.com.		108	IN	A	172.217.24.46

;; Query time: 6 msec
;; SERVER: 8.8.8.8#53(8.8.8.8) (UDP)
;; WHEN: Tue Oct 24 13:35:19 AEDT 2023
;; MSG SIZE  rcvd: 55
$ dig @10.67.10.63

; <<>> DiG 9.18.19 <<>> @10.67.10.63
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 29757
;; flags: qr rd ra; QUERY: 1, ANSWER: 13, AUTHORITY: 0, ADDITIONAL: 27

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1280
;; QUESTION SECTION:
;.				IN	NS

;; ANSWER SECTION:
.			104601	IN	NS	h.root-servers.net.
.			104601	IN	NS	c.root-servers.net.
.			104601	IN	NS	e.root-servers.net.
.			104601	IN	NS	b.root-servers.net.
.			104601	IN	NS	l.root-servers.net.
.			104601	IN	NS	g.root-servers.net.
.			104601	IN	NS	a.root-servers.net.
.			104601	IN	NS	i.root-servers.net.
.			104601	IN	NS	j.root-servers.net.
.			104601	IN	NS	k.root-servers.net.
.			104601	IN	NS	d.root-servers.net.
.			104601	IN	NS	m.root-servers.net.
.			104601	IN	NS	f.root-servers.net.

;; ADDITIONAL SECTION:
a.root-servers.net.	312258	IN	A	198.41.0.4
b.root-servers.net.	28325	IN	A	199.9.14.201
c.root-servers.net.	152915	IN	A	192.33.4.12
d.root-servers.net.	152915	IN	A	199.7.91.13
e.root-servers.net.	152915	IN	A	192.203.230.10
f.root-servers.net.	403523	IN	A	192.5.5.241
g.root-servers.net.	152915	IN	A	192.112.36.4
h.root-servers.net.	152915	IN	A	198.97.190.53
i.root-servers.net.	152915	IN	A	192.36.148.17
j.root-servers.net.	152915	IN	A	192.58.128.30
k.root-servers.net.	152915	IN	A	193.0.14.129
l.root-servers.net.	152915	IN	A	199.7.83.42
m.root-servers.net.	230528	IN	A	202.12.27.33
a.root-servers.net.	228573	IN	AAAA	2001:503:ba3e::2:30
b.root-servers.net.	152915	IN	AAAA	2001:500:200::b
c.root-servers.net.	152915	IN	AAAA	2001:500:2::c
d.root-servers.net.	152915	IN	AAAA	2001:500:2d::d
e.root-servers.net.	152915	IN	AAAA	2001:500:a8::e
f.root-servers.net.	152915	IN	AAAA	2001:500:2f::f
g.root-servers.net.	152915	IN	AAAA	2001:500:12::d0d
h.root-servers.net.	152915	IN	AAAA	2001:500:1::53
i.root-servers.net.	152915	IN	AAAA	2001:7fe::53
j.root-servers.net.	152915	IN	AAAA	2001:503:c27::2:30
k.root-servers.net.	152915	IN	AAAA	2001:7fd::1
l.root-servers.net.	152915	IN	AAAA	2001:500:9f::42
m.root-servers.net.	152915	IN	AAAA	2001:dc3::35

;; Query time: 3 msec
;; SERVER: 10.67.10.63#53(10.67.10.63) (UDP)
;; WHEN: Tue Oct 24 13:35:53 AEDT 2023
;; MSG SIZE  rcvd: 823

You're right, it showed on everything that I am connected to the network, and yesterday I had to disconnect it and connect to a hotspot on my phone (which was connected to the school wifi) because I needed to connect to the internet.

It should be noted that I am connecting to the internet via the uni AP just fine in the library at the moment, so... yeah, I don't know what to think

Offline

#10 2023-10-24 07:17:01

seth
Member
Registered: 2012-09-03
Posts: 53,611

Re: [SOLVED] Problem using uni wifi

seth wrote:

dig @10.67.10.63 google.com # ask it where to find google

, though the DNS seems to respond at least

I had to disconnect it and connect to a hotspot on my phone

Did you run the above commands at a time when you suspected to be not connected to the network?

Offline

#11 2023-10-24 09:44:06

ZALMT
Member
Registered: 2023-10-19
Posts: 33

Re: [SOLVED] Problem using uni wifi

sett wrote:

dig @10.67.10.63 google.com # ask it where to find google

Oops, I'll run it again when I get to uni

Did you run the above commands at a time when you suspected to be not connected to the network?

As far as I can remember, yes, I tried to run everything before class, but had to disconnect to go to class, I can try again tmr

Offline

#12 2023-10-24 12:41:34

seth
Member
Registered: 2012-09-03
Posts: 53,611

Re: [SOLVED] Problem using uni wifi

Everything there worked (safe the "dig @10.67.10.63 google.com" resolution where we don't know whether it did)
So either this is an issue w/ NM's internet check

ping -c8 ping.archlinux.org

or the DNS resolution (if "dig @10.67.10.63 google.com" fails to resolve google)
In the latter case, you can configure NM to use a public DNS (eg. 8.8.8.8, 1.1.1.1 for google's or cloudflare's DNS)

If it's just limited to NMs ping test, we'll want to figure why it fails, but also you can disable that or configure a different test server.

Offline

#13 2023-10-25 00:58:10

ZALMT
Member
Registered: 2023-10-19
Posts: 33

Re: [SOLVED] Problem using uni wifi

seth wrote:

Everything there worked (safe the "dig @10.67.10.63 google.com" resolution where we don't know whether it did)
So either this is an issue w/ NM's internet check

ping -c8 ping.archlinux.org

or the DNS resolution (if "dig @10.67.10.63 google.com" fails to resolve google)
In the latter case, you can configure NM to use a public DNS (eg. 8.8.8.8, 1.1.1.1 for google's or cloudflare's DNS)

If it's just limited to NMs ping test, we'll want to figure why it fails, but also you can disable that or configure a different test server.

dig @10.67.10.63 google.com

; <<>> DiG 9.18.19 <<>> @10.67.10.63 google.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 46081
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1280
;; QUESTION SECTION:
;google.com.			IN	A

;; ANSWER SECTION:
google.com.		251	IN	A	172.217.24.46

;; Query time: 10 msec
;; SERVER: 10.67.10.63#53(10.67.10.63) (UDP)
;; WHEN: Wed Oct 25 11:53:59 AEDT 2023
;; MSG SIZE  rcvd: 55

I ran (hopefully) the correct command this time, btw this is ran while connecting to the uni wifi in the library, which technically shouldn't be different from the one in my classrooms in other buildings, but I could access the internet here but not there ?.

I'll run it again when I got to the classroom, but I thought I just post what I can as soon as I can

EDIT: I ran the command when connected to the problematic AP, and this is the output:

dig @10.67.10.63 google.com
;; communications error to 10.67.10.63#53: timed out
;; communications error to 10.67.10.63#53: timed out
;; communications error to 10.67.10.63#53: timed out

; <<>> DiG 9.18.19 <<>> @10.67.10.63 google.com
; (1 server found)
;; global options: +cmd
;; no servers could be reached

Last edited by ZALMT (2023-10-25 02:23:53)

Offline

#14 2023-10-25 07:29:56

seth
Member
Registered: 2012-09-03
Posts: 53,611

Re: [SOLVED] Problem using uni wifi

Does "dig @8.8.8.8 google.com" still work in that context?

Offline

#15 2023-10-26 03:16:18

ZALMT
Member
Registered: 2023-10-19
Posts: 33

Re: [SOLVED] Problem using uni wifi

seth wrote:

Does "dig @8.8.8.8 google.com" still work in that context?

When I was connecting to the library (with working connection), yes, but not when I was connecting to the classroom wifi

Offline

#16 2023-10-26 07:00:40

seth
Member
Registered: 2012-09-03
Posts: 53,611

Re: [SOLVED] Problem using uni wifi

Then #9 is from the wrong context (the library, I assume)
We need the entire output of the commands in #8 from the bad AP, not a good one.

Offline

#17 2023-10-26 08:40:30

ZALMT
Member
Registered: 2023-10-19
Posts: 33

Re: [SOLVED] Problem using uni wifi

seth wrote:

Then #9 is from the wrong context (the library, I assume)
We need the entire output of the commands in #8 from the bad AP, not a good one.

Okay, here is the output, basically everything failed tongue

$ ip r
default via 10.16.167.254 dev wlan0 proto dhcp src 10.16.160.115 metric 600
10.16.160.0/21 dev wlan0 proto kernel scope link src 10.16.160.115 metric 600

$ ping -c3 _gateway
PING _gateway (10.16.167.254) 56(84) bytes of data.

--- _gateway ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2024ms

$ ping -c3 10.16.165.1
PING 10.16.165.1 (10.16.165.1) 56(84) bytes of data.
From 10.16.160.115 icmp_seq=1 Destination Host Unreachable
From 10.16.160.115 icmp_seq=2 Destination Host Unreachable
From 10.16.160.115 icmp_seq=3 Destination Host Unreachable

--- 10.16.165.1 ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2018ms
pipe 3

$ ping -c3 10.67.10.63
PING 10.67.10.63 (10.67.10.63) 56(84) bytes of data.
From 10.16.160.115 icmp_seq=1 Destination Host Unreachable
From 10.16.160.115 icmp_seq=2 Destination Host Unreachable
From 10.16.160.115 icmp_seq=3 Destination Host Unreachable

--- 10.67.10.63 ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2002ms
pipe 2

$ ping -c3  8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From 10.16.160.115 icmp_seq=1 Destination Host Unreachable
From 10.16.160.115 icmp_seq=2 Destination Host Unreachable
From 10.16.160.115 icmp_seq=3 Destination Host Unreachable

--- 8.8.8.8 ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2026ms
pipe 3

$ dig @8.8.8.8 google.com
;; communications error to 8.8.8.8#53: timed out
;; communications error to 8.8.8.8#53: timed out
;; communications error to 8.8.8.8#53: timed out

; <<>> DiG 9.18.19 <<>> @8.8.8.8 google.com
; (1 server found)
;; global options: +cmd
;; no servers could be reached

$ dig @10.67.10.63 google.com
;; communications error to 10.67.10.63#53: timed out
;; communications error to 10.67.10.63#53: timed out
;; communications error to 10.67.10.63#53: timed out

; <<>> DiG 9.18.19 <<>> @10.67.10.63 google.com
; (1 server found)
;; global options: +cmd
;; no servers could be reached

Offline

#18 2023-10-26 13:54:32

seth
Member
Registered: 2012-09-03
Posts: 53,611

Re: [SOLVED] Problem using uni wifi

So basically you get a lease but can't talk to the _gateway
Please post your complete system journal for that boot, eg.

sudo journalctl -b -1 | curl -F 'file=@-' 0x0.st

for the previous ("-1") one.

You can check the journals for 10.16.160.115 (the lease you got there)

Offline

#19 2023-10-26 14:56:38

ZALMT
Member
Registered: 2023-10-19
Posts: 33

Re: [SOLVED] Problem using uni wifi

seth wrote:

So basically you get a lease but can't talk to the _gateway
Please post your complete system journal for that boot, eg.

sudo journalctl -b -1 | curl -F 'file=@-' 0x0.st

for the previous ("-1") one.

You can check the journals for 10.16.160.115 (the lease you got there)

The output was this :
https://0x0.st/HyHb.txt

I won't try pretend I understood what it said (lol), but I did see "connected" and "NetworkManager state is now CONNECTED_GLOBAL".
But yeah other than that I got nothing

Offline

#20 2023-10-26 15:44:51

seth
Member
Registered: 2012-09-03
Posts: 53,611

Re: [SOLVED] Problem using uni wifi

Oct 26 15:24:38 T420-Arch-btw wpa_supplicant[393]: wlan0: SME: Trying to authenticate with 6c:d6:e3:00:04:ed (SSID='UniSydney' freq=5260 MHz)
Oct 26 15:24:38 T420-Arch-btw NetworkManager[352]: <info>  [1698294278.4177] dhcp4 (wlan0): state changed new lease, address=10.19.93.176
-
Oct 26 15:51:11 T420-Arch-btw kernel: wlan0: Limiting TX power to 10 dBm as advertised by 6c:d6:e3:00:04:ed
…
Oct 26 19:29:08 Arty wpa_supplicant[393]: wlan0: Trying to associate with f0:7f:06:f5:d0:6f (SSID='UniSydney' freq=5580 MHz)
Oct 26 19:29:08 Arty kernel: wlan0: Limiting TX power to 5 dBm as advertised by f0:7f:06:f5:d0:6f
Oct 26 19:29:14 Arty NetworkManager[352]: <info>  [1698308954.4793] dhcp4 (wlan0): state changed new lease, address=10.16.160.115
Oct 26 19:29:14 Arty NetworkManager[352]: <info>  [1698308954.5260] manager: NetworkManager state is now CONNECTED_SITE
Oct 26 19:29:14 Arty NetworkManager[352]: <info>  [1698308954.5268] device (wlan0): Activation: successful, device activated.
Oct 26 19:29:14 Arty dunst[59719]: WARNING: No icon found in path: 'nm-signal-75'
Oct 26 19:29:20 Arty NetworkManager[352]: <info>  [1698308960.4130] manager: NetworkManager state is now CONNECTED_GLOBAL # you seem to be able to reach the WAN at this point
…
Oct 26 19:34:20 Arty systemd-resolved[337]: Using degraded feature set UDP instead of TCP for DNS server 10.67.10.63.
Oct 26 19:34:29 Arty NetworkManager[352]: <info>  [1698309269.2343] manager: NetworkManager state is now CONNECTED_SITE

If you scan for the "bad" bssid (f0:7f:06:f5:d0:6f), how bad is the signal actually?

Offline

#21 2023-10-26 16:21:26

ZALMT
Member
Registered: 2023-10-19
Posts: 33

Re: [SOLVED] Problem using uni wifi

seth wrote:

If you scan for the "bad" bssid (f0:7f:06:f5:d0:6f), how bad is the signal actually?

How do I go about that? Because on the applet they all were maximum, if anything sometimes the hotspot on my phone showed 2/3 from time to time

Offline

#22 2023-10-26 19:49:39

seth
Member
Registered: 2012-09-03
Posts: 53,611

Re: [SOLVED] Problem using uni wifi

https://wiki.archlinux.org/title/Wpa_su … th_wpa_cli
https://wiki.archlinux.org/title/Networ … ess_points

The problematic AP asks you to power down the transmission considerably (the default is 20dBm and it's a logarithmic scale) and you might simply not be able to shout across the room.
Do you know where the AP physically is? Can you get closer to it?

Do you btw. connect to the BSSID?
https://wiki.archlinux.org/title/Networ … ets_(WiFi)
NM typically scans a lot and also frequently logs signal changes/rates.

Offline

#23 2023-10-27 07:14:33

ZALMT
Member
Registered: 2023-10-19
Posts: 33

Re: [SOLVED] Problem using uni wifi

seth wrote:

https://wiki.archlinux.org/title/Wpa_su … th_wpa_cli
https://wiki.archlinux.org/title/Networ … ess_points

The problematic AP asks you to power down the transmission considerably (the default is 20dBm and it's a logarithmic scale) and you might simply not be able to shout across the room.
Do you know where the AP physically is? Can you get closer to it?

Do you btw. connect to the BSSID?
https://wiki.archlinux.org/title/Networ … ets_(WiFi)
NM typically scans a lot and also frequently logs signal changes/rates.

I ran

 $ iw dev wlan0 scan | less 

and it returned this regarding the problematic AP:

BSS b0:aa:77:f0:3e:af(on wlan0)
        TSF: 3751771085168 usec (43d, 10:09:31)
        freq: 5700
        beacon interval: 102 TUs
        capability: ESS Privacy SpectrumMgmt RadioMeasure (0x1111)
        signal: -74.00 dBm
        last seen: 894 ms ago
        Information elements from Probe Response frame:
        SSID: UniSydney
        Supported rates: 12.0 18.0 24.0* 36.0 48.0 54.0*
        Country: AU     Environment: Indoor/Outdoor
                Channels [36 - 48] @ 23 dBm
                Channels [52 - 64] @ 23 dBm
                Channels [100 - 116] @ 30 dBm
                Channels [132 - 140] @ 30 dBm
                Channels [149 - 165] @ 30 dBm
        BSS Load:
                 * station count: 0
                 * channel utilisation: 1/255
                 * available admission capacity: 23437 [*32us]
        HT capabilities:
                Capabilities: 0x19ac
                        HT20
                        SM Power Save disabled
                        RX HT20 SGI
                        TX STBC
                        RX STBC 1-stream
                        Max AMSDU length: 7935 bytes
                        DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 8 usec (0x06)
                HT RX MCS rate indexes supported: 0-23
                HT TX MCS rate indexes are undefined
        RSN:     * Version: 1
                 * Group cipher: CCMP
                 * Pairwise ciphers: CCMP
                 * Authentication suites: IEEE 802.1X
                 * Capabilities: 4-PTKSA-RC 4-GTKSA-RC (0x0028)
        HT operation:
                 * primary channel: 140
                 * secondary channel offset: no secondary
                 * STA channel width: 20 MHz
                 * RIFS: 0
                 * HT protection: no
                 * non-GF present: 1
                 * OBSS non-GF present: 0
                 * dual beacon: 0
                 * dual CTS protection: 0
                 * STBC beacon: 0
                 * L-SIG TXOP Prot: 0
                 * PCO active: 0
                 * PCO phase: 0
        Extended capabilities:
                 * Proxy ARP Service
                 * QoS Map
                 * WNM-Notification
                 * Operating Mode Notification
                 * Max Number Of MSDUs In A-MSDU is unlimited
        VHT capabilities:
                VHT Capabilities (0x0f8379b2):
                        Max MPDU length: 11454
                        Supported Channel Width: neither 160 nor 80+80
                        RX LDPC
                        short GI (80 MHz)
                        TX STBC
                        SU Beamformer
                        SU Beamformee
                VHT RX MCS set:
                        1 streams: MCS 0-9
                        2 streams: MCS 0-9
                        3 streams: MCS 0-9
                        4 streams: not supported
                        5 streams: not supported
                        6 streams: not supported
                        7 streams: not supported
                        8 streams: not supported
                VHT RX highest supported: 0 Mbps
                VHT TX MCS set:
                        1 streams: MCS 0-9
                        2 streams: MCS 0-9
                        3 streams: MCS 0-9
                        4 streams: not supported
                        5 streams: not supported
                        6 streams: not supported
                        7 streams: not supported
                        8 streams: not supported
                VHT TX highest supported: 0 Mbps
                VHT extended NSS: not supported
        VHT operation:
                 * channel width: 0 (20 or 40 MHz)
                 * center freq segment 1: 0
                 * center freq segment 2: 0
                 * VHT basic MCS set: 0xffc0
        Transmit Power Envelope:
                 * Local Maximum Transmit Power For 20 MHz: 1 dBm
        WMM:     * Parameter version 1
                 * u-APSD
                 * BE: CW 15-1023, AIFSN 3
                 * BK: CW 15-1023, AIFSN 7
                 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
                 * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
seth wrote:

Do you btw. connect to the BSSID?

I don't. Do I just choose from the drop down menu? Also, in the wiki page that you linked, it said something about roaming, what does "roaming" exactly mean, I thought it was something only cellular do?

Regarding the physical AP, I couldn't see them, so... yeah sad

Last edited by ZALMT (2023-10-27 07:15:41)

Offline

#24 2023-10-27 13:07:16

seth
Member
Registered: 2012-09-03
Posts: 53,611

Re: [SOLVED] Problem using uni wifi

signal: -74.00 dBm

is just about usable, but anything but "good" - funnily enough, I just noticed that most of that was also in your OP wink
Right now the situation presents itself as "signal is poor" problem - is there/can you connect to a 2.4GHz AP?
(Otherwise you'd have to "iwlwifi.11n_disable=1" and that affects all connections)

Romaing means that you're hopping between equivalent APs w/ the same SSID to use the "closest" AP - I just wondered b/c NM is usually very scan-happy chatty and reports the wifi signal quite often, but not in your journal.

Offline

#25 2023-10-27 13:57:57

ZALMT
Member
Registered: 2023-10-19
Posts: 33

Re: [SOLVED] Problem using uni wifi

seth wrote:
signal: -74.00 dBm

is just about usable, but anything but "good" - funnily enough, I just noticed that most of that was also in your OP wink
Right now the situation presents itself as "signal is poor" problem - is there/can you connect to a 2.4GHz AP?
(Otherwise you'd have to "iwlwifi.11n_disable=1" and that affects all connections)

Romaing means that you're hopping between equivalent APs w/ the same SSID to use the "closest" AP - I just wondered b/c NM is usually very scan-happy chatty and reports the wifi signal quite often, but not in your journal.

Funny enough I have tried to connect to 2.4GHz. This wifi card was an upgraded one, and I had to flash a custom BIOS for it to work, (my ThinkPad's original BIOS had whitelisted the new one, and the only choice without going libreboot, which I don't have the capacity to, was to use a custom BIOS) but it worked, like when I used Windows it worked, and as I've mentioned, it worked for like a few minutes and worked in other buildings, so I don't think that's the problem.

But just to be throrough I reinstalled the old card, which could only do 2.4GHz (I know that because in my accomodation the 2.4 and 5.0GHz has different names), and it was the same, connection for a few minutes, and no dice since.

Yeah it's weird. I even tried an Manjaro install once, and it worked, at least in that class, but then I borked that install (that's on me) and just decided to just reinstall Arch and experienced that same "working at first and then slowly died out" problem. And that's when I first posted. Probably something weird with NM settings, 2.4 is not the end of the world, but obv 5.0 is better, it's just weird that I had access at the cafeteria, the library, but not the classrooms.

Offline

Board footer

Powered by FluxBB