- 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:
iwconfig wlan0
: This command displays the configuration of wireless network interfaces. The result shows thewlan0
interface but indicatesAccess Point: Not-Associated
, meaning it is not connected to any WiFi network.dhclient wlan0
: This command attempts to send a DHCP request for thewlan0
interface to obtain an IP address. However, it results in the errordhclient: command not found
, indicating that thedhclient
package is not installed.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 theeth0
interface.
Using Jupyter Notebook:
ifconfig wlan0 up
: This command is used to bring up thewlan0
interface.ping -I wlan0 8.8.8.8 -c 10
: This command sends 10 packets to the Google DNS server (8.8.8.8) using thewlan0
interface. The result shows0 received, 100% packet loss
, indicating that all packets were lost and there is no connectivity viawlan0
.
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