Re: How to Connect to wifi hotspots automatically requiring web browser launch?

1,356 views
Skip to first unread message

Matt R

unread,
Feb 6, 2013, 12:16:55 PM2/6/13
to tas...@googlegroups.com
In increasing order of difficult, I see four options:

1) Have Tasker launch the webpage with the Browse URL action.  You'll then need to manually enter the email/password.
2) Do (1) above, but set the clipboard to your email address so you can paste it in the email field.  Then manually type the password.
3) If you have root, you may be able to launch the webpage (with Browse URL) and then navigate the page and automatically type the email and password.
4) This may or may not work, but the nicest solution would be if you can use HTTP GET/POST to login in the background.  I wouldn't know how to do this, but it may be possible.

Matt
Message has been deleted

ktmom

unread,
Feb 7, 2013, 12:57:00 PM2/7/13
to tas...@googlegroups.com

I know this isn't a Tasker solution, but maybe Wi-Fi Web Login can help with this.

Henri Paasovaara

unread,
Sep 10, 2013, 9:55:08 AM9/10/13
to tas...@googlegroups.com
Hi

I have been doing same on my Linux laptop. There I have used cURL program which can load a web form, fill in forms and POST/GET it back to authentication web server.
So on your phone you should create a Tasker job to test first any web page (like Google). And if it is not page you (actually a Tasker) were looking for then it could be a redirected to login page.
Then you should load that page with your laptop by using Perl script named "formfind". That would tell what fields you should be filling and if that is POSTed or GETed to web page.
And depending this authentication page then Tasker should fill this information by using POST or GET. 

It requires you to understand how HTTP protocol works and how forms are filled. And I do not know if Tasker can dig information from web page you do fill manually at first time and later use it on automated login.

If you visit regularly on same WiFi then you could dig all this information manually (like with laptop) and create own Tasker POST or GET script to be used. I can help you if you get output from formfind into your login page. On Linux run command:
$ curl http://www.google.com/ 2>/dev/null | formfind
That would output all fields to be filled on your HTTP POST or GET.

Regards, Henri

Luis Gómez Guzmán

unread,
Mar 27, 2017, 12:34:32 PM3/27/17
to Tasker
Hi, 

i don't have a linux laptop. How can i get the info you need using the phone?
Reply all
Reply to author
Forward
0 new messages