I have 2 RPI3 devices running Archlinux Arm. The first is my nextcloud server and the other is my emby server. On the emby server I was sending via sftp about 6GB of video files. They all transferred successfully. However when I tried to move them from the home directory to my media folder my ssh session crashed. I rebooted the device and noticed that I could not longer ssh to it. I plug it in via ethernet and tried to manually connect via wpa_supplicant command. This is what I got
$this->bbcode_second_pass_code('', '
[root@emby alarm]# wpa_supplicant -D nl80211,wext -i wlan0 -c<(wpa_passphrase "SSID" "password")
Successfully initialized wpa_supplicant
P2P: No social channels supported by the driver - do not enable P2P
Failed to create interface p2p-dev-p2p-dev-wlan0: -22 (Invalid argument)
nl80211: Failed to create a P2P Device interface p2p-dev-p2p-dev-wlan0
P2P: Failed to enable P2P Device interface
wlan0: CTRL-EVENT-SCAN-FAILED ret=-22 retry=1
wlan0: CTRL-EVENT-SCAN-FAILED ret=-22 retry=1
wlan0: CTRL-EVENT-SCAN-FAILED ret=-22 retry=1
wlan0: CTRL-EVENT-SCAN-FAILED ret=-22 retry=1
wlan0: CTRL-EVENT-SCAN-FAILED ret=-22 retry=1
wlan0: CTRL-EVENT-SCAN-FAILED ret=-22 retry=1
wlan0: CTRL-EVENT-SCAN-FAILED ret=-22 retry=1
wlan0: CTRL-EVENT-SCAN-FAILED ret=-22 retry=1
wlan0: CTRL-EVENT-SCAN-FAILED ret=-22 retry=1
')
I also tried to install Network Manager and when I ran the nmtui-connect command, only the ethernet port was recognized.
Here is a portion of dmesg
$this->bbcode_second_pass_code('', '
[root@emby alarm]# dmesg -T |grep brcmfmac
\[Mon Nov 20 17:16:39 2017] usbcore: registered new interface driver brcmfmac
[Mon Nov 20 17:16:39 2017] brcmfmac: Firmware version = wl0: Dec 15 2015 18:10:45 version 7.45.41.23 (r606571) FWID 01-cc4eda9c
[Mon Nov 20 17:16:39 2017] brcmfmac: brcmf_c_preinit_dcmds: CLM version = API: 12.2 Data: 7.11.15 Compiler: 1.24.2 ClmImport: 1.24.1 Creation: 2014-05-26 10:53:55 Inc Data: 9.5.0 Inc Compiler: 1.29.4 Inc ClmImport: 1.29.25 Creation: 2015-12-15 17:59:18
[Mon Nov 20 17:16:39 2017] brcmfmac: power management disabled
[Mon Nov 20 17:16:39 2017] brcmfmac: power management disabled
[Mon Nov 20 19:16:30 2017] brcmfmac: power management disabled
[Mon Nov 20 19:16:30 2017] brcmfmac: brcmf_p2p_create_p2pdev: set p2p_disc error
[Mon Nov 20 19:16:30 2017] brcmfmac: brcmf_cfg80211_add_iface: add iface p2p-dev-wlan0 type 10 failed: err=-16
[Mon Nov 20 19:22:10 2017] brcmfmac: power management disabled
[Mon Nov 20 19:35:32 2017] brcmfmac: power management disabled
[Mon Nov 20 19:51:26 2017] brcmfmac: power management disabled
[Thu Nov 23 09:03:44 2017] brcmfmac: power management disabled
')
Any help would be appreciated.