How to scan for ANY OPEN WIFI? SOLVED!!! - AutoAP

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware
Goto page Previous  1, 2, 3, ... 99, 100, 101  Next
Author Message
JohnnyPrimus
DD-WRT User


Joined: 26 Oct 2006
Posts: 374

PostPosted: Thu Nov 02, 2006 2:19    Post subject: Reply with quote
I looked at this a bit more last night and came up with the following one-liner:

wl scan && wl scanresults | grep Capability | grep -v WEP | awk {'print $2'} > /tmp/1 && while read x;do sleep 1 && wl scan -b "$x" && wl scanresults;done < /tmp/1

that should display info, including rssi, for all non-wep open APs. It's currently a bit flakey (doesn't always return what's expected. occasionally it will return full scan results, even though we just scanned a single BSSID), I haven't yet figured out why this is happening. If I can get it to play nicely, and be stable, then it will be easy to return the ssid of the strongest open signal. After that its just a matter of associating with that AP via 'wl'.

Can anyone with experience scripting wl tell me why this isn't working as expected?
Sponsor
Cool Dude
DD-WRT User


Joined: 12 Aug 2006
Posts: 136

PostPosted: Thu Nov 02, 2006 6:11    Post subject: Reply with quote
Sad

Last edited by Cool Dude on Wed Nov 15, 2006 7:52; edited 1 time in total
Cool Dude
DD-WRT User


Joined: 12 Aug 2006
Posts: 136

PostPosted: Thu Nov 02, 2006 16:17    Post subject: Reply with quote
Sad

Last edited by Cool Dude on Wed Nov 15, 2006 7:52; edited 1 time in total
Cool Dude
DD-WRT User


Joined: 12 Aug 2006
Posts: 136

PostPosted: Fri Nov 03, 2006 17:57    Post subject: Reply with quote
Sad

Last edited by Cool Dude on Wed Nov 15, 2006 7:52; edited 1 time in total
Seth7
DD-WRT Guru


Joined: 16 Aug 2006
Posts: 670
Location: DN17IQ

PostPosted: Fri Nov 03, 2006 18:10    Post subject: Reply with quote
im watching this too
_________________
WRT54G,GS v1.1, V2, V3 V4, V5
WR850G V2, V3
Fonera 2100
nerys
DD-WRT Novice


Joined: 04 Nov 2006
Posts: 12

PostPosted: Sat Nov 04, 2006 3:09    Post subject: Reply with quote
Ok Excuse my extreme noobness but this FASCINATES me

I want to make sure I understand this properly. What your wanting to do is REVERSE the wifi on the router. instead of the router feeding its wired internet to users over wifi you want to DERIVE that internet INBOUND from the wireless ?? like conecting one router to another ?

I assume if you also want local lan wifi this means 2 routers ? (do I have my ideas straight so far ?)

OK this fascinates me because we do a lot of camping. I want to BUY wifi access (yearly its not too bad) since it works at most of the campgrounds we use.

My idea is this. the wifi is restricted to one mac address I want that mac address to be a router. that router would be visible to the paid wifi service. I link that router to another router that is configured normally.

Now I can jack in as many machines as I want into the normal router as usually and get the the internet that the 1st router is connected to.

DO I have that right ? That would be awesome! I plan to build at least 2 computers into the camper and 2 sometimes 3 of us have laptops - I plan to network everything anyway for multiplayer and content streaming. being able to access the internet on any of the machines would be REALLY nice :-) I could even see mounting a tablet computer (old fijitsu 233mhz) by the door with live satellite radar and weather info etc.

Would this allow me to do this ?

Thanks
Chris Taylor
http://www.nerys.com/
Eko
DD-WRT Developer/Maintainer


Joined: 07 Jun 2006
Posts: 5772

PostPosted: Sat Nov 04, 2006 6:18    Post subject: Reply with quote
nerys wrote:
Ok Excuse my extreme noobness but this FASCINATES me
.....

Would this allow me to do this ?


It's called client mode.... dd-wrt supports this since v0
nerys
DD-WRT Novice


Joined: 04 Nov 2006
Posts: 12

PostPosted: Sat Nov 04, 2006 8:49    Post subject: Reply with quote
nono I mean the combination of all of this. IE auto finding and connecting to wifi locations automatically finding the open ones etc..

is that possible ?

Chris Taylor
http://www.nerys.com/
JohnnyPrimus
DD-WRT User


Joined: 26 Oct 2006
Posts: 374

PostPosted: Sat Nov 04, 2006 13:22    Post subject: Reply with quote
chuck: do you have an sd card? or a writable jffs dir? if so i can definitely bang out a solution for you. been busy lately, ill look into scripting this for stock firmware as well. (jffs or mmc would enable you to grab microperl, which would make this a breeze)
Cool Dude
DD-WRT User


Joined: 12 Aug 2006
Posts: 136

PostPosted: Sat Nov 04, 2006 21:23    Post subject: Reply with quote
Sad

Last edited by Cool Dude on Wed Nov 15, 2006 7:53; edited 5 times in total
Cool Dude
DD-WRT User


Joined: 12 Aug 2006
Posts: 136

PostPosted: Sat Nov 04, 2006 21:42    Post subject: Reply with quote
Sad

Last edited by Cool Dude on Wed Nov 15, 2006 7:53; edited 1 time in total
Seth7
DD-WRT Guru


Joined: 16 Aug 2006
Posts: 670
Location: DN17IQ

PostPosted: Sun Nov 05, 2006 8:04    Post subject: Reply with quote
Chuck

Id like several files hosted...

Mostly for the Motorola WR850G routers...

i have pulled wholeflash,cfe,nvram and kernel off of the V2 and V3 of these and would like to make them available to download ... with out registering ... and would like to make a link to them in the Wiki under the WR850G debricking.

_________________
WRT54G,GS v1.1, V2, V3 V4, V5
WR850G V2, V3
Fonera 2100
Cool Dude
DD-WRT User


Joined: 12 Aug 2006
Posts: 136

PostPosted: Sun Nov 05, 2006 8:58    Post subject: Reply with quote
Sad

Last edited by Cool Dude on Wed Nov 15, 2006 7:53; edited 1 time in total
Cool Dude
DD-WRT User


Joined: 12 Aug 2006
Posts: 136

PostPosted: Tue Nov 07, 2006 5:54    Post subject: Reply with quote
Sad

Last edited by Cool Dude on Wed Nov 15, 2006 7:54; edited 1 time in total
singo
DD-WRT User


Joined: 04 Aug 2006
Posts: 166
Location: Japan

PostPosted: Tue Nov 07, 2006 14:50    Post subject: Reply with quote
so can my WRT54GS V4 DD-WRT v23 SP2 see other WiFi AP or Client on the area?
I know WiFi PCI card client can does this.....but WiFi AP?
In the DD-WRT menu no options else for this......

Thanks

_________________
シンゴ
Goto page Previous  1, 2, 3, ... 99, 100, 101  Next Display posts from previous:    Page 2 of 101
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum