Wifi scan possible but can't connect

Hi

So over owrt21.02, i do have the wifi device that give me problem. i cannot get any ip... I can do full scan and join network. Then, i select operating freq : N , and all rest is at default / interface mode : Client.
The Network/ Wireless overview: it show the ssid, but no signal, no bitrate/noise..

In the interface, i do see the network i connect, but it's only the mac address and Rx/Tx at 0. protocol is also default dhcp. But as i don't the the status directly in device config.. it's something else. And i'm not listed into the another wifi device as 'dhcp client connected'

From the webGui, this is the package i installed for wifi : wireless-regdb / wireless-tools / collectd-mod-iwinfo / kmod-iwl-legacy / kmod-iwlwifi
and for NUC6 skull : wireless 8260 firmware .

Here is the log section :


Sat Oct 23 15:24:29 2021 daemon.notice netifd: radio0 (4082): Interface 0 setup failed: WPA_SUPPLICANT_FAILED
Sat Oct 23 15:24:29 2021 daemon.notice netifd: radio0 (4082): Failed to parse json data: unexpected end of data
Sat Oct 23 15:24:29 2021 daemon.notice netifd: radio0 (4082): WARNING (wireless_add_process): executable path /usr/sbin/wpa_supplicant does not match process  path (/proc/exe)
Sat Oct 23 15:24:29 2021 daemon.notice netifd: radio0 (4082): Command failed: Invalid argument
Sat Oct 23 15:24:29 2021 daemon.notice netifd: Interface 'wwan' is enabled
Sat Oct 23 15:27:08 2021 daemon.notice netifd: radio0 (5016): Command failed: Not found
Sat Oct 23 15:27:08 2021 daemon.notice netifd: Interface 'wwan' is disabled
Sat Oct 23 15:27:38 2021 daemon.notice netifd: radio0 (5065): Command failed: Request timed out
Sat Oct 23 15:27:38 2021 daemon.notice netifd: radio0 (5065): Command failed: Not found
Sat Oct 23 15:27:38 2021 daemon.notice netifd: radio0 (5065): Device setup failed: HOSTAPD_START_FAILED
Sat Oct 23 15:29:40 2021 daemon.notice netifd: radio0 (6409): Command failed: Request timed out
Sat Oct 23 15:29:40 2021 daemon.notice netifd: radio0 (6409): Command failed: Not found
Sat Oct 23 15:29:40 2021 daemon.notice netifd: radio0 (6409): Device setup failed: HOSTAPD_START_FAILED
Sat Oct 23 15:31:40 2021 kern.warn kernel: [  632.011047] ACPI: \: failed to evaluate _DSM (0x1001)
Sat Oct 23 15:31:40 2021 kern.warn kernel: [  632.011807] ACPI: \: failed to evaluate _DSM (0x1001)
Sat Oct 23 15:32:10 2021 daemon.notice netifd: radio0 (7940): Command failed: Request timed out
Sat Oct 23 15:32:10 2021 daemon.notice netifd: radio0 (7940): Command failed: Not found
Sat Oct 23 15:32:10 2021 daemon.notice netifd: radio0 (7940): Interface 0 setup failed: WPA_SUPPLICANT_FAILED
Sat Oct 23 15:32:10 2021 daemon.notice netifd: radio0 (7940): Failed to parse json data: unexpected end of data
Sat Oct 23 15:32:10 2021 daemon.notice netifd: radio0 (7940): WARNING (wireless_add_process): executable path /usr/sbin/wpa_supplicant does not match process  path (/proc/exe)
Sat Oct 23 15:32:10 2021 daemon.notice netifd: radio0 (7940): Command failed: Invalid argument

-=-=--
And here for the /config/network/wireless


config wifi-device 'radio0'
        option type 'mac80211'
        option path 'pci0000:00/0000:00:1c.0/0000:01:00.0'
        option cell_density '0'
        option htmode 'HT20'
        option hwmode '11g'
        option channel '6'

config wifi-iface 'default_radio0'
        option device 'radio0'
        option network 'lan'
        option mode 'ap'
        option ssid 'OpenWrt'
        option encryption 'none'
        option disabled '1'

config wifi-iface 'wifinet2'
        option device 'radio0'
        option network 'tm332'
        option ssid 'tm332'
        option key 'password'
        option encryption 'none'
        option mode 'sta'

Thanks for help on this.

You have two wifi-iface stanzas defined on the same radio, one in AP mode (very problematic with any intel wireless card) one in STA (client) mode - start by removing the AP interface (I'm not sure, but very doubtful that intel offers both at once).

1 Like

hi so yeah, indeed, the both give some headache.. but also, i end up getting directly the : wpa-supplicant package-full as it was not showing proper set for the wpa2 at the 'option encryption.'

May help (it never hurts) to set your country code in the wifi-device section. The AP is disabled but since it's unsupported on an Intel card anyway, go ahead and delete it.

Only click the "connect" button once ever-- after that edit the wifi interface directly to make changes. 'psk2' encryption should be chosen for most home networks.

I've never tried to use the wpa-supplicant package-- usually some version of wpad is installed as it is a combined binary of wpa-supplicant and hostapd.