How to scan for ANY OPEN WIFI? [SOLVED] - AutoAP

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page Previous  1, 2, 3 ... 88, 89, 90 ... 92, 93, 94  Next
Author Message
nn5i
DD-WRT User


Joined: 18 Jun 2010
Posts: 263
Location: Tallahassee, FL

PostPosted: Tue Apr 12, 2011 17:21    Post subject: Re: OLD setup Reply with quote
thephantom23 wrote:

I BELIEVE THIS IS WHAT I SHOULD BE DOING:

mkdir /tmp/www/cgi-bin
cp /jffs/autoap.cgi /tmp/www/cgi-bin
cp /jffs/autoap.exe /tmp/www/cgi-bin
chmod 0777 /tmp/www/cgi-bin/autoap.cgi
chmod 0777 /tmp/www/cgi-bin/autoap.exe
/jffs/autoap.sh &


Now why would you believe that? Wink

_________________
Netgear WNR834Bv2 DD-WRT build 14311 nokaid (Primary)
Linksys WTR54GSv1 DD-WRT build 14896 mini with AutoAP (x2) -- cool!
Linksys WRT54Gv2.2 DD-WRT build 14896 mini with AutoAP -- cooler!
Netgear WNR834Bv2 DD-WRT build 14896 mini with AutoAP -- also cool.
Linksys WTR54GSv1 DD-WRT build 14311 std (Client bridge for Ooma voip phone)
Linksys WAP54Gv2 DD-WRT build 14896 micro -- haven't figured out a use for it.
Sponsor
thephantom23
DD-WRT Novice


Joined: 11 Apr 2011
Posts: 7

PostPosted: Sun Apr 17, 2011 21:03    Post subject: Should have been posed as a ?! Reply with quote
I worded that rather oddly! I was posing that as a question!! ...do I need to word about the cgi gui at all??? I installed the script and it loaded ok and scans...but everything comes up just like the other script. (see above pic) I seems the spacing is off or something ..I seem to rem something about adjusting the [ ] or something???
nn5i
DD-WRT User


Joined: 18 Jun 2010
Posts: 263
Location: Tallahassee, FL

PostPosted: Sun Apr 17, 2011 23:34    Post subject: Reply with quote
Oh. No, I don't think you need to do that. I didn't do that, and I don't know enough even to know what it is. The instructions you quote a couple posts ago (which I wrote originally) work well for the WTR54GSv1 Travel Router, and just today I followed my own instructions on a WRT54Gv2.2 and (except for a small glitch at step 34) they worked on that too. On the WRT54Gv2.2 I had to add two steps between 22 and 23 to cure that glitch, as follows: 22a Save; 22b reboot in order to be able to create the script in JFFS. It's working fine on the WRT54G.

What build of DD-WRT are you using? And does the AutoAP.htm screen say "Next Gen" at the top?[/i]

_________________
Netgear WNR834Bv2 DD-WRT build 14311 nokaid (Primary)
Linksys WTR54GSv1 DD-WRT build 14896 mini with AutoAP (x2) -- cool!
Linksys WRT54Gv2.2 DD-WRT build 14896 mini with AutoAP -- cooler!
Netgear WNR834Bv2 DD-WRT build 14896 mini with AutoAP -- also cool.
Linksys WTR54GSv1 DD-WRT build 14311 std (Client bridge for Ooma voip phone)
Linksys WAP54Gv2 DD-WRT build 14896 micro -- haven't figured out a use for it.
nn5i
DD-WRT User


Joined: 18 Jun 2010
Posts: 263
Location: Tallahassee, FL

PostPosted: Sun Apr 17, 2011 23:55    Post subject: Reply with quote
OK, I just looked at your various screen shots again (had to blow them up 400% to make them readable). I'm pretty sure that the problem is the version of DD-WRT you are running. Try loading Build 14896 Mini (or other SP2 version, but I use 14896) instead of the three-year-old DD-WRT you're using, and I would bet it will work. Of course you'll have to reinstall everything. Somewhere in there the format of the site scan changed.
_________________
Netgear WNR834Bv2 DD-WRT build 14311 nokaid (Primary)
Linksys WTR54GSv1 DD-WRT build 14896 mini with AutoAP (x2) -- cool!
Linksys WRT54Gv2.2 DD-WRT build 14896 mini with AutoAP -- cooler!
Netgear WNR834Bv2 DD-WRT build 14896 mini with AutoAP -- also cool.
Linksys WTR54GSv1 DD-WRT build 14311 std (Client bridge for Ooma voip phone)
Linksys WAP54Gv2 DD-WRT build 14896 micro -- haven't figured out a use for it.
nn5i
DD-WRT User


Joined: 18 Jun 2010
Posts: 263
Location: Tallahassee, FL

PostPosted: Mon Apr 18, 2011 1:58    Post subject: Reply with quote
Just installed AutoAP on a Netgear WNR834Bv2, using same instructions, and it works like a champ. Be sure you use build 14896 mini (not micro, not STD, but mini!)
After you get it up this way, then you can try later (not earlier) builds. But the combination of 14896 Mini, AutoAP NextGen, and my instructions works on every router I've tried. No doubt there are some newer ones that won't run 14896 and will have to be experimented with.

_________________
Netgear WNR834Bv2 DD-WRT build 14311 nokaid (Primary)
Linksys WTR54GSv1 DD-WRT build 14896 mini with AutoAP (x2) -- cool!
Linksys WRT54Gv2.2 DD-WRT build 14896 mini with AutoAP -- cooler!
Netgear WNR834Bv2 DD-WRT build 14896 mini with AutoAP -- also cool.
Linksys WTR54GSv1 DD-WRT build 14311 std (Client bridge for Ooma voip phone)
Linksys WAP54Gv2 DD-WRT build 14896 micro -- haven't figured out a use for it.
Aiden1945
DD-WRT User


Joined: 06 Feb 2008
Posts: 162

PostPosted: Fri Apr 22, 2011 10:33    Post subject: Latest autoap and web interface Reply with quote
1. Is AutoAP Next Gen (2009-07-11) the latest autoap version?

2. Is there any "autoap.cgi + autoap.exe" web interface that works with this version?

3. Is there any autoap version that works with wpa?

Thanks! ;)
nn5i
DD-WRT User


Joined: 18 Jun 2010
Posts: 263
Location: Tallahassee, FL

PostPosted: Fri Apr 22, 2011 17:22    Post subject: Reply with quote
(1) I have no idea, but it's the latest I've found.

(2) I don't even know enough to understand the question.

(3) Not that I know of. If you find one, please post here.

Sorry, I know that's not much help.

_________________
Netgear WNR834Bv2 DD-WRT build 14311 nokaid (Primary)
Linksys WTR54GSv1 DD-WRT build 14896 mini with AutoAP (x2) -- cool!
Linksys WRT54Gv2.2 DD-WRT build 14896 mini with AutoAP -- cooler!
Netgear WNR834Bv2 DD-WRT build 14896 mini with AutoAP -- also cool.
Linksys WTR54GSv1 DD-WRT build 14311 std (Client bridge for Ooma voip phone)
Linksys WAP54Gv2 DD-WRT build 14896 micro -- haven't figured out a use for it.
Sully
DD-WRT Novice


Joined: 03 May 2009
Posts: 1

PostPosted: Tue May 24, 2011 6:20    Post subject: Reply with quote
Has anyone got an EOC1650 to work with the newer AutoAP?
tagbak
DD-WRT Novice


Joined: 24 May 2011
Posts: 13

PostPosted: Tue May 24, 2011 23:20    Post subject: Reply with quote
hi, I'm fairly new to DD-WRT so you may have to bare with me, but this seemed like a good thread for me to jump into!

Firstly I've managed to setup a repeater to get BTFON wifi as an 'always on' cabled setup. All worked fine, however I lost connectivity for all of the day and I now believe that it was repeating a bad channel (even though I left it working and on overnight, thinking on my return that the service was down). Took me a long time to finally get it back again, possibly it was actually down for a while as I'm sure I tried the AP that I eventually found to be working when I figured it all out ... but who knows!

Anyway I have just setup the AutoAP script .... but it appears the ping test is going to stop it from actually doing what it needs to when it comes to needing to login to the captive portal first. I've seen mention of disabling the ping and it will just auto connect, but am I right in thinking that without a validity test it's just going to end up connecting to a bad signal again?

As far as I can tell nothing is pingable when connected to BTFON/OpenWorld, however I'm wondering how hard it would be to do a port test on 8443 or check the contents of a html request and use that to decide? does anything like this exist?

Also while im at it, is there anything that will get the router to actually login to FON for you as well? I've been digging a fair bit but couldn't find anything that I could make sense of.

Cheers,
jamie
nn5i
DD-WRT User


Joined: 18 Jun 2010
Posts: 263
Location: Tallahassee, FL

PostPosted: Tue May 24, 2011 23:57    Post subject: Reply with quote
Turning off the ping with nvram set autoap_watchinet=0 will let it connect to a weak signal, just as you say, but it will always connect to the one with the best SNR, anyway. By setting rescandelay, you can set how often it drops everything and looks for a new signal, so it won't go all day repeating noise the way you said it did. Disadvantage: when rescandelay expires it does indeed drop everything, and you'll be offline for several tens of seconds even if it reconnects to the same strong AP it was on before.

I don't know of a way to make it log on to anything, but you could set your AP to some strange out-of-the-way IP, say 10.20.30.40, and tell it to ping that instead of Google. Then it would log onto your AP and nothing else.

_________________
Netgear WNR834Bv2 DD-WRT build 14311 nokaid (Primary)
Linksys WTR54GSv1 DD-WRT build 14896 mini with AutoAP (x2) -- cool!
Linksys WRT54Gv2.2 DD-WRT build 14896 mini with AutoAP -- cooler!
Netgear WNR834Bv2 DD-WRT build 14896 mini with AutoAP -- also cool.
Linksys WTR54GSv1 DD-WRT build 14311 std (Client bridge for Ooma voip phone)
Linksys WAP54Gv2 DD-WRT build 14896 micro -- haven't figured out a use for it.
nn5i
DD-WRT User


Joined: 18 Jun 2010
Posts: 263
Location: Tallahassee, FL

PostPosted: Wed May 25, 2011 1:23    Post subject: Reply with quote
As I said, I don't know how to make it log on to FON, whatever that is, but the AutoAP script is available in several places including this thread, and if you understand that stuff (I don't) you could add new code to make it do what you want. Me, if it ain't one of ten or twenty kinds of assembler, I don't understand it.
_________________
Netgear WNR834Bv2 DD-WRT build 14311 nokaid (Primary)
Linksys WTR54GSv1 DD-WRT build 14896 mini with AutoAP (x2) -- cool!
Linksys WRT54Gv2.2 DD-WRT build 14896 mini with AutoAP -- cooler!
Netgear WNR834Bv2 DD-WRT build 14896 mini with AutoAP -- also cool.
Linksys WTR54GSv1 DD-WRT build 14311 std (Client bridge for Ooma voip phone)
Linksys WAP54Gv2 DD-WRT build 14896 micro -- haven't figured out a use for it.
tagbak
DD-WRT Novice


Joined: 24 May 2011
Posts: 13

PostPosted: Wed May 25, 2011 1:50    Post subject: Reply with quote
Thanks for the responses. To be honest it would be more learning that I have time for to be able to edit the scripts myself.

BTFON as in BT/fonera's free wifi that is broadcast from residential and commercial locations throughout the UK ... just requires login to the captive portal for unlimited free access for FON members.

I've been watching the AutoAP logs over the last few hours and once logged in the ping test does work and I've seen it switch to a better AP ... I can only presume the login session expires after a certain length of time as it seems persistent between AP's and there should of been constant enough activity to keep the session alive when it died on me.

I will see how it runs as-is for a day or two, perhaps if AutoAP manages to keep me connected then I can deal with the auto login using some .net screen scrapping from my PC itself.
nn5i
DD-WRT User


Joined: 18 Jun 2010
Posts: 263
Location: Tallahassee, FL

PostPosted: Wed May 25, 2011 2:29    Post subject: Reply with quote
Super. If it's not inconvenient, I'm sure I'm not the only person who would like to know how it functions for you, and to read your observations.
_________________
Netgear WNR834Bv2 DD-WRT build 14311 nokaid (Primary)
Linksys WTR54GSv1 DD-WRT build 14896 mini with AutoAP (x2) -- cool!
Linksys WRT54Gv2.2 DD-WRT build 14896 mini with AutoAP -- cooler!
Netgear WNR834Bv2 DD-WRT build 14896 mini with AutoAP -- also cool.
Linksys WTR54GSv1 DD-WRT build 14311 std (Client bridge for Ooma voip phone)
Linksys WAP54Gv2 DD-WRT build 14896 micro -- haven't figured out a use for it.
tagbak
DD-WRT Novice


Joined: 24 May 2011
Posts: 13

PostPosted: Wed May 25, 2011 10:12    Post subject: Reply with quote
nn5i wrote:
Super. If it's not inconvenient, I'm sure I'm not the only person who would like to know how it functions for you, and to read your observations.


ok well disabling the ping test just seems to send it in an endless loop of switching even though it was connecting fine.

I also found that with the ping test on and when the captive portal session times out (ie. no more pings), it again goes into the endless loop of switching and the only way out of these loops is by clearing the startup script; rebooting the router; getting a new active session going and then I can re-enable AutoAP.

I've also had a look at the code and figure since the captive portal is always returned that it just needs a alternative test to check a w_get response ... BUT that script is a well beyond my Microsoft based skill set ... don't know if anyone would be willing to hack the script for me? or failing that if offer up some working code examples and I will have a go at patching something together, but I don't really have any environment to learn/test in to be able to work it out from scratch.

very handy script though, since using it i can quite happily say I've seen double the performance out of my rather slow connection Smile
nn5i
DD-WRT User


Joined: 18 Jun 2010
Posts: 263
Location: Tallahassee, FL

PostPosted: Wed May 25, 2011 11:05    Post subject: Reply with quote
Interesting. Routers being cheap on eBay, I keep two AutoAP systems in my motor home: one with ping on, for times when I am in reach of a system, say at a motel, which does not require logging on; and one with ping off, for times when I am in reach of a system that does require logging on. Each works well, and I don't experience anything I would call an "endless loop of switching", although I'm not quite certain what you mean by that. Perhaps you have rescandelay set too short?
_________________
Netgear WNR834Bv2 DD-WRT build 14311 nokaid (Primary)
Linksys WTR54GSv1 DD-WRT build 14896 mini with AutoAP (x2) -- cool!
Linksys WRT54Gv2.2 DD-WRT build 14896 mini with AutoAP -- cooler!
Netgear WNR834Bv2 DD-WRT build 14896 mini with AutoAP -- also cool.
Linksys WTR54GSv1 DD-WRT build 14311 std (Client bridge for Ooma voip phone)
Linksys WAP54Gv2 DD-WRT build 14896 micro -- haven't figured out a use for it.
Goto page Previous  1, 2, 3 ... 88, 89, 90 ... 92, 93, 94  Next Display posts from previous:    Page 89 of 94
Post new topic   Reply to topic    DD-WRT 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