Getting An Auto-Login Window on Public WiFi in Linux

I often end up connecting to public wifi networks that have a “click to accept” in order to get real network connectivity.  It’s fine on my Android and iOS devices – I’m automagically presented with a login webpage.  But I don’t get that with my linux box.

UNTIL NOW.

This script works with network-manager and wicd to emulate that same behavior.  It’s fairly straightforward – it’s actually a modification of the script I use to get my external IP and interface for conky.  It should also work just fine on OSX, as it’s a bash script.

Note that I use midori for the web browser – it’s light, and has just enough functionality to get past all the different variations of “click to accept” screens that I’ve seen to date.

NOTE FOR WICD USERS:  Run it as a startup script – wicd starts as a service before X starts, and you need to call a graphical browser for many of the login screens.

The script should be embedded below if you’re reading this on the site, or you can find it at this gist here: https://gist.github.com/uriel1998/6942365

Popular posts:

  • Get external IP address at hotspot - with some error checking
  • Writing For Women
  • Because you need to feed your ears
  • White Guy on the Diversity Committee
  • Supporting the Sovereign Era
  • A Few Pictures from #Penguicon 2015 (If you have more of me, let me know!)
  • Wild - A 100 Word Story