LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-04-2021, 12:21 AM   #16
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,784

Rep: Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434

Quote:
Originally Posted by stf92 View Post
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.
 
Old 04-04-2021, 08:55 AM   #17
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Quote:
Originally Posted by enorbet View Post
For starters please compare kernel versions of each. Hardware support is in the kernel not commonly distro-specific.
Slackware 14.2 4.4.14-smp
Ubuntu 18.04 4.15.0-48-generic
 
Old 04-04-2021, 09:10 AM   #18
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Quote:
Originally Posted by Emerson View Post
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?
 
Old 04-04-2021, 09:16 AM   #19
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
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
 
Old 04-05-2021, 06:14 AM   #20
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,784

Rep: Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434
Quote:
Originally Posted by stf92 View Post
Slackware 14.2 4.4.14-smp
Ubuntu 18.04 4.15.0-48-generic
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.

Welcome to Slackware and LQN.

Last edited by enorbet; 04-05-2021 at 06:21 AM.
 
Old 04-05-2021, 06:51 AM   #21
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

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

Rep: Reputation: Disabled
Some:

Manual static setup, or manual dynamic. OK if you never travel.
WICD
DHCPCD
 
Old 04-05-2021, 07:49 AM   #23
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
And how do I do a manual static setup. I guess it must be fairly complicated.
 
Old 04-05-2021, 08:43 AM   #24
biker_rat
Member
 
Registered: Feb 2010
Posts: 369

Rep: Reputation: 220Reputation: 220Reputation: 220
4.15 kernels have much updated wifi drivers over 4.4 kernels. I would compile my own newer kernel to use with 14.2. Try 4.19 LTS for a start maybe?
 
Old 04-05-2021, 08:49 AM   #25
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Quote:
Originally Posted by stf92 View Post
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.
 
Old 04-05-2021, 10:00 AM   #26
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Quote:
Originally Posted by biker_rat View Post
4.15 kernels have much updated wifi drivers over 4.4 kernels. I would compile my own newer kernel to use with 14.2. Try 4.19 LTS for a start maybe?
And why not download the 4.19 LTS, put it in /boot and say lilo to use that kernel? What is the necessity of compiling?
 
Old 04-05-2021, 11:31 AM   #27
jostber
Member
 
Registered: Jul 2001
Location: Skien, Norway
Distribution: Slackware Current 64-bit
Posts: 543

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

https://slackware.pkgs.org/14.2/slac..._64-2.txz.html

Restart and click on the wicd icon in your taskbar to add the password for your connection.
 
Old 04-05-2021, 12:09 PM   #28
Gordie
Member
 
Registered: Aug 2007
Location: Nolalu, Ontario, Canada
Distribution: Slackware64-Current
Posts: 871

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
Quote:
Originally Posted by stf92 View Post
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
 
Old 04-05-2021, 02:09 PM   #29
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Quote:
Originally Posted by Gordie View Post
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?
 
Old 04-05-2021, 02:14 PM   #30
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Quote:
Originally Posted by jostber View Post
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:

https://slackware.pkgs.org/14.2/slac..._64-2.txz.html

Restart and click on the wicd icon in your taskbar to add the password for your connection.
I can't run 'slackpkg update' because, of course, I don't have internet in the slackware box.
 
  


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 08:24 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