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.
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
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.
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.
Distribution: VM Host: Slackware-current, VM Guests: Artix, Venom, antiX, Gentoo, FreeBSD, OpenBSD, OpenIndiana
Posts: 1,008
Rep:
Quote:
Originally Posted by business_kid
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.