[SOLVED] NetworkManager: Wi-Fi detected but no connection.
SlackwareThis Forum is for the discussion of Slackware Linux.
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.
Hi: I have just installed Slackware 14.2 and, during the installation chose NetworkManager (NM). At home I use a wi-fi modem to connect to the Internet. When running Xfce I find the NM icon with a red cross below and the message 'No network connection'. Well, then I click the icon and see my network has been detected. I select it and the system prompts me to enter a password. I begin to write the password but then and before I press the 'Connect' button a message appears saying
Code:
Disconnected.
The network connection has been disconnected.
This is very odd because the network was already disconnected. When finally I press the 'Connect' button what happens? Absolutely nothing. There is no notification saying what the result of the operation was. And the red cross is still there. I find this disconcerting. What can possibly be happening?
One other thing: in the same machine I have Ubuntu running. And it has absolutely no problem with the wi-fi.
Thanks. At certain point the installer gives four options one of which is 'NetworkManager'. There is a program one can run which gives the same four options, maybe netconfig, but I do not remember the name. Do you? It configures the network.
I forgot to mention: just after installation I had no problem connecting to the Internet. But several months later during which I did not use the machine, I found the situation described in post #1. Of course I did some use of the machine during those months.
Well, I have just reinstalled 14.2 and, unfortunately, still the red cross by the NetworkManager icon (No network connection). But now anyone who has installed 14.2 and hasn't touched anything will be in the same conditions as I am.
Just an anecdote but I had problems on one of my new systems with random disconnects which was at first really odd since I currently have at least 3 nearly identical installs of Current, all using the identical 5.11.11 kernel. After a lengthy search and a lot of back and forth to see what was different (since the others did not exhibit drops) I saw that I had blacklisted "kernel-firmware" in addition to the necessary for me other kernel entries but just on that one instance/install.
TLDR it may be valuable to insure you get kernel-firmware or even identify your wifi chipset firmware for "iwlwifi" and see if the chipset manufacturer publishes newer firmware to add to "/lib/firmware/<manufacturer>". My Intel AX201 no longer drops, even at highest speeds, after a firmware update. Hope this helps you.
I don't know if you read post #1 but there it says I have Ubuntu running on the same machine with no problems at all with the wi-fi. What can Ubuntu (18.04) do that 14.2 doesn't do?
Examining logs, dmesg, kernel log, messages. It may be you have more than one service fighting over WiFi interface. For instance you may have both wpa_supplicant and NM started. Also dhcpcd can manage interfaces the same way as NM does. If you want to use NM make sure wpa_supplicant and dhcpcd are not started on their own, NM will start them.
Last edited by Emerson; 04-03-2021 at 04:22 PM.
Reason: Typos
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.