Considera che accedo al modem da remoto e sarebbe un problema se iniziasse a riavviarsi... Avevo notato che ultimamente la scheda wireless non si caricava, ma il wifi era già spento da prima. Questo è il logread quando avvio hostapd:
Thu Jan 23 15:35:23 2020 daemon.notice hostapd: Starting hostapd version [V1.9.0-g19995fdc60ba64baf6bd740bb354f0239f312923].
Thu Jan 23 15:35:23 2020 daemon.notice hostapd: Using RIP ID 0x0119 for radio wl0
Thu Jan 23 15:35:23 2020 daemon.notice hostapd: Using RIP ID 0x0129 for radio wl1
Thu Jan 23 15:35:23 2020 daemon.notice hostapd: [WL_MGMT] found radio : brcm0
Thu Jan 23 15:35:23 2020 kern.warn kernel: [30716.595000] wl_event_open
Thu Jan 23 15:35:23 2020 kern.warn kernel: [30716.597000] wl_event_open COMPLETED
Thu Jan 23 15:35:23 2020 daemon.notice hostapd: [WLANECO] Register WLAN Eco Radio : brcm0 : error = 0
Thu Jan 23 15:35:23 2020 daemon.notice hostapd: [WL_MGMT] found radio : brcm_dhd0
Thu Jan 23 15:35:23 2020 kern.warn kernel: [30716.614000] dhd_tch_event_open
Thu Jan 23 15:35:23 2020 kern.warn kernel: [30716.617000] dhd_tch_event_open COMPLETED
Thu Jan 23 15:35:23 2020 daemon.notice hostapd: [BRCM_DHD] Watchdog initialized
Thu Jan 23 15:35:23 2020 daemon.notice hostapd: [BRCM_DHD] Watchdog thread initialized
Thu Jan 23 15:35:23 2020 daemon.notice hostapd: [WLANECO] Register WLAN Eco Radio : brcm_dhd0 : error = 0
Thu Jan 23 15:35:23 2020 kern.warn kernel: [30716.697000] CONSOLE: 057447.357 wl1: wl_open
Thu Jan 23 15:35:23 2020 kern.warn kernel: [30716.700000] CONSOLE: 057447.358 wlc_ucode_download: wl1: Loading non-MU ucode
Thu Jan 23 15:35:23 2020 kern.warn kernel: [30716.708000] CONSOLE: 057447.374 wl1: CORE INIT : nfifo 32 mu_tx_enab 0
Thu Jan 23 15:35:23 2020 kern.warn kernel: [30716.715000] CONSOLE: 057447.374 wl1: CORE INIT : mode 2 pktclassify 1 rxsplit 0 hdr conve 0 DMA_CT Enabled
Thu Jan 23 15:35:23 2020 kern.warn kernel: [30716.725000] CONSOLE: 057447.387 wl1: wlc_enable_probe_req: state down, deferring setting of host flags
Thu Jan 23 15:35:23 2020 kern.warn kernel: [30716.735000] CONSOLE: 057447.387 enable 1: q0 frmcnt 0, wrdcnt 0, q1 frmcnt 0, wrdcnt 0
Thu Jan 23 15:35:23 2020 kern.warn kernel: [30716.742000] CONSOLE: 057447.402 wl1: wlc_ampdu_tx_set: AGG Mode = MAC+AQM txmaxpkts 512
Thu Jan 23 15:35:23 2020 kern.warn kernel: [30716.750000] CONSOLE: 057447.407 wl1: wlc_ampdu_tx_set: AGG Mode = MAC+AQM txmaxpkts 512
Thu Jan 23 15:35:23 2020 user.notice postmortem: core dump for pid 31806 file hostapd.31806.4.1579790123.core ignored due to system.coredump.action setting
Thu Jan 23 15:35:23 2020 kern.warn kernel: [30716.801000] wl_event_release
Thu Jan 23 15:35:23 2020 kern.warn kernel: [30716.803000] dhd_tch_event_release
Thu Jan 23 15:36:23 2020 daemon.err nginx: 2020/01/23 15:36:23 [error] 5144#0: *77 lua entry thread aborted: runtime error: [string "/modals/wireless-modal.lp"]:146: bad argument #1 to 'ipairs' (table expected, got nil)
stack traceback:
coroutine 0:
[C]: in function 'ipairs'
[string "/modals/wireless-modal.lp"]:146: in function 'content'
/usr/lib/lua/web/web.lua:268: in function 'process'
content_by_lua(nginx.conf:109):4: in function <content_by_lua(nginx.conf:109):1>, client: 93.144.9.187, server: loc'