![]() |
Re: An app to automatically grab open wifi?
Maybe there's an error in the instruction on line 31 of the code? (count how many lines down). Maybe the internet tablets don't support the protocal or something is missing? I see it needs wireless tools.
|
Re: An app to automatically grab open wifi?
Suggest you look at the DD-WRT script "autoAP". This may give you some ideas.
From the wiki "AutoAP is a script that continuously scans for open Wi-Fi connections, tests them for validity, and connects to the strongest signal. If the connection is lost, the script scans again and finds the strongest valid signal again, and maintains a continuous connection to the internet in a mobile or portable environment. The script paremeters are highly configurable, including ability to configure secure connections. " Parameters include: Filters to avoid logging onto specific SSIDs Filters giving preferential logging onto specific SSIDs, including encyption key values Script can also verify that successful wifi connection also allows internet access. I would love to see something like this adapted to run on the Nokia tablets. See http://www.dd-wrt.com/wiki/index.php/Autoap and http://www.dd-wrt.com/phpBB2/viewtopic.php?t=6575 |
Re: An app to automatically grab open wifi?
See, I looked at AutoAP...It's not the same kind of 'script' in the sense that the code is just there and easy to look at...At least not for me. The script uses the router interface / commands and wouldn't be easy to port to the N810, at least not that specific script. The best thing to use is a bash / sh based script that takes advantage of wireless-tools. I was working with a friend earlier who's more experienced with scripting in bash to work out the bugs in that script I posted- It seems to be our best bet. I wish I had more experience in this sort of stuff. I'm going to resume work on it when I return in a few days. Until then, if anyone wants to take a whack at running/debugging it on the N810, xterm, chmod 777 the file (copy and paste the script in notepad, save it as something.sh, copy it over), and run it in root. Have fun :P
|
Re: An app to automatically grab open wifi?
To bad it's not like the old dlink/linksys and windows where you can just put in ssid "ANY" all CAPS and it will auto connect to any open access point .
Maybe it works the same way i did not test it on linux or n810 .. Computerfreek274 |
Re: An app to automatically grab open wifi?
Hello,
I'm new around here and also in need of a script of this kind. I took the previously posted script and adapted it a bit to my needs. This sort of works for me on an n810. It chooses the strongest AP and connects to it. Sadly, even if the connection can be established, I can't get the tablet to switch to a "connected" state, so for now one has to manually reconnect with the statusbar applet if the connection via this script worked. I'd be very grateful if anybody adds improvements. Especially the parsing code is quite slow. Lateron I also want to add the possibility to manually choose the AP to connect to. But the biggest problem for now is the unability to get the tablet connected and "online" on the commandline. Code:
#!/bin/bash |
Re: An app to automatically grab open wifi?
Forgot to add, this runs with sh:
sh /path/toscript bash is not needed. Bye |
All times are GMT. The time now is 22:54. |
vBulletin® Version 3.8.8