Proxy authentication in Ubuntu 11.10 Oneiric Ocelot (Update)

This post simplifies the way to set your proxy which was explained in my previous post on October 21st.

(From the original post): Since Ubuntu 11.10, the proxy settings tab in the system settings have been changed, it’s no longer possible to enter your credentials in the proxy settings.

Before you start, you’ll need to find these values:

  • Proxy host
  • Proxy port
  • Proxy user name (would normally be your personal user name)
  • Proxy user password (would normally be your personal password)

Open a terminal and use the following commands to set these values, each line represents one command (! Adjust the values to your values !)

gsettings set org.gnome.system.proxy use-same-proxy 'true'
gsettings set org.gnome.system.proxy.http authentication-password 'ReplaceWithYourPassword'
gsettings set org.gnome.system.proxy.http authentication-user 'ReplaceWithYourUsername'
gsettings set org.gnome.system.proxy.http host 'ReplaceWithYourProxyHost'
gsettings set org.gnome.system.proxy.http port 'ReplaceWithYourProxyPort'
gsettings set org.gnome.system.proxy.http use-authentication 'true'
gsettings set org.gnome.system.proxy.http enabled 'true'

This should give you access through your company proxy! Happy browsing!

Ps. When you’re at home and you want disable the use of a proxy, use this command:

gsettings set org.gnome.system.proxy.http enabled 'false'
Advertisements

3 thoughts on “Proxy authentication in Ubuntu 11.10 Oneiric Ocelot (Update)

  1. Pingback: Proxy authentication in Ubuntu 11.10 Oneiric Ocelot « Joris Visscher

    1. Ubuntar

      Thanks! And how about proxy for HTTPS with authentification? There’re “No such key ‘authentication-password'”. Seems like gsettings set org.gnome.system.proxy use-same-proxy ‘true’ doesn’t help in this case: Empathy can’t connect to GTalk (https) but actually can for instance to ICQ (http). Any suggestion?

      1. Hi Ubuntar, I don’t know actually, I connected with HTTPS sites with these settings. Could you test whether your proxy works with HTTPS sites when you’re connected through a Windows machine? (To make sure your proxy supports HTTPS)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s