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-01-2023, 07:46 AM   #1
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,325

Rep: Reputation: 2330Reputation: 2330Reputation: 2330Reputation: 2330Reputation: 2330Reputation: 2330Reputation: 2330Reputation: 2330Reputation: 2330Reputation: 2330Reputation: 2330
Online, but with a wifi problem


The first time I ran iwlist, I got results. Every other time:
Code:
dec@Ebony:~$sudo iwlist wlan4 scan |grep Frequency
wlan4     Failed to read scan data : Resource temporarily unavailable
What's that about? And where is it even looking so I can look there myself and sort this out?
 
Old 11-01-2023, 02:18 PM   #2
yvesjv
Member
 
Registered: Sep 2015
Location: Australia
Distribution: Slackware, Devuan, Freebsd
Posts: 567

Rep: Reputation: Disabled
dmesg is usually a good start to investigate
 
Old 11-01-2023, 03:04 PM   #3
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,325

Original Poster
Rep: Reputation: 2330Reputation: 2330Reputation: 2330Reputation: 2330Reputation: 2330Reputation: 2330Reputation: 2330Reputation: 2330Reputation: 2330Reputation: 2330Reputation: 2330
Quote:
Originally Posted by yvesjv View Post
dmesg is usually a good start to investigate
Yes it usually is.... all 1,053 lines of it. But I didn't find anything out of the ordinary.

I was thinking iwlist was reading some file 11 directories deep in /proc or /sys. The only thing I found was /proc/net/wireless, which is very basic.
 
Old 11-01-2023, 03:31 PM   #4
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,372

Rep: Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088
Sometimes "iwlist" is not compatible with some hardware

maybe you can try
Code:
$ sudo iw dev wlan4 scan
 
Old 11-02-2023, 08:36 AM   #5
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,325

Original Poster
Rep: Reputation: 2330Reputation: 2330Reputation: 2330Reputation: 2330Reputation: 2330Reputation: 2330Reputation: 2330Reputation: 2330Reputation: 2330Reputation: 2330Reputation: 2330
Quote:
Originally Posted by marav View Post
Sometimes "iwlist" is not compatible with some hardware

maybe you can try
Code:
$ sudo iw dev wlan4 scan
Thanks for your ideas. Sorry to be shooting them down, but the 'iw dev wlan4 scan'
returns a list of device capabilities like iw list. As for the hardware
Code:
dec@Ebony:~$sudo lspci |grep Atheros
05:00.0 Network controller: Qualcomm Atheros AR9462 Wireless Network Adapter (rev 01)
That's exactly the same wifi chip as lives in my elderly laptop (also on Slackware-15.0) and the laptop works just fine, and does a channel scan. The working one is an onboard chip, the not-scanning one is pcie card.

As the error shows "Failed to read scan data," I tried 'iwlist wlan4 scan >iwlist.txt.' But that gave me a null file.

Being basically a 'fixer' of some form all my working life, the gremlins that want to cause me trouble have to rise to the challenge. They do, unfortunately, so I rarely post simple problems.
 
Old 11-02-2023, 08:48 AM   #6
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,372

Rep: Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088Reputation: 4088
Quote:
Originally Posted by business_kid View Post
so I rarely post simple problems.
It's always a good idea to consider all possible solutions

The matrix :
simple problem => simple solution
complex problem => complex solution

is rarely true

You don't know how many times the simplest solution has solved my problem, regardless of complexity ;-)
 
Old 11-02-2023, 10:37 AM   #7
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,325

Original Poster
Rep: Reputation: 2330Reputation: 2330Reputation: 2330Reputation: 2330Reputation: 2330Reputation: 2330Reputation: 2330Reputation: 2330Reputation: 2330Reputation: 2330Reputation: 2330
Quote:
Originally Posted by marav
You don't know how many times the simplest solution has solved my problem, regardless of complexity ;-)
And the simple solution to this one is...?. Don't worry - I didn't have it either!

The wifi must cycle through every available 2.4G & 5G channel (Other frequency bands and channels are disabled) and get details from every SSID within range. It's returning no information, (= "Unable to read.....") but my old laptop on the same chip, driver & kernel reads with no problem.

So I tried with a Liveslak usb key holding Slackware64-current. That was unable to read the scan data from my box. Then, being thorough, I plugged Liveslak into my elderly laptop, and it listed the stations.

So it's a hardware issue, perhaps my pcie card not seated right or some other issue. It's certainly not the first thing I would have thought of. I was condemning myself as a 'Sorcerer's Apprentice' type of sysadmin, which is the usual story.
 
Old 11-02-2023, 09:07 PM   #8
trollog
Member
 
Registered: Oct 2014
Posts: 151

Rep: Reputation: Disabled
man rfkill
 
Old 11-03-2023, 06:25 AM   #9
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,325

Original Poster
Rep: Reputation: 2330Reputation: 2330Reputation: 2330Reputation: 2330Reputation: 2330Reputation: 2330Reputation: 2330Reputation: 2330Reputation: 2330Reputation: 2330Reputation: 2330
Quote:
Originally Posted by trollog View Post
man rfkill
That tells me I'm not hardware or software blocked, but still no list
 
Old 11-03-2023, 08:02 AM   #10
Aeterna
Senior Member
 
Registered: Aug 2017
Location: Terra Mater
Distribution: VM Host: Slackware-current, VM Guests: Artix, Venom, antiX, Gentoo, FreeBSD, OpenBSD, OpenIndiana
Posts: 1,008

Rep: Reputation: Disabled
Quote:
Originally Posted by business_kid View Post
Yes it usually is.... all 1,053 lines of it. But I didn't find anything out of the ordinary.

I was thinking iwlist was reading some file 11 directories deep in /proc or /sys. The only thing I found was /proc/net/wireless, which is very basic.
Maybe try while scanning:

Quote:
dmesg|grep ath
and
Quote:
dmesg|tail
You may be to close to AP, or have some sort interference with ethernet card (assuming that you have one)
Ath drivers, if this is something new, check out older version that worked before or whatever newest/experimental.
 
Old 11-03-2023, 11:33 AM   #11
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,325

Original Poster
Rep: Reputation: 2330Reputation: 2330Reputation: 2330Reputation: 2330Reputation: 2330Reputation: 2330Reputation: 2330Reputation: 2330Reputation: 2330Reputation: 2330Reputation: 2330
That box is in for a compulsory pit stop. We'll have to pause this, and see what comes out the other end. Thanks for your thoughts.
 
  


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
Wifi option is there but no wifi scanning or wifi not working Aakash447 Linux - Newbie 3 06-28-2018 11:48 PM

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

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