Posted: Tue Oct 31, 2006 3:57 Post subject: How to scan for ANY OPEN WIFI? SOLVED!!! - AutoAP
To create a script that would have intelligence and run in a loop inside dd-wrt and continuously scan for open wifi connections, test them for validity, and connect to the strongest signal... If the connection is lost, the device will scan again and find the strongest valid signal again, maintaining a continuous connection to the internet in a mobile or portable environment... Certain mac addresses and ssid's need to be capable of being excluded.....
THIS HAS BEEN ACCOMPLISHED!!! and it is actually very simple to implement for users on all levels...
If you are just finding this thread, you will be glad to hear that this has been accomplished by a custom firmware developed by JohnnyPrimus, which utilizes V23_SP2_NOKAID_GENERIC and has a script embedded in it that is a pure stroke of genius by JohnnyPrimus.....
The complete downloads of the custom firmware and the tutorial on how to make it work, along with a configuration file already set to drop in and plug and play, are on page 6 of this thread...
Last edited by Cool Dude on Thu Nov 16, 2006 2:07; edited 4 times in total
Posted: Tue Oct 31, 2006 17:31 Post subject: How to scan for any open Wi-Fi.
Spent a bit of time bug fixing tonight, the latest version should not only alleviate all bugs mentioned so far, but should also show you a lot more than you've been seeing. I tested this moving around my apt. complex and it worked quite well.
To run the script, just log in via ssh and type 'autoap'. It'll work a lot better than it has previous runs. The only output you'll see on the screen is the open networks found. To view the full log output, point your web browser at http://10.0.0.1/autoap.html (replacing 10.0.0.1 with your own routers IP...obviously). The log will auto refresh every five seconds.
The script will no longer disconnect or start a new scan if the current SSID is functioning well. This will save from frequent disconnects.
:arrow:To have this launch at boot and continue running, just add '/bin/autoap' to your rc_startup.
Joined: 06 Jun 2006 Posts: 6536 Location: Dresden, Germany
Posted: Wed Nov 01, 2006 3:12 Post subject: Re: How to scan for ANY OPEN WIFI?
Chuck D wrote:
Does anyone know how I can make dd-wrt scan for multiple ssid's, such as NETGEAR, linksys, ACTIONTEC, default, etc... and connect to the strongest signal? Or how do I make it scan for ANY "open" wifi and connect to it?
The WGA54G game adapter does this, and I am sure it can be done with a script in dd-wrt, but I have alot of reading to do to be able to pull that off... The WGA54G will switch access points on you and there is no way to disable that feature.. It can be problematic, but I can see positive uses for the feature also, BIG TIME!! The WGA54G is the weakest piece of junk I have ever tested though, and there is no external antenna connector.. But I do find the fact that it scans for open wifi and auto-connects very intruiging and I am on a quest to get the same function out of dd-wrt....
I was hoping one of you could point me in the right direction...
will let you do this (in client mode for sure) _________________ one cigarette costs 2 minutes of your life.
one bottle of beer costs 4 minutes of your life.
one working day costs 8 hours of your life.
Linux DD-WRT 4.9.13 #17 SMP PREEMPT Wed Mar 8 00:16:54 CET 2017 armv7l DD-WRT
root@DD-WRT:/sys# nvram get DD_BOARD
Netgear Nighthawk X10
I'd assume he meant leave the SSID blank, and it will auto connect to the nearest available, open, strong signal.
Chuck D: I certainly didn't mean any offense, forgive me for assuming the worst, I guess I've fielded too many questions regarding pirating internet. As such, I didn't even read your question carefully enough to give you the answer you sought. Sorry.
Last edited by JohnnyPrimus on Wed Nov 01, 2006 6:31; edited 1 time in total