If you have this problem you know how frustrating it can be. Every time you fire up Firefox it wants to start in offline mode. To get around this you have to go to the File menu and uncheck the Work Offline box.
When I first encountered this I immediately opened up about:config and searched everywhere for the entry that was causing this issue. No luck. Every possible entry "browser.online" entry was checked as "true", but still the browser would start offline. Everywhere I looked it seemed it was set up properly...and this shouldn't be a difficult issue. It was turning into a hair-losing situation. Eventually, however, I would figure out what was going on.
In many modern Linux distributions network management is controlled by the user-friendly NetworkManager utility. Sometimes there is a bit of a disconnect between Firefox and NetworkManager.? This doesn't happen often (Most often this happens in Fedora.), but when it does happen it will make you feel like you have no idea what you are doing.
There are two ways to get around this. The first way is go hop on to Firefox, open the about:config window (you will most likely have to click the check box promising you'll be careful using this configuration page), and do a search for the string:
By default this is set to false which means it is working in conjunction with NetworkManager to see if there is a connection. Set this string to true, restart Firefox, and you most likely will not have this problem again.
If you'd rather not monkey with the about: config page in Firefox you will have to change a setting in NetworkManager itself. You will find the NetworkManager entry in the Administration sub menu of the System menu. The entry is labeled "Network". Click on the Network entry to open up the NetworkManager window (see Figure 1).
Select your method of connecting to the net and click the Edit button. A new window will appear that allows you to edit various aspects of this connection.
There is only one configuration you need to change here. If the box next to "Controlled by NetworkManager"is checked, uncheck it. If it is unchecked, check it. This will depend completely on how you manage your network connection.
Firefox by default uses NetworkManager to know if a connection has been made. If you use another tool for your network connection, and you have Firefox enabled to check NetworkManager, you will always start off line, because Firefox will think you have no connection.
My suggestion is that you first try the about:config entry. If that doesn't work then give the NetworkManager approach a try. One way or another, you will be able to stop this insipid behavior.
The real culprit here, in my opinion, is that the developers of NetworkManager and the developers of Firefox can't seem to agree on a standard. This, of course, is a problem that haunts Linux in a number of areas. In the case of this one issue, you now know a way around it.Advertisement
Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.
We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats or subscription fees.
If you like our content, and would like to help, please consider making a contribution:
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.