Solved

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

Posted on 2012-03-28
3
451 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

744 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

13 Experts available now in Live!

Get 1:1 Help Now