analogdevicesinc / ToF

MIT License
34 stars 26 forks source link

EVAL-ADTF3175D-NXZ WiFi not Connecting #743

Open jkablan opened 4 days ago

jkablan commented 4 days ago

Hi I'm trying setup wifi on the EVAL-ADTF3175D-NXZ.

I've followed this guide but after following the instructions and rebooting the wifi adapter doesn't show (>>ip a) an ip address. I've tried 3 different wireless networks so I'm starting to think this is an issue with the device.
https://wiki.analog.com/resources/eval/user-guides/eval-adtf3175x-access#connecting_to_the_adtf-3175x

I did notice that files that I create in the in / or /home/analog do not persist after reboot even though I followed the instructions to make the sdcard writeable (see below). Maybe this has something to do with it? image

I also tried running wpa_supplicant manually

sudo wpa_supplicant -B -i wlan0 -c wpa.conf -t -d -f bfh.log

and it produces this log https://pastebin.com/nF9N1Qpj I've double checked that the psk is correct.

I've also tried connecting interactively with wpa_cli. The I get the following output

<3>Trying to associate with SSID 'Big Fat Hen'
<3>CTRL-EVENT-ASSOC-REJECT bssid=00:00:00:00:00:00 status_code=16
<3>CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="Big Fat Hen" auth_failures=4 duration=77 reason=CONN_FAILED
<3>CTRL-EVENT-SCAN-STARTED

Can anyone help me understand what I'm doing wrong?

SeptimiuVana commented 3 days ago

Hello,

Please remove init=/sbin/reinit from extlinux.conf, reboot the board and try using the script/commands again. After enabling the wifi a reboot is needed again.

Regards, Septimiu

jkablan commented 1 day ago

Thank you for your help. After removing init=/sbin/reinit the contents of the sdcard persists. However wlan0 still doesn't have an IP address even after multiple reboots. I've tried 2 different networks. Is there a command I need to run after reboot to bring the interface up?