I am trying to set the wlan0 interface on a Raspberry Pi 3 to be
Ad-Hoc instead of Managed. I am using commands that I have used on
openSUSE that work. But I cannot get it to work on the Pi 3.
The network is managed by wicked.
The commands are:
ip link set wlan0 down
iwconfig wlan0 essid myId mode Ad-Hoc
ip link set wlan0 up
ip addr add 10.1.1.10 dev wlan0
route add default gw 10.1.1.10
It is the iwconfig command that fails:
# iwconfig wlan0 essid myId mode Ad-Hoc
Error for wireless request "Set Mode" (8B06) :
SET failed on device wlan0 ; Device or resource busy.
And I do not know why. How can it be busy?
ip addr reports:
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc
pfifo_fast state DOWN group default qlen 1000
link/ether b8:27:eb:9a:00:74 brd ff:ff:ff:ff:ff:ff
I have also tried this in YaST. There is no error reported, but the
device is unchanged. The settings are remembered by YaST. But the
device is unchanged.
There are some errors in the log:
[91050.345081] brcmfmac: brcmf_cfg80211_change_iface: iface validation
[91090.214264] brcmfmac: brcmf_cfg80211_change_iface: iface validation
[92274.237410] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[92274.353955] brcmfmac: brcmf_cfg80211_escan: Connecting: status (3)
[92274.353974] brcmfmac: brcmf_cfg80211_scan: scan error (-11)
[92322.032508] brcmfmac: brcmf_cfg80211_change_iface: iface validation
[92350.696929] brcmfmac: brcmf_sdio_readframes: RXHEADER FAILED: -110
[92350.696948] brcmfmac: brcmf_sdio_rxfail: abort command, terminate
frame, send NAK
[92376.662941] brcmfmac: brcmf_cfg80211_change_iface: iface validation
I found similar instructions at
seemed to work for that user. It was with Raspbian.
I am not sure what to make of the error.
To unsubscribe, e-mail: opensuse-arm+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-arm+owner(a)opensuse.org