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 11-12-2021, 10:47 PM   #1
rsamurti
Member
 
Registered: Dec 2003
Location: Mysore
Distribution: Mandrake, Libranet, Slackware
Posts: 148

Rep: Reputation: 22
Wifi connection not working after latest updates to current.


Hello,

After applying updates wifi connections are not working. Any clues to correct this?


Thank you for your support.

Anand

Last edited by rsamurti; 11-15-2021 at 06:39 AM.
 
Old 11-13-2021, 02:16 AM   #2
kgha
Senior Member
 
Registered: May 2018
Location: Sweden
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,079

Rep: Reputation: 750Reputation: 750Reputation: 750Reputation: 750Reputation: 750Reputation: 750Reputation: 750
Some more information is needed. Which slackware version (14.2 or current, 32 or 64 bit)? Date for your previous upgrade?
 
Old 11-13-2021, 04:08 AM   #3
rsamurti
Member
 
Registered: Dec 2003
Location: Mysore
Distribution: Mandrake, Libranet, Slackware
Posts: 148

Original Poster
Rep: Reputation: 22
Slackware64 Current. All updates applied till Nov 11 2021.
 
Old 11-13-2021, 04:22 AM   #4
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,544

Rep: Reputation: 3388Reputation: 3388Reputation: 3388Reputation: 3388Reputation: 3388Reputation: 3388Reputation: 3388Reputation: 3388Reputation: 3388Reputation: 3388Reputation: 3388
Quote:
Originally Posted by rsamurti View Post
Hello,

After applying updates wifi connections are not working. Any clues to correct this?


Thank you for your support.

Anand
Only if you give any clues about what hardware we talk...

My surname is not Nostradamus, so I am not able to guess accurately your device model.
 
Old 11-13-2021, 04:52 AM   #5
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
You need to disable networkmanager. Then do some standard diagnostic. Use ifconfig to rise up interface. Then use iw toools: iwconfig, iwlist. If this fails it means kernel issue. Probably missed kernel module. If scanning network will show access points, then it is networkmanager issue.

Make sure WiFi is not hardware locked.

Edit: I forgot to add that sometimes wpa_supplicant fails. Which the worst scenario.

Last edited by igadoter; 11-13-2021 at 04:55 AM.
 
1 members found this post helpful.
Old 11-13-2021, 05:35 AM   #6
rsamurti
Member
 
Registered: Dec 2003
Location: Mysore
Distribution: Mandrake, Libranet, Slackware
Posts: 148

Original Poster
Rep: Reputation: 22
Disabled Network Manager.

ifconfig -a gave this output related to the wireless device:

wlan0: flags=4098 ....

This shows that wlan0 is up.

Now what should I check?
 
Old 11-13-2021, 06:43 AM   #7
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
Quote:
Originally Posted by rsamurti View Post
Disabled Network Manager.

ifconfig -a gave this output related to the wireless device:

wlan0: flags=4098 ....

This shows that wlan0 is up.

Now what should I check?
I am now on my tablet. Basically these are two commands,
Code:
# iwconfig wlan0
# iwlist wlan0 scanning
verify with synopsis, say iwconfig --help tells basic usage. If these commands work, next stage is to verify wpa_supplicant. For this you need to set /etc/wpa_supplicant.conf. File contains essid of your network and hashed passphrase. If file does not exist create it with wpa_passphrase command
Code:
# wpa_passphrase essid passphrase > /etc/wpa_supplicant.conf
then run
Code:
# wpa_supplicant -Dwext -i wlan0 -c /etc/wpa_supplicant.conf
output tells about successful association. You can also verify association with iwconfig.
The last thing is to run dhcpcd to obtain local address
Code:
# dhcpcd wlan0
if this works, you obtain your internet connection, then networkmanager is source of your problems.
 
Old 11-13-2021, 11:03 AM   #8
rsamurti
Member
 
Registered: Dec 2003
Location: Mysore
Distribution: Mandrake, Libranet, Slackware
Posts: 148

Original Poster
Rep: Reputation: 22
When I give the command

ifconfig wlan0

I get this output:

wlan0 unassociated ESSID:"" ...

This means that wlan0 is not associated with with my ESSID.

iwlist wlan0 scanning

gives the output:

wlan0 No scan results

But I am able to connect to the same ESSID through my cellphone.

Last edited by rsamurti; 11-13-2021 at 11:11 AM.
 
Old 11-13-2021, 11:29 AM   #9
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
First of all I need to see terminal output. Just copy and paste terminal output use tags.
So show me this
Code:
 
# ifconfig
and output of these commands
Code:
# pgrep wpa
# pgrep dhcp
I stop to try to help you if you will not provide exact output of command as you see it in terminal. Don't make me to think you are just troll. Here what is on my computer
Code:
bash-5.1# pgrep wpa
1217
bash-5.1# pgrep dhcp
1293
1295
1296
1303
1314
as you see crazy networkmanager spawned plenty of dhcpcd clients. But I am running very old -current. Perhaps new update fixes this. Dunno.
 
Old 11-13-2021, 11:36 AM   #10
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
Quote:
Originally Posted by rsamurti View Post
When I give the command

ifconfig wlan0

I get this output:

wlan0 unassociated ESSID:"" ...
I asked for
Code:
#  iwconfig  wlan0
I don't think it is important but to be sure device is not locked
Code:
# rfkill list

Last edited by igadoter; 11-13-2021 at 11:40 AM.
 
Old 11-13-2021, 04:14 PM   #11
rsamurti
Member
 
Registered: Dec 2003
Location: Mysore
Distribution: Mandrake, Libranet, Slackware
Posts: 148

Original Poster
Rep: Reputation: 22
I am unable to send screen shot of output s of commands in the terminal as I am connected to this forum only through my cellphone.
 
Old 11-13-2021, 04:39 PM   #12
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,544

Rep: Reputation: 3388Reputation: 3388Reputation: 3388Reputation: 3388Reputation: 3388Reputation: 3388Reputation: 3388Reputation: 3388Reputation: 3388Reputation: 3388Reputation: 3388
OP, about what hardware we talk?

What model and make is your WiFi device?
I ask this because there could be a (kernel) driver issue.

BTW, I doubt that all your messing with the network stack has a usefulness, because quite probably is the driver - after all, we just switched to a LTS kernel, kernels which are famous about having issues in the initial releases.

PS. You can go USB tethering from your smartphone until you bring up your WiFi.

Last edited by LuckyCyborg; 11-14-2021 at 02:24 PM.
 
Old 11-14-2021, 03:20 PM   #13
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64- 5.15.2
Posts: 909

Rep: Reputation: 55
@LuckyCyborg @rsamurti my wifi disconnects and goes on and off sporadically like blinking after I click on the connect button on current64 too what is the command to pull up hardware profile, if forget. fyi (connects on other devices in house are stable).

@rsmauriti had same problem without direct access to forum: do you working in terminal on pc and copy to usb to connect to cellphone then copy to post (I know its a pain)
 
Old 11-14-2021, 03:53 PM   #14
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,816

Rep: Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982
Use this to find your wireless device model:
Code:
bash-5.1# lspci
Did you use slackpkg to update and applied/checked the new configs?
Code:
bash-5.1# slackpkg new-config
Quote:
n/network-scripts-15.0-noarch-17.txz: Rebuilt.
Merged changes in rc.inet1 to make it compatible with LXC containers.
Patched netconfig to ensure the proper permissions on rc.networkmanager
when NetworkManager is not chosen.
http://www.slackware.com/changelog/c...php?cpu=x86_64

Last edited by RadicalDreamer; 11-14-2021 at 03:57 PM.
 
Old 11-15-2021, 06:44 AM   #15
rsamurti
Member
 
Registered: Dec 2003
Location: Mysore
Distribution: Mandrake, Libranet, Slackware
Posts: 148

Original Poster
Rep: Reputation: 22
Please excuse all of you for sparing your time to help me. After a lot of testing I found that the WiFi adapter had become defective. After replacing this with a new Tp-Link AC600 Archer T2U Plus adapter, I had to compile the kernel module for it as per instructions given here:

https://github.com/aircrack-ng/rtl8812au

After installing the kernel module for the device RTL8821AU, now the wifi connection is working fine.

Last edited by rsamurti; 11-15-2021 at 09:44 AM.
 
4 members found this post helpful.
  


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
Error launching urxvt after latest Current updates rtomj Slackware 3 06-25-2018 05:41 PM
[SOLVED] Clevo W650sj Wifi not working with latest current iso edney Slackware 27 12-13-2017 07:06 AM
Clevo W650sj Wifi not working with latest current iso edney Zenwalk 1 12-10-2017 04:31 PM
[SOLVED] Compiler behavior on both SlackARM 14.2 SF and SlackARM current after latest updates Aug 2017 abga Slackware - ARM 12 08-29-2017 01:22 PM
Radeon DRI lost after latest updates from current 64bit veeall Slackware 5 02-12-2010 04:38 AM

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

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