Wifi dongle error : packet 100% loss

  • PYNQ - Z2 v.3.0.1
  • wifi dongle : TL-WN823N


sudo cat /var/log/syslog | grep wpa_supplicant
–>Jun 20 16:34:57 pynq wpa_supplicant[4464]: wlan0: SME: Trying to authenticate with 58:86:94:82:c2:6a (SSID=‘RlM’ freq=2442 MHz)
Jun 20 16:34:57 pynq wpa_supplicant[4464]: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid=“RlM” auth_failures=19 duration=141 reason=CONN_FAILED
Jun 20 16:37:20 pynq wpa_supplicant[4464]: wlan0: CTRL-EVENT-SSID-REENABLED id=0 ssid=“RlM”
Jun 20 16:37:20 pynq wpa_supplicant[4464]: wlan0: SME: Trying to authenticate with 58:86:94:82:c2:6a (SSID=‘RlM’ freq=2442 MHz)
Jun 20 16:37:21 pynq wpa_supplicant[4464]: BSSID 58:86:94:82:c2:6a ignore list count incremented to 2, ignoring for 10 seconds
Jun 20 16:37:21 pynq wpa_supplicant[4464]: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid=“RlM” auth_failures=20 duration=148 reason=CONN_FAILED
Jun 20 16:39:51 pynq wpa_supplicant[4464]: wlan0: CTRL-EVENT-SSID-REENABLED id=0 ssid=“RlM”
Jun 20 16:39:51 pynq wpa_supplicant[4464]: wlan0: SME: Trying to authenticate with 58:86:94:82:c2:6a (SSID=‘RlM’ freq=2442 MHz)
Jun 20 16:39:51 pynq wpa_supplicant[4464]: BSSID 58:86:94:82:c2:6a ignore list count incremented to 3, ignoring for 60 seconds
Jun 20 16:39:51 pynq wpa_supplicant[4464]: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid=“RlM” auth_failures=21 duration=308 reason=CONN_FAILED
Jun 20 16:43:01 pynq systemd[1]: wpa_supplicant.service: Deactivated successfully.
Jun 20 16:43:01 pynq wpa_supplicant[13681]: Successfully initialized wpa_supplicant
Jun 20 16:45:01 pynq wpa_supplicant[4464]: wlan0: CTRL-EVENT-SSID-REENABLED id=0 ssid=“RlM”
Jun 20 16:45:01 pynq wpa_supplicant[4464]: wlan0: SME: Trying to authenticate with 58:86:94:82:c2:6a (SSID=‘RlM’ freq=2442 MHz)
Jun 20 16:45:02 pynq wpa_supplicant[4464]: BSSID 58:86:94:82:c2:6a ignore list count incremented to 4, ignoring for 120 seconds
Jun 20 16:45:02 pynq wpa_supplicant[4464]: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid=“RlM” auth_failures=22 duration=268 reason=CONN_FAILED

xilinx@pynq:~$ sudo journalctl -u wpa_supplicant

Jun 20 15:36:54 pynq systemd[1]: Starting WPA supplicant…

Jun 20 15:36:54 pynq systemd[1]: Started WPA supplicant.

Jun 20 15:36:54 pynq wpa_supplicant[2246]: Successfully initialized wpa_supplic>

Jun 20 16:43:01 pynq systemd[1]: Stopping WPA supplicant…

Jun 20 16:43:01 pynq systemd[1]: wpa_supplicant.service: Deactivated successful>

Jun 20 16:43:01 pynq systemd[1]: Stopped WPA supplicant.

Jun 20 16:43:01 pynq systemd[1]: Starting WPA supplicant…

Jun 20 16:43:01 pynq systemd[1]: Started WPA supplicant.

Jun 20 16:43:01 pynq wpa_supplicant[13681]: Successfully initialized wpa_suppli>


I’m running in a PUTTY environment, the LAN is connected to the PYNQ board and the WIFI router, and I connected the WIFI DONGLE to the USB HOST on the board.

Here are the attempts made using Putty and Jupyter Notebook for troubleshooting the WiFi connection issue:

Using Putty:

  1. iwconfig wlan0: This command displays the configuration of wireless network interfaces. The result shows the wlan0 interface but indicates Access Point: Not-Associated, meaning it is not connected to any WiFi network.
  2. dhclient wlan0: This command attempts to send a DHCP request for the wlan0 interface to obtain an IP address. However, it results in the error dhclient: command not found, indicating that the dhclient package is not installed.
  3. ping -c 3 8.8.8.8: This command sends 3 packets to the Google DNS server (8.8.8.8) to check connectivity. The command successfully sends packets and receives responses, indicating that the system is connected to the internet via the eth0 interface.

Using Jupyter Notebook:

  1. ifconfig wlan0 up: This command is used to bring up the wlan0 interface.
  2. ping -I wlan0 8.8.8.8 -c 10: This command sends 10 packets to the Google DNS server (8.8.8.8) using the wlan0 interface. The result shows 0 received, 100% packet loss, indicating that all packets were lost and there is no connectivity via wlan0.

I want to use the board outside, so I need to access the WIFI only with the WIFI dongle without a LAN line and make the board available. PLEASE, Help me