Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Pomoc pśepytaś

Glědajśo se wobšudy pomocy. Njenapominajomy was nigda, telefonowy numer zawołaś, SMS pósłaś abo wósobinske informacije pśeraźiś. Pšosym dajśo suspektnu aktiwitu z pomocu nastajenja „Znjewužywanje k wěsći daś“ k wěsći.

Learn More

How to configure firefox 3.6 proxy through ssh terminal on ubuntu 8.04

  • 1 wótegrono
  • 1 ma toś ten problem
  • 1 naglěd
  • Slědne wótegrono wót ratul.dasgupta

more options

I am trying to configure Firefox proxy through an ssh terminal (putty) on Ubuntu 8.04. There in no GUI for the terminal, so am using xvfb to simulate the display. However Firefox cannot open any website because the proxy is not set correctly Here's what I tried.Edited a loadcustom.js file in /usr/lib/firefox-3.6x/defaults/prefs and added the lines // tell firefox to load customized config file pref("general.config.obscure_value", 0); pref("general.config.filename", "firefox.cfg");

Then created a firefox.cfg file in /usr/lib/firefox3.6x and added the lines // Lock specific preferences in Firefox so that users cannot edit them lockPref("app.update.enabled", false); lockPref("network.proxy.http", "my-proxy.in-my-domain.com"); lockPref("network.proxy.http_port", 8080); lockPref("network.proxy.type", 1); lockPref("network.proxy.no_proxies_on", "localhost, 127.0.0.1, 192.168.1.0/24"); lockPref("network.proxy.share_proxy_settings", true); lockPref("browser.startup.homepage", "http://www.google.com/");

This did not work for me. Any suggestions?

I am trying to configure Firefox proxy through an ssh terminal (putty) on Ubuntu 8.04. There in no GUI for the terminal, so am using xvfb to simulate the display. However Firefox cannot open any website because the proxy is not set correctly Here's what I tried.Edited a loadcustom.js file in /usr/lib/firefox-3.6x/defaults/prefs and added the lines // tell firefox to load customized config file pref("general.config.obscure_value", 0); pref("general.config.filename", "firefox.cfg"); Then created a firefox.cfg file in /usr/lib/firefox3.6x and added the lines // Lock specific preferences in Firefox so that users cannot edit them lockPref("app.update.enabled", false); lockPref("network.proxy.http", "my-proxy.in-my-domain.com"); lockPref("network.proxy.http_port", 8080); lockPref("network.proxy.type", 1); lockPref("network.proxy.no_proxies_on", "localhost, 127.0.0.1, 192.168.1.0/24"); lockPref("network.proxy.share_proxy_settings", true); lockPref("browser.startup.homepage", "http://www.google.com/"); This did not work for me. Any suggestions?

Wót ratul.dasgupta změnjony

Wubrane rozwězanje

Never mind. I got it working now, I was editing at the wrong place I guess.

I had to add the settings in /usr/lib/firefox-3.6.17/defaults/pref/firefox.js and then restart Firefox. Here's what I added pref("network.proxy.type", 4); to have Firefox auto-detect proxy settings.

Toś to wótegrono w konteksće cytaś 👍 0

Wšykne wótegrona (1)

more options

Wubrane rozwězanje

Never mind. I got it working now, I was editing at the wrong place I guess.

I had to add the settings in /usr/lib/firefox-3.6.17/defaults/pref/firefox.js and then restart Firefox. Here's what I added pref("network.proxy.type", 4); to have Firefox auto-detect proxy settings.