This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
restart wlan9
#16
And its gone.  Angry   The scan error seem harmless, they happened every now and then while it was working, but at 1434 hours "Firmware has halted or crashed" does not sound good. 15 seconds after that, wlan0 is restarted, but wlan9 is not. Which brings me back to my original question: how do i re-enable wlan9 in AP mode? 



Code:
pi@openplotter:~ $ dmesg -e | tail -40
[Dec 4 08:41] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save disabled
[Dec 4 11:37] ieee80211 phy0: brcmf_run_escan: error (-52)
[  +0.000021] ieee80211 phy0: brcmf_cfg80211_scan: scan error (-52)
[Dec 4 14:34] ieee80211 phy0: brcmf_fw_crashed: Firmware has halted or crashed
[  +0.493328] ieee80211 phy0: brcmf_fil_cmd_data: bus is down. we have nothing to do.
[  +0.000017] ieee80211 phy0: brcmf_cfg80211_stop_ap: SET SSID error (-5)
[  +0.000007] ieee80211 phy0: brcmf_fil_cmd_data: bus is down. we have nothing to do.
[  +0.000005] ieee80211 phy0: brcmf_cfg80211_stop_ap: BRCMF_C_DOWN error -5
[  +0.000005] ieee80211 phy0: brcmf_fil_cmd_data: bus is down. we have nothing to do.
[  +0.000004] ieee80211 phy0: brcmf_cfg80211_stop_ap: setting AP mode failed -5
[  +0.000005] ieee80211 phy0: brcmf_fil_cmd_data: bus is down. we have nothing to do.
[  +0.000004] ieee80211 phy0: brcmf_fil_cmd_data: bus is down. we have nothing to do.
[  +0.000004] ieee80211 phy0: brcmf_cfg80211_stop_ap: BRCMF_C_UP error -5
[  +0.000010] ieee80211 phy0: brcmf_fil_cmd_data: bus is down. we have nothing to do.
[  +0.000004] ieee80211 phy0: brcmf_set_mpc: fail to set mpc
[  +0.000005] ieee80211 phy0: brcmf_fil_cmd_data: bus is down. we have nothing to do.
[  +0.000004] ieee80211 phy0: brcmf_fil_cmd_data: bus is down. we have nothing to do.
[  +0.207322] ieee80211 phy0: brcmf_netdev_start_xmit: xmit rejected state=0
[  +0.324839] ieee80211 phy0: brcmf_fil_cmd_data: bus is down. we have nothing to do.
[  +0.000035] ieee80211 phy0: brcmf_cfg80211_get_tx_power: error (-5)
[  +0.613070] brcmfmac: brcmf_sdiod_probe: Failed to set F1 blocksize
[  +0.000065] brcmfmac: brcmf_sdio_bus_reset: Failed to probe after sdio device reset: ret -123
[  +0.000648] mmc1: card 0001 removed
[  +0.110569] mmc1: new high speed SDIO card at address 0001
[  +0.001023] brcmfmac: F1 signature read @0x18000000=0x15264345
[  +0.005486] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[  +0.274671] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[  +0.005238] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Nov  1 2021 00:37:25 version 7.45.241 (1a2f2fa CY) FWID 01-703fd60
[ +10.108822] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[  +5.551233] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
pi@openplotter:~ $



Whatever fixes this, will be put into rc.local - or it will become a cron job: check whether wlan9 is up, and if not, re-enable it.

update: I did some more digging, and tried restarting hostapd, which complains:

Code:
Dec 04 16:38:47 openplotter hostapd[217076]: Configuration file: /etc/hostapd/hostapd.conf
Dec 04 16:38:47 openplotter hostapd[217076]: Could not read interface wlan9 flags: No such device
Dec 04 16:38:47 openplotter hostapd[217076]: nl80211: Driver does not support authentication/association or connect commands
Dec 04 16:38:47 openplotter hostapd[217076]: nl80211: deinit ifname=wlan9 disabled_11b_rates=0
Dec 04 16:38:47 openplotter hostapd[217076]: Could not read interface wlan9 flags: No such device
Dec 04 16:38:47 openplotter hostapd[217076]: nl80211 driver initialization failed.
Dec 04 16:38:47 openplotter hostapd[217076]: wlan9: interface state UNINITIALIZED->DISABLED
Dec 04 16:38:47 openplotter hostapd[217076]: wlan9: AP-DISABLED
Dec 04 16:38:47 openplotter hostapd[217076]: wlan9: CTRL-EVENT-TERMINATING
Dec 04 16:38:47 openplotter hostapd[217076]: hostapd_free_hapd_data: Interface wlan9 wasn't started
Dec 04 16:38:47 openplotter systemd[1]: hostapd.service: Control process exited, code=exited, status=1/FAILURE
Reply


Messages In This Thread
restart wlan9 - by tobias.e - 2022-11-27, 09:09 AM
RE: restart wlan9 - by baltika_no_9 - 2022-11-27, 06:11 PM
RE: restart wlan9 - by tobias.e - 2022-11-28, 09:22 PM
RE: restart wlan9 - by baltika_no_9 - 2022-11-28, 11:38 PM
RE: restart wlan9 - by baltika_no_9 - 2022-12-01, 01:50 PM
RE: restart wlan9 - by holgerw - 2022-12-02, 03:29 AM
RE: restart wlan9 - by tobias.e - 2022-12-02, 07:28 AM
RE: restart wlan9 - by PaddyB - 2022-12-02, 08:39 AM
RE: restart wlan9 - by baltika_no_9 - 2022-12-02, 11:01 AM
RE: restart wlan9 - by tobias.e - 2022-12-03, 08:00 AM
RE: restart wlan9 - by baltika_no_9 - 2022-12-03, 02:09 PM
RE: restart wlan9 - by tobias.e - 2022-12-03, 07:47 PM
RE: restart wlan9 - by baltika_no_9 - 2022-12-03, 08:01 PM
RE: restart wlan9 - by tobias.e - 2022-12-04, 09:54 AM
RE: restart wlan9 - by baltika_no_9 - 2022-12-04, 01:09 PM
RE: restart wlan9 - by tobias.e - 2022-12-04, 05:13 PM
RE: restart wlan9 - by baltika_no_9 - 2022-12-04, 05:46 PM
RE: restart wlan9 - by tobias.e - 2022-12-04, 06:18 PM
RE: restart wlan9 - by baltika_no_9 - 2022-12-04, 07:10 PM
RE: restart wlan9 - by tobias.e - 2022-12-04, 07:32 PM
RE: restart wlan9 - by tobias.e - 2022-12-05, 07:29 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)