LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 02-17-2010, 06:25 AM   #1
shibeaux
LQ Newbie
 
Registered: Nov 2008
Posts: 24

Rep: Reputation: 15
Wireless Tools doesn't refresh APs properly


Hi everybody!

I need to monitorize which Wi-Fi APs are in coverage, so periodically I perform a scan whith "sudo iwlist ath0 scan". The problem appears when disconnecting an AP (from the electrical network). In this case, iwconfig shows the disconnected AP during 30-40 seconds after the disconnection.

I'm trying to figure out how to order the kernel to actually refresh the list of in coverage APs, and avoid to show nets that were in coverage but aren't now.

Hope you can help me!
 
Old 02-18-2010, 02:46 PM   #2
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
Quote:
Originally Posted by shibeaux View Post
Hi everybody!

I need to monitorize which Wi-Fi APs are in coverage, so periodically I perform a scan whith "sudo iwlist ath0 scan". The problem appears when disconnecting an AP (from the electrical network). In this case, iwconfig shows the disconnected AP during 30-40 seconds after the disconnection.

I'm trying to figure out how to order the kernel to actually refresh the list of in coverage APs, and avoid to show nets that were in coverage but aren't now.

Hope you can help me!
Does iwconfig show the disconnected AP during 30-40 seconds after the disconnection or iwlist?
 
Old 02-22-2010, 06:07 AM   #3
shibeaux
LQ Newbie
 
Registered: Nov 2008
Posts: 24

Original Poster
Rep: Reputation: 15
Sorry, I wrote iwconfig instead of iwlist.

The problem could be related to some driver cache that stores the list of APs in coverage, but i'm unable to figure out how to refresh it.

Any ideas?
 
  


Reply

Tags
ap, delay, iwconfig



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
[SOLVED] xorg doesn't set refresh rate properly lord_didger Linux - Hardware 9 01-14-2008 08:47 PM
Wireless networks w/ multiple APs bingo Slackware 1 07-17-2007 10:07 PM
How can I view wireless APs and connect to one? Brnzwngs Linux - Wireless Networking 1 07-26-2005 08:40 AM
wireless works in XP, finds no APs in linux lutece Linux - Wireless Networking 4 05-16-2005 07:01 AM
module-init-tools refuses to install properly positiveinflux Linux - Software 23 05-17-2004 04:42 PM

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

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