LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-02-2007, 06:10 AM   #1
bmartin
LQ Newbie
 
Registered: Apr 2007
Posts: 8

Rep: Reputation: 0
Generic "Your radio is off" detection


I'm writing software to download/compile/install WiFi drivers automatically, based on a user's PCI IDs. I'd like to add some functionality for troubleshooting why a connection doesn't work.

Is there a command to detect that the wireless radio is disabled on a WiFi device? Should I simply run sudo iwlist scanning and inform the user that their radio might be off when it says "no scan results"? I have both BASH and Python at my disposal.
 
Old 10-02-2007, 06:23 AM   #2
Nick_Battle
Member
 
Registered: Dec 2006
Location: Bracknell, UK
Distribution: SUSE 13.1
Posts: 159

Rep: Reputation: 33
Doesn't iwconfig explicitly say the "radio is off"?

-nick
 
Old 10-02-2007, 07:34 AM   #3
bmartin
LQ Newbie
 
Registered: Apr 2007
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Nick_Battle View Post
Doesn't iwconfig explicitly say the "radio is off"?
Sometimes, but not always. I haven't tested it on my girlfriend's laptop, but on mine, if the radio is off, I can't find an explicit indication. For me, I have a push-button kill switch. I know there are other switches, such as keyboard combinations and sliding switches, and even toggle switches. Aren't there software switches, too?

I'm looking for the full gamut here. I want to be an expert in POSIX wireless. It's a big pain. There's a lot to learn. This seems to be the most applicable question at hand, though; many people get stuck after their device is detected.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Disabling hardware detection of "reboot" and "power" buttons Sabinou Linux - General 3 08-21-2006 07:03 PM
xmlbeans and "special" generic types jwstric2 Programming 0 05-18-2006 01:30 PM
Generic error "cannot fetch general purpose registers for thread, no such process"? kranti Programming 0 10-22-2005 06:18 AM
NVidia GeForce 4 on Mandrake 10.1 shows "Generic" module... SAFX Mandriva 12 10-16-2004 12:36 PM
where can i find a "VESA driver(generic)" drive rutins or something like lillen Linux - Software 7 02-24-2004 12:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:48 AM.

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