Hostapd doesn't install correctly - No wireless option

Hi,

I'm on a fresh install of openwrt 19.07.5 x86-64 ext4. I tried the squashfs too but it didn't work either.

My problem is that i can't get a wireles interfaces. I'm using wle600vx as a wireless card so i install thoses packages : hostapd and the drivers ath10k-firmware-qca988x-ct-htt and the kmodath10k as recommended on teklagger.

i can only see that i have no folder created for hostapd. I dont know why.

when i search hostapd with find / -name hostapd i get : /usr/sbin/hostapd

I tried installing it via opkg install hostapd and that doesn't change anything.

I tried installing it with Luci and it doesn't change a thing.

I'm wondering if its a disk issue because everytime i reboot i have to update the list of package in Luci. Is that normal ?

I'm using a sd card created with balenatcher with a mac.

The change i made in the /etc/config/network are still there so i'm guessing its writing...

Thanks in advance

You likely need to install iw or iw-full as well. After a reboot, /etc/config/wireless should get autopopulated with a default config for the discovered radios.

1 Like

Thanks for your return.

iw-full return : iw-full: not found even if opkg install return Package iw-full (5.0.1-1) installed in root is up to date.

iw return the list of commands like manpage

i checked and the /etc/config/wireless is empty

i check the log and i get this :

Wed Jan 20 00:11:55 2021 kern.info kernel: [    8.981084] ath10k_pci 0000:05:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
Wed Jan 20 00:11:55 2021 kern.warn kernel: [    9.216285] ath10k_pci 0000:05:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:05:00.0.bin failed with error -2
Wed Jan 20 00:11:55 2021 kern.warn kernel: [    9.227046] ath10k_pci 0000:05:00.0: Falling back to user helper
Wed Jan 20 00:11:55 2021 kern.err kernel: [    9.241369] firmware ath10k!pre-cal-pci-0000:05:00.0.bin: firmware_loading_store: map pages failed
Wed Jan 20 00:11:55 2021 kern.warn kernel: [    9.250585] ath10k_pci 0000:05:00.0: Direct firmware load for ath10k/cal-pci-0000:05:00.0.bin failed with error -2
Wed Jan 20 00:11:55 2021 kern.warn kernel: [    9.260982] ath10k_pci 0000:05:00.0: Falling back to user helper
Wed Jan 20 00:11:55 2021 kern.err kernel: [    9.273165] firmware ath10k!cal-pci-0000:05:00.0.bin: firmware_loading_store: map pages failed
Wed Jan 20 00:11:55 2021 kern.warn kernel: [    9.285946] ath10k_pci 0000:05:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-6.bin failed with error -2
Wed Jan 20 00:11:55 2021 kern.warn kernel: [    9.296730] ath10k_pci 0000:05:00.0: Falling back to user helper
Wed Jan 20 00:11:55 2021 kern.err kernel: [    9.308538] firmware ath10k!QCA988X!hw2.0!firmware-6.bin: firmware_loading_store: map pages failed
Wed Jan 20 00:11:55 2021 kern.warn kernel: [    9.317816] ath10k_pci 0000:05:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-5.bin failed with error -2
Wed Jan 20 00:11:55 2021 kern.warn kernel: [    9.328594] ath10k_pci 0000:05:00.0: Falling back to user helper
Wed Jan 20 00:11:55 2021 kern.err kernel: [    9.342375] firmware ath10k!QCA988X!hw2.0!firmware-5.bin: firmware_loading_store: map pages failed
Wed Jan 20 00:11:55 2021 kern.warn kernel: [    9.351655] ath10k_pci 0000:05:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-4.bin failed with error -2
Wed Jan 20 00:11:55 2021 kern.warn kernel: [    9.362415] ath10k_pci 0000:05:00.0: Falling back to user helper
Wed Jan 20 00:11:55 2021 kern.err kernel: [    9.374574] firmware ath10k!QCA988X!hw2.0!firmware-4.bin: firmware_loading_store: map pages failed
Wed Jan 20 00:11:55 2021 kern.warn kernel: [    9.383764] ath10k_pci 0000:05:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-3.bin failed with error -2
Wed Jan 20 00:11:55 2021 kern.warn kernel: [    9.394493] ath10k_pci 0000:05:00.0: Falling back to user helper
Wed Jan 20 00:11:55 2021 kern.err kernel: [    9.408265] firmware ath10k!QCA988X!hw2.0!firmware-3.bin: firmware_loading_store: map pages failed
Wed Jan 20 00:11:55 2021 kern.warn kernel: [    9.417529] ath10k_pci 0000:05:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-2.bin failed with error -2
Wed Jan 20 00:11:55 2021 kern.warn kernel: [    9.428249] ath10k_pci 0000:05:00.0: Falling back to user helper
Wed Jan 20 00:11:55 2021 kern.err kernel: [    9.442059] firmware ath10k!QCA988X!hw2.0!firmware-2.bin: firmware_loading_store: map pages failed
Wed Jan 20 00:11:55 2021 kern.err kernel: [    9.451299] ath10k_pci 0000:05:00.0: Failed to find firmware-N.bin (N between 2 and 6) from ath10k/QCA988X/hw2.0: -11
Wed Jan 20 00:11:55 2021 kern.err kernel: [    9.461959] ath10k_pci 0000:05:00.0: could not fetch firmware files (-11)
Wed Jan 20 00:11:55 2021 kern.err kernel: [    9.468769] ath10k_pci 0000:05:00.0: could not probe fw (-11)
Wed Jan 20 00:11:55 2021 user.info kernel: [    9.476555] kmodloader: done loading kernel modules from /etc/modules.d/*

And it still not clear to me : the package list in luCi is suppose to be persistent or not ?

Every time i reboot, there is no package list and i have to update this list to see any software proposal or even installed. It's confusing me.

And still no hostapd.

the package list isn't saved anywhere, so yes, it'll be wiped between reboots.

Ok so this is not related...