If Firefox keeps starting in offline mode, do the following to disable this annoying behaviour:

  1. Access the configuration page typing in the address bar:

    about:config
  2. Select the option toolkit.networkmanager.disable and set it to true
  3. Restart Firefox