WiFi issues in Jetson Nano; Can't SSH or Ping

I am using this wifi adapter in my Jetson Nano B01, and I have two issues.

  1. Wifi doesn’t reconnect after disconnecting: After disconnection due to no range, when Jetson Nano is back in range, it sometimes doesn’t reconnect to the network. If I turn on a different network from my phone, while the first network is still on, it connects to the one on phone. When i turn the phone hotspot off, it sometimes connects back to the WiFi router.
  2. After running Nano for long duration, like 12 hours, I can see it is connected to the internet via the WiFi router, but I am unable to SSH or ping it. Even after restarting the WiFi router, the Nano connects to the WiFI but unable to ssh or ping.

How to solve these issues? I’ve tried with two WiFi routers and results are same. Can using a WiFi card instead of USB adapter solve this issue completely?

Topic I referred prior to opening new topic: ssh and pinging Jetson TX2

For your problem 2, I will suggest you can check dmesg and syslog and see if there is any disconnection from the network manager.

What string should I exactly look for?

Use the timestamp to find out the error.

For example, you try to reconnect the wifi and running ssh at 6/5 12:00, then check the log timestamp at that time and see if any error.

I experienced the error again, I connected the display and mouse to run the command and this was the output:

[   23.653892] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   25.774745] tegradc tegradc.0: blank - powerdown
[   25.774754] tegradc tegradc.1: blank - powerdown
[   36.075531] fuse init (API version 7.26)
[   36.089605] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   36.089616] Bluetooth: BNEP socket layer initialized
[  590.717745] R8188EU: linked_status_chk(wlan0) disconnect or roaming
[  593.016674] R8188EU: indicate disassoc
[  608.141764] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  638.386621] R8188EU: indicate disassoc
[  640.069829] R8188EU: assoc success
[  640.316392] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 1030.153279] edid invalid```

Any thing from syslog? The dmsg log loos like the wlan0 interface is disconnected in 590sec but becomes ready again in 640 sec.

It got connected but I couldn’t ping or SSH.
The ping sometimes gave response, but with a very high delay. The rest of the times it was unreachable.
On my router I could see it was connected.
I could also see it had established websocket connection via one of my scripts.

When booting up, I see following:

r8188eu: module is from staging directory, the quality is unknown, you have been warned

Is this relevant?

How to get restored when you are in such situations?

I have to restart Jetson Nano when that happens.

I try restarting the WiFi router, using IP address instead of hostname.local in ssh and ping, but none of it works.

But I fail to understand why it doesn’t respond to pings and ssh, although it is connected to the router and the internet

But if rebooting the jetson nano can bring it back, why is your previous log is the case after you reboot the device? I mean, according to your description, wifi should work fine under such situation, right?

I’m sorry but I didn’t quite understand what you are pointing out. Could you please elaborate?

You pasted below log in previous comment. According to the timestamp and log content, I can tell it is a log right after the boot up.

My question is: If you say this error only can be restored after you rebooting the device, then why do you share us a boot log and tell us it is an error log? Do you mean this issue would happen even after reboot?

Okay now I understood what you ask.
Sometimes it happens right after boot, when I can’t ssh/ping, although it is connected to the router/internet. The above pasted dmesg log is one such example. I then used monitor+mouse to get this log, since I couldn’t ssh/ping.

Now when this happens, I have to restart, which helps sometimes, but the other times it doesn’t work. So I have to keep trying until it works

Ok, please do below test and share us the syslog (/var/log/syslog).

When you hit this problem again, no matter it is right after boot up or it happens after few hours, please use the Ubuntu GUI on the desktop to reconnect the wifi router. Check if the wifi is back to life now. If it is not, please give us the syslog and tell us the timestamp of when you do this test.

I also see some problem related to your wifi adapter over the Internet. Please check if your log is similar to their case.

https://bbs.archlinux.org/viewtopic.php?id=262702

Alright, I’d do as you instructed.

Yes, I face this issue too, where after disconnection, or connection to another network, the previous network is not visible when I do nmcli dev wifi or check in GUI NetworkManager.

I will check the log attached in above forum and compare with mine. Thanks a lot for sharing it!