Hello, I’m using a ultra96-V2 board and I’m trying to set up the wifi connection, following the guide and I’m running into some problems.
I’m reading chapter 8, “Connect to Webserver”, but I can’t set up the network called Ultra96-V2_<MAC_ADDRESS>. When I run ./wifi.sh, I get an error with the configuration of the LAN:
root@ultra96v2-2020-1:~# ./wifi.sh
Stopping Connection Manager
ifdown: interface wlan0 not configured
Successfully initialized wpa_supplicant
[ 85.017404] power up request for already powered up source Wifi
[ 85.023330] Device already up. request source is Wifi
[ 85.028409] wilc_sdio mmc1:0001:1 wlan0: Failed to get mac address
[ 85.034600] wilc_sdio mmc1:0001:1: wilc_sdio_disable_interrupt
Could not set interface wlan0 flags (UP): Invalid argument
nl80211: Could not set interface 'wlan0' UP
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
wlan0: Failed to initialize driver interface
When I run this file step by step, I get an error when I run ifdown and I get the following output:
ifdown: interface wlan0 not configured
I have tried using ip link set wlan0 down instead and that seems to work and doesn’t report any error.
Then if I keep running the wifi.sh script, one command at a time, it raises an error when reaching ifup.
When I run either ifup wlan0 or ip link set wlan0 up, I get the following error:
[ 883.500230] power up request for already powered up source Wifi
[ 883.506161] Device already up. Request source is Wifi
[ 883.511239] wilc_sdio mmc1:0001:1 wlan0: Failed to get mac address
[ 883.517421] wilc_sdio mmc1:0001:1: wilc_sdio_disable_interrupt
RTNETLINK answers: Invalid argument
Perhaps, is the ploblem in the wifi/bluethoot module? Is there any step that I‘m skipping? Could there be a file incompatibility problem?
Has anyone had the same problem?