[opensuse-arm] Raspberry Pi 3 Ad-Hoc WiFi
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 failed: err=-16 [91090.214264] brcmfmac: brcmf_cfg80211_change_iface: iface validation failed: err=-16 [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 failed: err=-16 [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 failed: err=-16 I found similar instructions at https://www.raspberrypi.org/forums/viewtopic.php?f=36&t=18771 and it seemed to work for that user. It was with Raspbian. I am not sure what to make of the error. -- Roger Oberholtzer -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
On Aug 29 2017, Roger Oberholtzer <roger.oberholtzer@gmail.com> wrote:
I found similar instructions at https://www.raspberrypi.org/forums/viewtopic.php?f=36&t=18771 and it seemed to work for that user. It was with Raspbian.
I am not sure what to make of the error.
It could be a firmware issue. Do they use the same firmware? Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
On Tue, Aug 29, 2017 at 10:51 AM, Andreas Schwab <schwab@suse.de> wrote:
On Aug 29 2017, Roger Oberholtzer <roger.oberholtzer@gmail.com> wrote:
I found similar instructions at https://www.raspberrypi.org/forums/viewtopic.php?f=36&t=18771 and it seemed to work for that user. It was with Raspbian.
I am not sure what to make of the error.
It could be a firmware issue. Do they use the same firmware?
No idea. I do not have a Raspbian system to check. Or, if I do, it is in a box somewhere... -- Roger Oberholtzer -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
participants (2)
-
Andreas Schwab
-
Roger Oberholtzer