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!

Αναζήτηση στην υποστήριξη

Προσοχή στις απάτες! Δεν θα σας ζητήσουμε ποτέ να καλέσετε ή να στείλετε μήνυμα σε κάποιον αριθμό τηλεφώνου ή να μοιραστείτε προσωπικά δεδομένα. Αναφέρετε τυχόν ύποπτη δραστηριότητα μέσω της επιλογής «Αναφορά κατάχρησης».

Learn More

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

  • 1 απάντηση
  • 1 έχει αυτό το πρόβλημα
  • 1 προβολή
  • Τελευταία απάντηση από 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?

Τροποποιήθηκε στις από το χρήστη ratul.dasgupta

Επιλεγμένη λύση

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.

Ανάγνωση απάντησης σε πλαίσιο 👍 0

Όλες οι απαντήσεις (1)

more options

Επιλεγμένη λύση

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.