I am trying to access the internet through a WiFi Hotspot which requires login details to be entered into a web browser. It keeps disconnecting and requiring me to re-login every few minutes.

Is there a program for Ubuntu which will allow me to automatically login in the background each time this happens?

  • (1) What does every few minutes mean? Every new page? Every two minutes? Every hour? (2) What browser are you using? (3) Do you have anything that would block cookies or javascript? – djeikyb Jan 6 '12 at 1:10
  • I am having a similar issue. My office wifi = fine. My home wifi = fine. McDonalds wifi = fine. Starbucks wifi = fine. A wifi network at a hotel (or transit bus or whatever) that firsts ask you to "accept" or "log in" their default page before you proceed to Google (or anywhere) = NOT fine. Or fine for a minute, then NOT fine. Zero issue with my Mac, iPhone, and Win 7 on the same wifi network. – Kris Krause Apr 27 '12 at 12:23
  • Update - it must be the driver/card (Dell Mini 10v). If I use a different Ubuntu laptop with the offending Wifi network - it works just fine! Investigating a more specific answer. – Kris Krause May 8 '12 at 10:50
  • This kind of access is called a "Captive portal", for reference. There are two issues here: automatically logging in to a captive portal, and the network issues on machines that keep on getting disconnected... – David Fraser Oct 11 '12 at 9:47

For the Captive Portal auto-login problem (not the network disconnecting issue)...

Coova, a captive portal implemtnation has some client tools: CoovaFX is a Firefox extension for doing login, and CoovaAX is an Android app. These use WISPr for authentication.

There are also some other Android applications for the same purpose; some are specific to certain providers, others use a particular standard.

I suspect that in most cases where a captive portal is redirecting requests to its login screen, these standards are not supported, however if they are then automating the login should be easier than with a non-standard browser screen.

There are some very basic scripts by Laurent Gighonis, but they don't look very comprehensive and probably only cover a few providers...

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.