Notices


Reply
Thread Tools
Posts: 118 | Thanked: 59 times | Joined on May 2007
#1
To expand on the subject line, I am searching for something like Devicescape (aka Easy Wi-fi) to handle automatic login to wireless networks.

I only need it for one of the wireless networks I use, which is located at my workplace. It's a typical (I think) public network with controlled access. The N900 can connect to the network automatically, but it cannot receive or send traffic until it attempts to load a web URL. It is then redirected to the network login page, where it is necessary to input username and password in the appropriate fields and press a button.

In other words, my N900 automatically switches from cellular to the wifi network when I arrive at work, but until I try to use the web browser I am offline. I need something that will automatically log me in as soon as the connection is established.

Could Conler do this? As far as I can tell, it's not available for Maemo 5, so the question is probably moot.

I found an intriguing post from last year on much the same topic. But what I don't know and haven't found after some Googling is whether a Bash script can be made to feed input to different fields on a web page.

Any advice on these or other solutions to the problem would be welcome and appreciated.
 
Posts: 3,841 | Thanked: 1,079 times | Joined on Nov 2006
#2
It should be possible to make a little application that can do this for us. Fetch some samples of the login sequence with the firefox extension Live HTTP Headers and/or something else, then write an application using e.g. libcurl, add something which lets you configure it on a per-network basis, add something else that automatically runs the application on a per-network basis (and the post you linked to could help), and you're done.

Now the minor part: Write the application!
__________________
N800/OS2007|N900/Maemo5
-- Metalayer-crawler delenda est.
-- Current state: Fed up with everything MeeGo.

Last edited by TA-t3; 2010-02-02 at 15:18.
 
Posts: 118 | Thanked: 59 times | Joined on May 2007
#3
Originally Posted by TA-t3 View Post
Now the minor part: Write the application!
Please don't say "application". It scares me.

What needs to be done is fairly simple:

1. start the browser and load the login page

2. wait for the login page to load

3. press the "login" button on the page (note: the browser has saved the username and password, so there is no need to enter them every time).

What I'm trying to determine now is how much of this can be done in a Bash script? I assume I'm on my own with this, but if anybody who knows an answer wants to offer any guidance, it will be welcome.
 
Posts: 53 | Thanked: 20 times | Joined on Jan 2010
#4
As you know, I asked a similar question today. I've posted my solution on the same thread: http://talk.maemo.org/showthread.php...757#post555757
 
Reply


 
Forum Jump


All times are GMT. The time now is 12:47.