Wifi configuration for Pine phone
#5
(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.
  Reply


Messages In This Thread
Wifi configuration for Pine phone - by suren21 - 04-21-2020, 06:54 AM
RE: Wifi configuration for Pine phone - by wibble - 04-21-2020, 10:36 AM
RE: Wifi configuration for Pine phone - by wibble - 04-21-2020, 01:03 PM
RE: Wifi configuration for Pine phone - by suren21 - 04-22-2020, 12:44 AM
RE: Wifi configuration for Pine phone - by wibble - 04-22-2020, 05:08 AM
RE: Wifi configuration for Pine phone - by wibble - 04-22-2020, 05:07 PM
RE: Wifi configuration for Pine phone - by wibble - 04-23-2020, 11:01 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Article: NuttX RTOS for PinePhone: Feature Phone UI in LVGL, Zig and WebAssembly lupyuen 64 16,419 09-09-2023, 09:49 AM
Last Post: WhiteHexagon
  Article: NuttX RTOS for PinePhone: Phone Calls and Text Messages lupyuen 2 1,489 05-03-2023, 05:03 PM
Last Post: lupyuen
  [Stupid Question] Where is the phone camera software?! newusername 5 3,035 10-10-2022, 03:58 AM
Last Post: newusername
Question New user/phone here - initial update issues sexywheat 2 1,790 06-29-2022, 04:27 PM
Last Post: sexywheat
  Which apps can I run on this phone? poppyhodler 2 2,362 06-07-2022, 12:18 PM
Last Post: jenniferjohn12
  Phone Operation which SW Realease (mute funtion)? scrwbigtek 0 870 05-25-2022, 07:35 AM
Last Post: scrwbigtek
  Jami on the Pine phone ? bcnaz 7 5,800 04-03-2022, 12:10 PM
Last Post: Fish
  First time pine phone user Matt73 3 2,580 03-10-2022, 02:04 AM
Last Post: Matt73
  Phone Shell Nextcloud message notifications: turn them off? lsitongia 0 1,242 09-28-2021, 11:04 AM
Last Post: lsitongia
  Pine phone Battery life vs operating system bcnaz 19 21,665 08-27-2021, 09:35 PM
Last Post: bcnaz

Forum Jump:


Users browsing this thread: 1 Guest(s)