LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-31-2021, 04:44 PM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Rep: Reputation: 76
NetworkManager: Wi-Fi detected but no connection.


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.
 
Old 03-31-2021, 05:42 PM   #2
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Try switching the dhcp client in /etc/NetworkManager/conf.d/00-dhcp-client.conf. Uncomment dhclient and comment out dhcpcd.
 
Old 03-31-2021, 05:53 PM   #3
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
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.
 
Old 03-31-2021, 06:10 PM   #4
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
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.

Last edited by stf92; 03-31-2021 at 06:18 PM.
 
Old 03-31-2021, 07:06 PM   #5
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Quote:
Originally Posted by bassmadrigal View Post
Try switching the dhcp client in /etc/NetworkManager/conf.d/00-dhcp-client.conf. Uncomment dhclient and comment out dhcpcd.
I did exactly as you suggested but still same behavior as described in post #1.
 
Old 03-31-2021, 07:57 PM   #6
PROBLEMCHYLD
Senior Member
 
Registered: Apr 2015
Posts: 1,201

Rep: Reputation: Disabled
You might have to disable IPv6.
 
1 members found this post helpful.
Old 03-31-2021, 08:03 PM   #7
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
No, I'll do a fresh installation. In that way the initial conditions will be known to everybody. I think it won't fail again. I'll let you know soon.

Last edited by stf92; 03-31-2021 at 08:24 PM.
 
Old 04-02-2021, 04:58 PM   #8
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
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.
 
Old 04-02-2021, 05:40 PM   #9
PROBLEMCHYLD
Senior Member
 
Registered: Apr 2015
Posts: 1,201

Rep: Reputation: Disabled
Did you auto start it on boot up?
 
Old 04-02-2021, 05:54 PM   #10
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
What do you mean?
 
Old 04-02-2021, 07:27 PM   #11
PROBLEMCHYLD
Senior Member
 
Registered: Apr 2015
Posts: 1,201

Rep: Reputation: Disabled
Quote:
Originally Posted by stf92 View Post
What do you mean?
nano /etc/NetworkManager/conf.d/00-dhcp-client.conf

Code:
Try switching the dhcp client in /etc/NetworkManager/conf.d/00-dhcp-client.conf. Uncomment dhclient and comment out dhcpcd.
chmod +x /etc/rc.d/rc.networkmanager
/etc/rc.d/rc.networkmanager start
 
Old 04-02-2021, 08:03 PM   #12
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
I got 'NetworkManager is already running (will not start it twice)'.
 
Old 04-03-2021, 03:06 PM   #13
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,785

Rep: Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435
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.
 
Old 04-03-2021, 03:20 PM   #14
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
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?
 
Old 04-03-2021, 04:04 PM   #15
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
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
 
  


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
NetworkManager wired connection will not autoconnect. connection.autoconnect is set to yes lq_usr_5million Linux - Networking 2 07-25-2020 06:05 PM
[SOLVED] I can't manage NetworkManager via /etc/rc.d/rc.networkmanager script igadoter Slackware 20 03-22-2018 03:17 PM
[SOLVED] NetworkManager enabled but no internet connection at startup philippe972 Slackware 4 07-17-2016 08:45 AM
usb mouse NOT detected, but usb keyboard IS detected mr.anderson Slackware 16 04-26-2006 09:09 PM
CD-Rs not detected, but DVD-Rs detected O(V)eGA_l2el) Fedora 2 04-24-2006 01:18 PM

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

All times are GMT -5. The time now is 09:33 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