04-22-2020, 12:44 AM
(04-21-2020, 01:03 PM)wibble Wrote: In that gentoo link, once you get past the introduction into the bits about editing /etc/conf.d/net that's OpenRC's network configuration format, so won't be directly applicable. It was more about showing the tools available. I'm not familiar with how buildroot does things, or whether it depends on which init you pick. It seems odd that the wireless tools aren't recognising the device. It's possible there's a step I'm not aware of because the OS versions I've tried are all doing it in the background.
Based on the guide shared and some more additional info did this.
Added a configuration for wpa_supplicant and added the wlan0 to the interfaces. When I start wpa_supplicant I get this error.
# wpa_supplicant -c -d -Dwext -iwlan0 -c/etc/wpa_supplicant.conf
Successfully initialized wpa_supplicant
ioctl[SIOCSIWAP]: Operation not permitted
wlan0: Trying to associate with 30:5a:3a:67:f3:8c (SSID='beezelbub' freq=2462 MHz)
Failed to add supported operating classes IE
wlan0: Association request to the driver failed
[ 105.126813] ------------[ cut here ]------------
[ 105.131517] WARNING: CPU: 3 PID: 69 at net/wireless/sme.c:756 __cfg80211_connect_result+0x260/0x318 [cfg80211]
[ 105.141499] Modules linked in: 8723cs© cfg80211 rfkill
[ 105.146811] CPU: 3 PID: 69 Comm: kworker/u8:3 Tainted: G WC 5.6.0+ #10
[ 105.154538] Hardware name: PinePhone (DT)
[ 105.158587] Workqueue: cfg80211 cfg80211_event_work [cfg80211]
[ 105.164411] pstate: 40000005 (nZcv daif -PAN -UAO)
[ 105.169233] pc : __cfg80211_connect_result+0x260/0x318 [cfg80211]
[ 105.175355] lr : __cfg80211_connect_result+0x228/0x318 [cfg80211]
[ 105.181436] sp : ffff8000112abce0
[ 105.184742] x29: ffff8000112abce0 x28: 0000000000000060
[ 105.190044] x27: dead000000000100 x26: dead000000000122
[ 105.195346] x25: 0000000000000000 x24: ffff00006cbe1ad8
[ 105.200648] x23: ffff00006cbe1a48 x22: ffff00006cbe1a00
[ 105.205950] x21: 0000000000000000 x20: ffff00006cbe0018
[ 105.211252] x19: ffff00006cbe1a00 x18: ffff800010df1a70
[ 105.216553] x17: 0000000000000002 x16: 0000000000000001
[ 105.221856] x15: 0000000000000001 x14: 00000004000b344c
[ 105.227158] x13: 90001add00000000 x12: 0000000000000000
[ 105.232460] x11: 0000000000000000 x10: 00ffff1701ec334c
[ 105.237762] x9 : 90001edd00000000 x8 : 0000000000000000
[ 105.243063] x7 : 0000000000000000 x6 : 0000000000000002
[ 105.248365] x5 : 0000000000000000 x4 : 0000000000000000
[ 105.253667] x3 : 0000000000000000 x2 : 0000000000000000
[ 105.258968] x1 : ffff00006f7e0000 x0 : 0000000000000000
[ 105.264271] Call trace:
[ 105.266753] __cfg80211_connect_result+0x260/0x318 [cfg80211]
[ 105.272528] cfg80211_process_wdev_events+0x220/0x228 [cfg80211]
[ 105.278561] cfg80211_process_rdev_events+0x38/0x90 [cfg80211]
[ 105.284423] cfg80211_event_work+0x1c/0x30 [cfg80211]
[ 105.289471] process_one_work+0x1ec/0x3b0
[ 105.293473] worker_thread+0x140/0x518
[ 105.297217] kthread+0x118/0x120
[ 105.300441] ret_from_fork+0x10/0x1c
[ 105.304010] ---[ end trace dd78a8345a8cfdf2 ]---
wlan0: Authentication with 30:5a:3a:67:f3:8c timed out.
ioctl[SIOCSIWAP]: Operation not permitted
wlan0: CTRL-EVENT-DISCONNECTED bssid=30:5a:3a:67:f3:8c reason=3 locally_generated=1
How to ensure that the wifi firmware is loaded into the kernel ?
Thanks.