LinuxQuestions.org
Review your favorite Linux distribution.
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 03-26-2014, 10:43 AM   #1
Mintswitch
LQ Newbie
 
Registered: Mar 2014
Posts: 1

Rep: Reputation: Disabled
How to send periodic directed probe requests?


Hello,

I am stumped. I am working on a project where we need our product to send out periodic directed probe requests. I don't know much about programming, but am somewhat familiar with Linux.

Our device uses Linux version is 2.6.24-rt1-hi3520v100 and our Wireless card is an Atheros AR9223

Here is the current behavior of our device:
1.) If it doesn't have an active wireless connection, it will keep sending out both directed and broadcast probes until it's associated with an AP.
2.) Once it's fully associated it goes completely silent.

What I need is to have our device periodically (about every 90 secs.) send out a directed probe request for whatever the current SSID is (similar to what my laptop or phone does... they seem to send a directed probe about every 90 seconds). From what I have researched I can't seem to find anything that relates to a config setting that will allow what I need.

I was thinking of just having the device do an "iwlist ath0 scan" every 90 seconds once it's associated with an AP, but "iwlist scan" sends broadcast probes and I only want directed ones.

Is there possibly a module that exists that I can install to enable this feature?

Here is the command that the device runs for the WPA supplicant if that is relevant or helps at all:

wpa_supplicant -i ath0 -D wext -c /etc/wpa_supplicant.conf

Any ideas on how I can achieve this? Thanks!
 
Old 03-31-2014, 06:47 PM   #2
cin_
Member
 
Registered: Dec 2010
Posts: 281

Rep: Reputation: 24
iwlist and aircrack-ng

it seems that if you
Code:
# iwlist DEVICE scan
as a user you only probe the connected AP, or at least stdout only shows the connected AP, and if you are running it as root it probes all APs

also, have you looked into the aircrack-ng suite?
http://www.aircrack-ng.org/doku.php?id=Main

i think airbase-ng does directed probes..?
http://www.aircrack-ng.org/doku.php?id=airbase-ng

Last edited by cin_; 03-31-2014 at 07:01 PM. Reason: gramm`err
 
  


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
Using squid as a proxy to send requests on to a pptp vpn link DraK404 Linux - Networking 2 04-16-2013 07:54 PM
how to send a probe request though WLA0? fantgreat Linux - Networking 3 03-30-2012 10:33 AM
Why am always directed to a failsafe console? street_scientist Linux - Newbie 8 05-13-2008 12:38 AM
Where is my webcam directed? abuntu-handicapped Linux - Software 3 08-16-2007 09:54 PM
Can't get printk output directed to console xuanadoo Linux - Newbie 0 11-07-2006 08:40 PM

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

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