Using Tasker to Sign Into WiFi Networks on Android (including Lollipop)

One of the frustrations with the Lollipop update was actually supposed to be good for users:

Yes, Smart network switch.  It’s actually described really well right there.  And ideally, it works great.

Except for one thing.  When you have a network (say, at work or at a coffee shop) where you have to accept terms and conditions.  Then, the OS is smart enough to figure out that you can’t connect to the internet via WiFi (because you haven’t accepted the ToS), so instead of presenting you with the login page, it automagically switches to mobile data.

Which, um, is not smart.

So I’ve come up with a solution using Tasker (and nothing but Tasker).

Tasker is a paid app, but well worth the cash.  Yes, it has a huge learning curve, but it’s totally worth it.

My solution is made up of a profile and two tasks:


The profile that is called upon connecting to any wifi network


Calls . If the response is anything that doesn’t make sense, it sets the variable %IPaddy to ; otherwise it will return with the valid address.


Calls checkip and if the result is, launches Chrome, then afterward calls checkip again to set the variable properly.

Installation is like anything else for Tasker. Once you’ve installed Tasker, navigate over to the Tasker wiki page for WiFi Login: (be sure to click the “Files” button to see the files) or my GitHub page for Tasker stuff: .

If you’re having trouble importing stuff into tasker, check this video out:

blankWas this post helpful or insightful? Buy me a coffee here or here and share this post with others!

Popular posts:

  • The difference between boundaries and rules
  • Two Ways to get CMYK Separation Using GIMP Instead of Photoshop in 2022
  • Weekend Project: Whole House and Streaming Audio for Free with MPD
  • Organizing and Tiling Your Windows on #Openbox Using Only... Openbox
  • Simple Smart Playlists for MPD (that work!)
  • If there's one Nazi (or a racist) at the table...

Recent Posts