LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 02-19-2023, 07:29 PM   #1
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,312

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
wireless takes little bit to wake up?


I used aarch64 install docs to install to pbp and rpi4, rockpro64 are wired so I've not done wireless with them.

With pbp I assumed it was quirk with their hardware getting wireless to wake up. With x86_64, I have used a wireless script that runs from rc.local that I've been doing for years.

pbp I run the my wireless script manually after boot, looks like I need to do same with rpi4.

I'm no expert with this stuff to know what to look into, I'm not interested in nmcli or whatever else.

I don't think there is anything different with aarch64 and x86_64 slackware that is affecting the way the wireless is used or is there?

here's that script
Code:
#/bin/sh
/usr/sbin/wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf -B
/sbin/ifconfig wlan0 up 192.168.0.102
/sbin/route add default gw 192.168.0.1
it fails from rc.local but is successful running it as root.

Last edited by glorsplitz; 02-19-2023 at 07:32 PM.
 
Old 02-20-2023, 03:30 AM   #2
jloco
Member
 
Registered: Apr 2016
Location: Detroit, MI
Distribution: Slackware
Posts: 189

Rep: Reputation: 173Reputation: 173
I've noticed wireless doesn't load fully until I'm completely logged into my desktop on pbp using NetworkManager.

And there is also a long pause during boot for bluetooth as well. I was under the impression that wifi/bt was all one Broadcom chip, but based upon startup, it appears they are different. Or at least require different quirks to get running.

Booting other distros on sd, I haven't seen these issues arise though. Could just be an init thing, I'm not sure though.
 
1 members found this post helpful.
Old 02-20-2023, 03:52 AM   #3
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,917

Rep: Reputation: Disabled
to configure wifi, you just need to configure it in /etc/rc.d/rc.inet1.conf
Code:
GATEWAY="192.168.0.1"

IFNAME[4]="wlan0"
IPADDRS[4]="192.168.0.102/24"
WLAN_WPA[4]="wpa_supplicant"
WLAN_WPADRIVER[4]="nl80211"
 
1 members found this post helpful.
Old 02-20-2023, 09:42 AM   #4
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,551

Rep: Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314
Quote:
Originally Posted by glorsplitz View Post

I don't think there is anything different with aarch64 and x86_64 slackware that is affecting the way the wireless is used or is there?
Thanks for the report, I've been meaning to fix for this for ages.
I unset Kernel config 'CONFIG_FW_LOADER_USER_HELPER_FALLBACK' and that seems to fix it.
It'll be in the next Kernel update.
 
2 members found this post helpful.
Old 02-20-2023, 10:46 AM   #5
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,551

Rep: Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314
Quote:
Originally Posted by jloco View Post
And there is also a long pause during boot for bluetooth as well.
It looks like it fixes that as well.
I'll let you know once the new Kernel is out and see if we can close this one out.
 
2 members found this post helpful.
Old 02-20-2023, 06:35 PM   #6
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,312

Original Poster
Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
CHEERS to all! Glad this wasn't something silly I was unaware I was doing.

As far as bluetooth I did -x on rc.bluetooth as workaround, will undo later.

sndwvs, I will try this once Stuart takes care of business.

Will report back soonest.
 
Old 02-23-2023, 03:08 AM   #7
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,551

Rep: Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314
Quote:
Originally Posted by glorsplitz View Post
CHEERS to all! Glad this wasn't something silly I was unaware I was doing.

As far as bluetooth I did -x on rc.bluetooth as workaround, will undo later.
The updates are out and it looks good to me.
The bluetooth stuff seems to complete more quickly than before, but then on some boots it still takes about 2 seconds but I'm not concerned about it.

I use Network Manager to handle the WiFi - you don't need to manually configure anything unless you want to.
 
2 members found this post helpful.
Old 02-23-2023, 06:13 PM   #8
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,312

Original Poster
Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
After the updates, booting flies through wifi and bluetooth. Thank you!

EDIT: rpi4 and pbp

Last edited by glorsplitz; 02-23-2023 at 07:20 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
32 bit big endian file reading from 64 bit linux little endian varunkernex Linux - General 1 05-25-2012 02:55 AM
LXer: Novell's open source legacy - wake up little SuSE LXer Syndicated Linux News 0 06-07-2011 03:41 AM
Can I wake up a server in "standby" or "memory" mode using wake-on-lan? songweijia Linux - Server 2 03-03-2010 06:51 PM
wake on lan magic packet does not wake. albean Linux - Networking 1 06-30-2007 03:57 PM
Mouse Takes a While to Wake Up mooreted Slackware 4 03-08-2004 08:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 05:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration