Wifi network connection not automatically starting
Slackware - ARMThis 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.
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.
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.
The network connection doesn't start automatically even though the info is in /etc/NetworkManager/system-connections.
How is it configured though? Examine the config file and make sure it is configured to connect automatically. Specifically, make sure that 'autoconnect=false' is not present...
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.
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.
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.
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.