Hello, after the update from OpenWRT version 18.06.6 to version 19.07 my wifi doesn't start anymore.
I use the following WiFi cards:
root@rome01:~# lspci
. . .
04:00.0 Network controller: Qualcomm Atheros AR928X Wireless Network Adapter (PCI-Express) (rev 01)
06:00.0 Network controller: Qualcomm Atheros QCA986x/988x 802.11ac Wireless Network Adapter
What have I tried?
I deleted the / etc / config / wireless folder and had it created:
root@rome01:~# rm /etc/config/wireless
root@rome01:~# wifi config
root@rome01:~# cat /etc/config/wireless
config wifi-device 'radio0'
option type 'mac80211'
option channel '36'
option hwmode '11a'
option path 'virtual/mac80211_hwsim/hwsim0'
option htmode 'VHT80'
option disabled '1'
config wifi-iface 'default_radio0'
option device 'radio0'
option network 'lan'
option mode 'ap'
option ssid 'OpenWrt'
option encryption 'none'
config wifi-device 'radio1'
option type 'mac80211'
option channel '36'
option hwmode '11a'
option path 'virtual/mac80211_hwsim/hwsim1'
option htmode 'VHT80'
option disabled '1'
config wifi-iface 'default_radio1'
option device 'radio1'
option network 'lan'
option mode 'ap'
option ssid 'OpenWrt'
option encryption 'none'
config wifi-device 'radio2'
option type 'mac80211'
option channel '36'
option hwmode '11a'
option path 'pci0000:00/0000:00:15.0/0000:06:00.0'
option htmode 'VHT80'
option disabled '1'
config wifi-iface 'default_radio2'
option device 'radio2'
option network 'lan'
option mode 'ap'
option ssid 'OpenWrt'
option encryption 'none'
config wifi-device 'radio3'
option type 'mac80211'
option channel '36'
option hwmode '11a'
option path 'pci0000:00/0000:00:07.0/0000:04:00.0'
option htmode 'HT20'
option disabled '1'
config wifi-iface 'default_radio3'
option device 'radio3'
option network 'lan'
option mode 'ap'
option ssid 'OpenWrt'
option encryption 'none'
If I now want to activate a wireless network, I see the following error message in the system log
Thu Jan 16 16:16:06 2020 daemon.notice netifd: radio2 (6100): ./mac80211.sh: eval: line 792: /usr/sbin/hostapd: not found
Thu Jan 16 16:16:06 2020 daemon.notice netifd: radio2 (6100): cat: can't open '/var/run/wifi-phy2.pid': No such file or directory
Thu Jan 16 16:16:06 2020 daemon.notice netifd: radio2 (6100): WARNING (wireless_add_process): executable path /usr/sbin/hostapd does not match process path (/proc/exe)
Thu Jan 16 16:16:06 2020 daemon.notice netifd: radio2 (6100): Command failed: Invalid argument
Thu Jan 16 16:16:06 2020 daemon.notice netifd: radio2 (6100): Device setup failed: HOSTAPD_START_FAILED
Thu Jan 16 16:16:22 2020 daemon.notice netifd: radio2 (6378): ./mac80211.sh: eval: line 792: /usr/sbin/hostapd: not found
Thu Jan 16 16:16:22 2020 daemon.notice netifd: radio2 (6378): cat: can't open '/var/run/wifi-phy2.pid': No such file or directory
Thu Jan 16 16:16:22 2020 daemon.notice netifd: radio2 (6378): WARNING (wireless_add_process): executable path /usr/sbin/hostapd does not match process path (/proc/exe)
Thu Jan 16 16:16:22 2020 daemon.notice netifd: radio2 (6378): Command failed: Invalid argument
Thu Jan 16 16:16:22 2020 daemon.notice netifd: radio2 (6378): Device setup failed: HOSTAPD_START_FAILED
My kernel log also shows me several errors. However, when loading the firmware. This topic has been discussed here very often and for a long time. However, I almost never found a solution. I also had these messages with the OpenWRT version 18.06.6.
[ 10.484992] ath10k_pci 0000:06:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[ 10.726085] ath10k_pci 0000:06:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:06:00.0.bin failed with error -2
[ 10.736937] ath10k_pci 0000:06:00.0: Falling back to user helper
[ 11.747476] firmware ath10k!pre-cal-pci-0000:06:00.0.bin: firmware_loading_store: map pages failed
[ 11.756992] ath10k_pci 0000:06:00.0: Direct firmware load for ath10k/cal-pci-0000:06:00.0.bin failed with error -2
[ 11.767501] ath10k_pci 0000:06:00.0: Falling back to user helper
[ 11.780174] firmware ath10k!cal-pci-0000:06:00.0.bin: firmware_loading_store: map pages failed
[ 11.791983] ath10k_pci 0000:06:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-6.bin failed with error -2
[ 11.802839] ath10k_pci 0000:06:00.0: Falling back to user helper
[ 11.816873] firmware ath10k!QCA988X!hw2.0!firmware-6.bin: firmware_loading_store: map pages failed
[ 11.831251] ath10k_pci 0000:06:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043222ff sub 0000:0000
[ 11.840623] ath10k_pci 0000:06:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[ 11.850782] ath10k_pci 0000:06:00.0: firmware ver 10.2.4-1.0-00047 api 5 features no-p2p,raw-mode,mfp,allows-mesh-bcast crc32 35bd9258
[ 11.895867] ath10k_pci 0000:06:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/board-2.bin failed with error -2
[ 11.906378] ath10k_pci 0000:06:00.0: Falling back to user helper
[ 11.919652] firmware ath10k!QCA988X!hw2.0!board-2.bin: firmware_loading_store: map pages failed
[ 11.929498] ath10k_pci 0000:06:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[ 13.072911] ath10k_pci 0000:06:00.0: htt-ver 2.1 wmi-op 5 htt-op 2 cal otp max-sta 128 raw 0 hwcrypto 1
[ 13.192719] ath: EEPROM regdomain: 0x0
[ 13.192727] ath: EEPROM indicates default country code should be used
[ 13.192730] ath: doing EEPROM country->regdmn map search
[ 13.192735] ath: country maps to regdmn code: 0x3a
[ 13.192739] ath: Country alpha2 being used: US
[ 13.192741] ath: Regpair used: 0x3a
[ 13.639077] ath: phy3: ASPM enabled: 0x2
[ 13.643079] ath: EEPROM regdomain: 0x0
[ 13.643081] ath: EEPROM indicates default country code should be used
[ 13.643083] ath: doing EEPROM country->regdmn map search
[ 13.643088] ath: country maps to regdmn code: 0x3a
[ 13.643091] ath: Country alpha2 being used: US
[ 13.643093] ath: Regpair used: 0x3a
[ 13.660862] ieee80211 phy3: Selected rate control algorithm 'minstrel_ht'
[ 13.662078] ieee80211 phy3: Atheros AR9280 Rev:2 mem=0xffffc90000150000, irq=19
Under make menuconfig I tried almost all wireless network settings
< > wpa-supplicant-basic................... WPA Supplicant (with 11r and 11w)
< > wpa-supplicant-mesh-openssl........ WPA Supplicant (with 802.11s and SAE)
< > wpa-supplicant-mesh-wolfssl........ WPA Supplicant (with 802.11s and SAE)
< > wpa-supplicant-mini..................... WPA Supplicant (minimal version)
< > wpa-supplicant-openssl.................................... WPA Supplicant
< > wpa-supplicant-p2p............... WPA Supplicant (with Wi-Fi P2P support)
< > wpa-supplicant-wolfssl.................................... WPA Supplicant
<*> wpad......................... IEEE 802.1x Authenticator/Supplicant (full)
< > wpad-basic... IEEE 802.1x Authenticator/Supplicant (WPA-PSK, 11r and 11w)
< > wpad-mesh-openssl
< > wpad-mesh-wolfssl
< > wpad-mini............ IEEE 802.1x Authenticator/Supplicant (WPA-PSK only)
< > wpad-openssl................. IEEE 802.1x Authenticator/Supplicant (full)
< > wpad-wolfssl................. IEEE 802.1x Authenticator/Supplicant (full)
over and over again the absolutely same result!
The file / usr / sbin / hostpad does not exist
Can't it be that I have to build the whole build again from scratch?
Do you have any idea what else I can do?
Greetings from Stefan Harbich