Slackware - ARM This forum is for the discussion of Slackware ARM. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-07-2020, 12:13 AM
|
#1
|
Member
Registered: Jun 2020
Posts: 61
Rep: 
|
Wifi network connection not automatically starting
Hi all,
I installed Slackware ARM on the Rpi4, and I have a conundrum:
The network connection doesn't start automatically even though the info is in /etc/NetworkManager/system-connections.
As a result, I can't obtain the time and DNS doesn't work.
When I log in as any user and start X, the connection starts but the network time isn't fetched.
So I have to log in as root, run ntpdate and get the time.
Then go back to X and use it.
Question: Is it expected that the Wifi won't automatically start during boot-up? I don't have Ethernet to connect to.
|
|
|
07-07-2020, 03:54 AM
|
#3
|
LQ Guru
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,961
|
Also, as per this thread, make sure that "All users may connect to this network" is slected for this connection.
|
|
|
07-07-2020, 11:01 AM
|
#4
|
Member
Registered: Jun 2020
Posts: 61
Original Poster
Rep: 
|
Quote:
Originally Posted by ferrari
How is it configured though?
|
This is the new one that is almost working well. It seems to connect eventually, usually after I've logged in, but it never uses NTP to get the current time.
Code:
[connection]
id=FunnyOne
autoconnect=true
uuid=11111111-1121-e01a-7964-044e021d3111
type=wifi
interface-name=wlan0
permissions=user:me:;user:root
[wifi]
mac-address-blacklist=
mode=infrastructure
ssid=FunnyOne
[wifi-security]
auth-alg=open
key-mgmt=wpa-psk
psk=monkey123
[ipv4]
dns-search=9.9.9.9 1.1.1.1
method=auto
[ipv6]
addr-gen-mode=stable-privacy
dns-search=9.9.9.9 1.1.1.1
method=auto
[proxy]
When the system boots up and I log in as root, if I type iwconfig wlan0 essid FunnyOne,
it will give an error saying connection is already in progress.
|
|
|
07-07-2020, 03:28 PM
|
#6
|
Member
Registered: Jun 2020
Posts: 61
Original Poster
Rep: 
|
Quote:
Originally Posted by abga
|
Maybe I should, because even though NetworkManager is supposed to be executing scripts in its dispatch.d directory (according to posts here and the manual page), after much experimentation, I'm finding those are definitely not getting executed.
|
|
|
07-07-2020, 10:03 PM
|
#7
|
Member
Registered: Sep 2011
Distribution: Slackware64 15.0+ (-current)
Posts: 120
Rep: 
|
NetworkManager has been working fine for me on Rpi's 3 and 4.
You could try removing and re-adding the connection in nmtui command line interface:
$ nmtui
"Edit a connection" -> Select the wifi connection and <Delete>
Then <Back>
Then "Activate a connection"
Select the connection and <Activate>
Enter wifi password
|
|
|
07-08-2020, 12:22 AM
|
#8
|
Member
Registered: Jun 2020
Posts: 61
Original Poster
Rep: 
|
Quote:
Originally Posted by eduardr
$ nmtui
|
Wow, thanks for that tip. It's mostly working now except for NTP.
|
|
|
07-08-2020, 12:35 AM
|
#9
|
Member
Registered: Sep 2011
Distribution: Slackware64 15.0+ (-current)
Posts: 120
Rep: 
|
Great for NTP suggest to disable any manual hacks in rc.local or otherwise, and just
$ chmod a+x /etc/rc.d/rc.ntpd; /etc/rc.d/rc.ntpd start
Should take care of any ntp issues.
|
|
|
All times are GMT -5. The time now is 02:47 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|