Go Back   Wireless and Wifi Forums > News > Newsgroups > alt.internet.wireless
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-18-2007, 08:26 AM
Jeff Liebermann
Guest
 
Posts: n/a
Default dd-wrt wl site_survey

This is for the users of DD-WRT in this group.

In the latest (07/13/2007) release of v23 SP3 of DD-WRT, Brainslayer
has removed a huge number of wl command options including some that
I've used in previous examples and utilities. At this time, the
workaround is not documented in the Wiki.

In the past, I did a site survey with:
wl ap 0 (Turn off access point)
wl scan (scan for access points)
(wait about 10 seconds)
wl scanresults (display results)
wl ap 1 (turn on access point)

That no longer works. The scan and scanresults commands have been
vaporized to gain much needed RAM. Fortunately, the script
"site_survey" does the same thing with much neater output.
Here's my results for my home router:

# site_survey
buflen=[792] version=[107] count=[6]
| [ 0] SSID[ moo] BSSID[00:13:10:EA:0B:97] channel[ 6] rssi[-89] noise[-94] beacon[100] cap[401] dtim[0] rate[12] enc[Open]
| [ 1] SSID[ linksys] BSSID[00:0F:66:E2:F7:09] channel[ 6] rssi[-88] noise[-99] beacon[100] cap[1] dtim[0] rate[12] enc[Open]
| [ 2] SSID[ 2WIRE934] BSSID[00:12:88:D9:84:B9] channel[ 6] rssi[-81] noise[-99] beacon[100] cap[431] dtim[0] rate[12] enc[WEP]
| [ 3] SSID[ 2WIRE549] BSSID[00:0D:72:D3:9B:D1] channel[ 6] rssi[-78] noise[-94] beacon[100] cap[471] dtim[0] rate[13] enc[WEP]
| [ 4] SSID[ 2WIRE073] BSSID[00:14:95:08:42:41] channel[ 6] rssi[-86] noise[-99] beacon[100] cap[431] dtim[0] rate[12] enc[WEP]
| [ 5] SSID[ linksys] BSSID[00:13:10:05:48:77] channel[ 6] rssi[-93] noise[-99] beacon[100] cap[401] dtim[0] rate[12] enc[Open]

struct site_survey_list
{
uint8 SSID[32];
unsigned char BSSID[18];
uint8 channel; /* Channel no. */
int16 RSSI; /* receive signal strength (in dBm) */
int16 phy_noise; /* noise (in dBm) */
uint16 beacon_period; /* units are Kusec */
uint16 capability; /* Capability information */
unsigned char ENCINFO[32]; /* encryption info */
uint rate_count; /* # rates in this set */
uint8 dtim_period; /* DTIM period */
} site_survey_lists[SITE_SURVEY_NUM];

The chars use 2 bytes because of word alignment I guess. At the end
the record is padded with zero's, which makes the whole record 100
bytes in size, thus the site_survey log is 5000 bytes exactly.


--
Jeff Liebermann jeffl@cruzio.com
150 Felker St #D http://www.LearnByDestroying.com
Santa Cruz CA 95060 http://802.11junk.com
Skype: JeffLiebermann AE6KS 831-336-2558

Reply With Quote
Reply


Thread Tools
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:25 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45