[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.
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?
For starters please compare kernel versions of each. Hardware support is in the kernel not commonly distro-specific.
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.
"Examining logs, dmesg, kernel log, messages": I don't quite understand.
"... make sure wpa_supplicant and dhcpcd are not started on their own,...": how do I do this?
1. If there is a conflict and two daemons are trying to control the interface it will be somewhere in logs. I do not know what logging daemon you are using, therefore cannot tell you exactly where to look. Possible places are dmesg, /var/log/messages, but there may be more.
2. Your init system has scripts to start daemons, every init system has tools to manage runlevels, again, without knowing details about your system cannot tell what your tools are. For instance, in my OpenRC system I can run 'rc-config' to manage runlevels.
Last edited by Emerson; 04-04-2021 at 09:31 AM.
Reason: Typo
As I previously mentioned hardware support resides in the kernel. My 14.2 Multilib system runs on a custom 5.11.11 kernel which is one of the reasons I prefer Slackware as it works on a vanilla kernel, requiring no special distro-specific hoops to jump through which is common on other distros, especially to support their specific version of package management and auto dependency resolution.
If you aren't familiar with custom building a kernel for yourself (and why would you be coming from a distro locked in to repositories only?) I suggest downloading and installing kernel source and/or headers, kernel package, and kernel-modules and firmware from Current, presently 5.10.27, located in the "k" directory on any mirror, with firmware and a few other important kernel packages in "a". The only minor gotcha one might encounter is if you use the nvidia.foo.run installer which will probably warn you that the kernel was built with a different GCC. Selecting "Ignore gcc check" almost always these days solves that issue.
That version of nvidia installer will succeed and run perfectly even with that minor mismatch AND will almost certainly improve wifi detection, utilization and performance. If you're at all interested in "rolling your own", just ask.
Three possible ways to proceed:
(a) Ubuntu, on the same machine, has no problems with wi-fi. So, comparing the Ubuntu wifi related stuff with that of Slackware a solution could be reached.
(b) To dispense with NetworkManager altogether and use another way of managing the wi-fi.
(c)
Code:
iwlwifi 0000:02:00.0: loaded firmware version 17.3216344376.0 op_mode iwlmvm
iwlwifi 0000:02:00.0: Detected Intel(R) Dual Band Wireless AC 3160, REV=0x164
Try to find a driver for the AC 3160 controller.
I would begin with (b). What other method of dealing with the wi-fi exists besides NM?
And how do I do a manual static setup. I guess it must be fairly complicated.
Not quite, doesn't Slackware documentation cover it? Init system must be set to bring the interface up and wpa_supplicant conf has to be altered with a text editor.
First run "slackpkg update", "slackpkg install-new" and "slackpkg upgrade-all" to check if there are any fixes for 14.2 to be installed. The reboot and check Networkmanager again. If it dies not work; you can try wicd instead:
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.
As root you can run "netconfig" any time you want to change something.
EXAMPLE - I choose DHCP (second choice) and then use NetworkManager as my means to connect. I have chosen loopback in the past and found that NetworkManager works well with that choice. Try those maybe and see what happens
As root you can run "netconfig" any time you want to change something.
EXAMPLE - I choose DHCP (second choice) and then use NetworkManager as my means to connect. I have chosen loopback in the past and found that NetworkManager works well with that choice. Try those maybe and see what happens
I don't get it. I choose DHCP. And then how do I use NetworkManager?
First run "slackpkg update", "slackpkg install-new" and "slackpkg upgrade-all" to check if there are any fixes for 14.2 to be installed. The reboot and check Networkmanager again. If it dies not work; you can try wicd instead:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.