I discovered an interesting issue with Firefox that might just be a bug, but it’s (relatively) easy to fix.
When attempting to log into your GoPiGo robot, running Dexter OS, (which is always in stand-alone access-point mode) or the new GoPiGo OS, (which defaults to stand-alone access-point mode), you get a message at the top of your browser that says:
This appears to primarily affect users running a recent version of Firefox, as it uses a feature called “Captive Portal Detection”.
When Firefox detects a potential “captive portal” - i.e. a network “login” screen - it disables certain functionalities for whatever reason, presumably to prevent you from bypassing the portal and getting the Mozilla Foundation sued out of it’s socks.
The result is that your ability to access features of your 'bot may work strangely, or may not work at all. This is something that is entirely out of the control of Dexter/Modular Robotics because it’s a browser feature, not a robot feature.
How to fix it:
This is something set by a “hidden” setting on Firefox’s “about:config” page.
- Open a new browser window/tab and enter about:config in the URL line at the top of the browser window.
- Acknowledge the warning you receive, if you have not disabled it.
- Search for the setting network.captive-portal-service.enabled, which should be set to true.
- Double-click on it. The setting should change to false and the whole line will become bold-face text.
- Entirely close the entire browser and all windows, (just to make sure!), and re-open the browser.
Access to your robot’s portal should now work correctly and you will not see that annoying alert.
What’s happening here? (for the curious)
Some browsers, (Firefox, at least), for whatever God Forsaken reason, try to “automatically detect” captive portals for you. Why? I don’t know. It’s not like you aren’t going to slam into them when you use your browser anyway. . . .
The way they do it is by spamminig a “hidden” URL, (http://detectportal.firefox.com/success.txt, that does only one thing, displays the text “success”) that the browser periodically, (very frequently for that matter, possibly flooding your network depending on capacity), to see if it actually has a connection to the live internet. If that request fails, for whatever reason, it “assumes” you are behind a “captive portal” and have to jump through hoops - disabling important functionality in the process.
If you are accessing a device, (like your GoPiGo), that has it’s own private network access point, the attempt to reach anything at firefox.com will fail miserably, resulting in that warning.
The solution is obvious: Disable the feature.
Dexter/Modular Robotics could mitigate the feature by including a “counter-feature” that would automagically capture any reference to http://detectportal.firefox.com/success.txt and always return a HTML “success” message and an empty page. However, disabling the feature will save you mucho-bandwidth and - if you’re on a metered connection - a lot of your internet allotment.