Solved

Where to supply authentication details to the Network Proxy (Central Proxy) on Fedora?

Posted on 2012-03-28
3
456 Views
Last Modified: 2012-04-02
Im running Fedora 16 on my system at the office. We use LAN to connect to the Internet. And for this, we use an http proxy with authentication (username & password). I tried putting the proxyaddress:port in the Network Proxy settings after going to the Network Settings window. However, it never asked for an authentication and the programs that use the internet are unable connect, except for Firefox because it asks for authentication.

Can someone help me out with this problem?

Thank you.
0
Comment
Question by:tanopatrice
  • 2
3 Comments
 
LVL 11

Assisted Solution

by:legolasthehansy
legolasthehansy earned 334 total points
ID: 37778133
Do this,
In /etc/profile.d create a file like a_proxy.sh with the followling,

export http_proxy=http://host.com:port/
export ftp_proxy=http://host.com:port/
export no_proxy=.domain.com
export HTTP_PROXY=http://host.com:port/
export FTP_PROXY=http://host.com:port/

save and exit
chmod +x /etc/profile.d/a_proxy.sh

Logout and login (or create a new terminal)
echo $http_proxy (see if the output matches the first line of a_proxy.sh)

Now check if your system takes the proxy settings.
0
 
LVL 10

Assisted Solution

by:pclinuxguru
pclinuxguru earned 166 total points
ID: 37778167
Close but no cigar:
You missed "authentication" in the op

export http_proxy=http://username:password@host.com:port/

In the network thingy type
 http://username:password@proxyserver

put whatever port they use in the port section.
0
 
LVL 11

Accepted Solution

by:
legolasthehansy earned 334 total points
ID: 37778184
For entering the auth details, try

export http_proxy=http://user:pasword@host.com:port/
etc..
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

816 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now