Results 1 to 3 of 3

Thread: gnome-network-properties does not set env variable

  1. #1
    Join Date
    Sep 2010
    Beans
    11

    gnome-network-properties does not set env variable

    I have a problem with my proxy variables. I use gnome-network-properties gui to set up two locations. One at home with no proxy and one at work. Somehow, apt-get works fine, but wget does not.
    I checked the env variables with the following command

    env | grep proxy

    and get

    http_proxy=http://yourproxyserverort/
    FTP_PROXY=http://yourproxyserverort/
    ftp_proxy=http://yourproxyserverort/
    all_proxy=socks://proxy.sample.com:80/
    ALL_PROXY=socks://proxy.sample.com:80/
    https_proxy=https://proxy.sample.com:80/
    no_proxy=localhost,*.local,mirror.switch.ch,127.0. 0.0/8
    HTTP_PROXY=http://yourproxyserverort/

    which leads me to believe that gnome-network-properties is not setting the env variables properly.

    In need help...

  2. #2
    Join Date
    May 2010
    Location
    uk
    Beans
    9,249
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: gnome-network-properties does not set env variable

    Hi

    Code:
    http_proxy=http://yourproxyserverport/
    FTP_PROXY=http://yourproxyserverport/
    ftp_proxy=http://yourproxyserverport/
    all_proxy=socks://proxy.sample.com:80/
    ALL_PROXY=socks://proxy.sample.com:80/
    https_proxy=https://proxy.sample.com:80/
    no_proxy=localhost,*.local,mirror.switch.ch,127.0. 0.0/8
    HTTP_PROXY=http://yourproxyserverport/
    Which proxy is which ?

    Kind regards
    If you believe everything you read, you better not read. ~ Japanese Proverb

    If you don't read the newspaper, you're uninformed. If you read the newspaper, you're mis-informed. - Mark Twain

    Thinking about becoming an Ubuntu Member?

  3. #3
    Join Date
    Sep 2010
    Beans
    11

    Re: gnome-network-properties does not set env variable

    Well i found the problem something (bibus?) added

    http_proxy=http://yourproxyserverport/
    FTP_PROXY=http://yourproxyserverport/
    ftp_proxy=http://yourproxyserverport/

    to my .bashrc file thereby overwriting anything gnome-network-properties put there
    As to why there are so many proxy variables I have no idea

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •