Choose style:

Author Topic: Setting up Proxy settings on peppermint 5  (Read 1747 times)

0 Members and 1 Guest are viewing this topic.

Offline archietaz

  • nOOb
  • *
  • Posts: 3
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 5
Setting up Proxy settings on peppermint 5
« on: November 12, 2014, 01:46:34 pm »
Hi.  I am a n00b in the world of Linux and I am unsure how to setup a a auto proxy configuration setting.  I am trying to setting up laptops for my school
a) My computer is a Lenovo s10-3
b) We use a hidden network
c) the proxy configuration file that is located at ,http://proxy.nycboe.org/proxy.pac.  The problem is I don't know where/how to input in this.

I appreciate any help you could provide

Peppermint OS Community Forum

Setting up Proxy settings on peppermint 5
« on: November 12, 2014, 01:46:34 pm »

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 13839
  • Karma: 1620
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 7 Respin (64bit)
Re: Setting up Proxy settings on peppermint 5
« Reply #1 on: November 12, 2014, 07:32:11 pm »
Is this just for chromium, or does it need to be systemwide ?

Can you try this...

First install libpacparser1:
Code: [Select]
sudo apt-get install libpacparser1
Then with Chromium closed, run:
Code: [Select]
chromium-browser --proxy-pac-url=http://proxy.nycboe.org/proxy.pac
does the chromium instance that just opened work  ?
« Last Edit: November 12, 2014, 07:36:26 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
Linux in the UK

Offline archietaz

  • nOOb
  • *
  • Posts: 3
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 5
Re: Setting up Proxy settings on peppermint 5
« Reply #2 on: December 11, 2014, 03:30:10 am »
Wow... that worked out well. =)

Thanks for your help and sorry for the delay in reply.

Is there a way to set the proxy settings system wide?

Peppermint OS Community Forum

Re: Setting up Proxy settings on peppermint 5
« Reply #2 on: December 11, 2014, 03:30:10 am »

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 13839
  • Karma: 1620
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 7 Respin (64bit)
Re: Setting up Proxy settings on peppermint 5
« Reply #3 on: December 11, 2014, 03:06:49 pm »
This should apply that proxy.pac every time you open Chromium.....

Open a terminal and run:
Code: [Select]
sudo gedit /etc/chromium-browser/default
and make it read:-
Code: [Select]
# Default settings for chromium-browser. This file is sourced by /bin/sh from
# /usr/bin/chromium-browser

# Options to pass to chromium-browser
CHROMIUM_FLAGS="--proxy-pac-url=http://proxy.nycboe.org/proxy.pac"
SAVE the file.

Now close ALL running instances of Chromium .. then reopen Chromium (normally from the menu) to test.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
Linux in the UK

Offline archietaz

  • nOOb
  • *
  • Posts: 3
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 5
Re: Setting up Proxy settings on peppermint 5
« Reply #4 on: December 15, 2014, 11:50:29 am »
Okay.....
a) I typed in what you suggested and Chrominium goes on line like a champion
b) I am not sure the setting are global though.  I am having a problem updating my software using the software updater and I am wondering if it is related.
c) Here is one of the error messages:

FAILED TO DOWNLOAD REPOSITORY INFORMATION
check your internet connection
E:GPG error:http://extras.ubuntu.com trusty
InRelease: Clearsigned file isn't valid, got
'NODATA' (does the network require authentication?)

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 13839
  • Karma: 1620
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 7 Respin (64bit)
Re: Setting up Proxy settings on peppermint 5
« Reply #5 on: December 15, 2014, 09:19:52 pm »
Try this .. run:
Code: [Select]
sudo gedit /etc/apt/apt.conf.d/proxy
when a BLANK file opens, add a single line that reads:-
Code: [Select]
Acquire::http::Proxy "DIRECT";
SAVE the file and exit gedit.

Now test with:
Code: [Select]
sudo apt-get update
and look out for 404 errors



If it doesn't work, remove that file with:
Code: [Select]
cd /etc/apt/apt.conf.d
then
Code: [Select]
sudo rm -v proxy
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
Linux in the UK

Peppermint OS Community Forum

Re: Setting up Proxy settings on peppermint 5
« Reply #5 on: December 15, 2014, 09:19:52 pm »