NVIDIA Jetson NX Xavier Wifi Malfunction



The jetson keeps losing connectivity(ssh tunnel broken, docker push failure, loading a website takes ages). The wifi connection to the device(wifi symbol on the device) doesn’t seem to be disconnected during these periods. The signal strength is not an issue as my laptop is facing no such issues while being in the same area. But the jetson is showing extremely slow wifi speeds when it works (compared to my laptop on the same network)

The Jetpack version is 4.5.1
The Network Controller is Realtek Device c822

Please advise on how to debug this issue and what other information is needed to understand what is going wrong.

Check the dmseg when error happens to see if any error from wlan0

and check the syslog when error happens and see if any suspicious error log.

dmesg | grep wlan0 returned no errors

Syslog had few abnormalities of:

nm-dispatcher: NetworkManager[4955]: connectivity: (wlan0) timed out

dhcp4 (wlan0): lease time 3600

nm-dispatcher: req:1 ‘dhcp4-change’ [wlan0] : new request (1 scripts)
nm-dispatcher: req:1 ‘dhcp4-change’ [wlan0] : start runnning ordered scripts…

and this continuously repeats 20 mins or so

sudo ifconfig wlan0 output:

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet netmask broadcast
inet6 fe80::19c7:7098:8883:8cb prefixlen 64 scopeid 0x20
ether 48:f1:7f:74:0c:7f txqueuelen 1000 (Ethernet)
RX packets 194225 bytes 354760763 (354.7 MB)
RX errors 0 dropped 194225 overruns 0 frame 0
TX packets 88076 bytes 1454083125 (1.4 GB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

sudo wpa_supplicant -iwlan0 -c /etc/wpa_supplicant.conf output:

Successfully initialized wpa_supplicant
ctrl_iface exists and seems to be in use - cannot override it
Delete ‘/var/run/wpa_supplicant/wlan0’ manually if it is not used anymore
Failed to initialize control interface ‘/var/run/wpa_supplicant’.
You may have another wpa_supplicant process already running or the file was
left by an unclean termination of wpa_supplicant in which case you will need
to manually remove this file before starting wpa_supplicant again.

nl80211: deinit ifname=wlan0 disabled_11b_rates=0

iwconfig output:

wlan0 IEEE 802.11gn ESSID:"----" Nickname:"<WIFI@> REALTEK>"
Mode:Managed Frequency:2.462 GHz Access Point: [60:A4:4C:66:B8:2F]
Bit Rate:144.4 Mb/s Sensitivity:0/0
Retry:off RTS thr:off Fragment thr:off
Power Management:off
Link Quality=67/100 Signal level=27/100 Noise level=0/100
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

I followed this thread on fixing wifi issues for jetson nano but was not able to solve my issue.
I am facing issues in line with what this comment describes. But my speed drop is down to 100Kb/s or even lesser.

The issue had initially come up around a month ago. After that, I had reflashed the Jetson and everything was working fine for a week. But in recent weeks, it’s come up again.
Let me know if more information is needed, any help would be appreciated.

1 Like