bopc
2004-01-30, 12:40 AM PST
So, I've installed FC1 on my laptop which dual-boots also with XP. Now, I'm using it at work so I'm behind a proxy server. I have configured Mozilla for the proxy, and set the proxy in the Network Proxy applet (Prefs menu). I can browse the net using Moz, but yum does not seem to "see" the proxy configuration. I run yum check-update and it just sits there for a bit, then starts the failover sequence (and eventually times out looking for servers). I'm configured for DHCP. What else needs to be configured for yum to get through the proxy?
If all else fails, I can always update from home via my cable connection (525kbps), but I have 10mb connection at work so it would be nice to get updates from there too.
bopc
2004-01-30, 02:49 AM PST
Ok, found the answer. First have to set the environment variable for yum:
http_proxy=proxy:portnum
Then, export the variable:
export http_proxy
Then run yum as usual. Works fine now.
RossCampbell
2004-01-31, 12:51 PM PST
create the following files in /etc/profile.d, and then this will work in *any* shell for *any* user of the system
#proxy.sh
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/
#proxy.csh
setenv http_proxy http://host.com:port/
setenv ftp_proxy http://host.com:port/
setenv no_proxy .domain.com
setenv HTTP_PROXY http://host.com:port/
setenv FTP_PROXY http://host.com:port/
cybrjackle
2004-02-02, 06:39 AM PST
I just add the following to bash_profile for my main user
# vi ~/.bash_profile
export http_proxy=http://ip:port
And use sudo for the user so I don't have to type anything to get yum to run everday at work.
vorte[x]
2004-02-02, 11:25 AM PST
Can a mod or the original creator of this thread prefix the subject line with "Resolved:" - Makes things a whole lot easier when trying to find people with unresolved issues. ;)
joking
2004-02-13, 02:48 PM PST
Well, that didn't work. Before I changed what was said needed to be changed or added I saw a red dot with an exclaimation point in it. When I pointed to it it said I had 124 updates waiting. Then when I clicked on the dot it would show the packages needing updating.
After making the changes. I logged out and then logged back in.
Now I have a blue dot with a check mark. It says Waiting for first checkin when I point at it and when I click on it it doesn't show anything at all.
I guess, I'll un-change what I did and reboot. And see if I can get back to the partial expected update recognition.
This is result of "yum update"
[root@home rhn]# yum update
Gathering header information file(s) from server(s)
Server: Fedora Core 1 - i386 - Base
retrygrab() failed for:
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/1/i386/headers/headers/header.info
Executing failover method
failover: out of servers to try
Error getting file http://download.fedora.redhat.com/pub/fedora/linux/core/updates/1/i386/headers/headers/header.info
[Errno 4] IOError: HTTP Error 404: Not Found
[root@home rhn]#
at least now I am getting Errno 4 instead of Errno 7,
JMR
2004-04-09, 08:44 AM PDT
Anyone have a fix for this yet? I also get a 404 error after setting the http_proxy variable.
FWIW, it's not a Yum issue. I get the same error using wget.
Jack
Jman
2004-04-09, 05:41 PM PDT
Smilies disabled in certain posts, much more readable now.
Not that I don't like smilies. :)
NathanH
2004-06-10, 04:16 AM PDT
I had the same problem. I fixed it by editing /etc/wgetrc and edited the following:
# Many sites are behind firewalls that do not allow initiation of
# connections from the outside. On these sites you have to use the
# `passive' feature of FTP. If you are behind such a firewall, you
# can turn this on to make Wget use passive FTP by default.
passive_ftp = on
# You can set the default proxies for Wget to use for http and ftp.
# They will override the value in the environment.
http_proxy = http://host:port/
ftp_proxy = http://host:port/
You need to remove the comment (#) at the beginning of the last 2 lines shown here and at the beginning of the line containing passive_ftp.
HTH,
Nathan
leo.dearden
2004-10-25, 08:17 AM PDT
[QUOTE=bopc]Ok, found the answer. First have to set the environment variable for yum:
http_proxy=proxy:portnum
Then, export the variable:
export http_proxy
Then run yum as usual. Works fine now.[/QUOTE]
Something to note:
the URL that you use for 'proxy' has to be a complete URL. Specifically, you need to use (say):
http_proxy=http://proxy.foo.com:8888
instead of
http_proxy=proxy.foo.com:8888
The latter works with wget, but causes the python urllibs to break, since they expect the protocol type to be at the start of the URL.
This one had me scratching my head for a while ^_^
HTH,
Leo.
aussieaubs
2004-11-04, 04:12 AM PST
I thought I would just add that if you need to authenticate to your proxy and need to add a user id and password you will need to follow the following format:
http_proxy=http://user:passwd@proxy.foo.com:portnumber
and follow the same format with the other proxy variables (ftp_proxy etc). I know its not safe but i havent found a work around yet.... yum wont allow for password authentication...
Cheers
Ah-ha
zabilcm
2004-11-14, 08:47 PM PST
For people behind a windows proxy which uses NTLM authentication this link will help.
http://ntlmaps.sourceforge.net/
The above program should be run as a proxy on your desktop and all your connections should be directed through this.
jmellor
2005-05-18, 05:53 AM PDT
I can't seem to get the proxy to work at all.
I think the problem is that I need the ability to pass a Microsoft domain as well as the Microsoft username and password to the proxy to do the authentication. Any ideas?
Mr.GoodBoy
2005-08-26, 08:18 AM PDT
I am connected to college lan(T1) my direct connection is not working so tried above.my proxies are firewalled
http_proxy=http://144.16.192.245:8080
export http_proxy
[root@localhost ~]# yum install valknut
Setting up Install Process
Setting up repositories
http://ayo.freshrpms.net/fedora/linux/4/i386/core/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (111, 'Connection refused')>
Trying other mirror.
Cannot open/read repomd.xml file for repository: core
failure: repodata/repomd.xml from core: [Errno 256] No more mirrors to try.
please help me how to solve this i am new to linux so explain in detail
previously i was trying to configure and get the gpg key there i have created files and got struck up at
like this
[root@localhost ~]# rpm --import --httpproxy http://144.16.192.245 --httpport 80 80 --ftpproxy http://144.16.192.245 --ftpport 8080 http://dag.wieers.com/packag es/RPM-GPG-KEY.dag.txt
error: http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt: import read failed(-1 ).
Segmentation fault
so i changed the gpgcheck to 0 as suggested by some one and got the above error in yum
please tell me how and what to configure i am new to linux and got fc4
frusttrated of these installations and dependencies
coolmohitz
2005-09-03, 01:16 PM PDT
Just copy paste this in your .bashrc and invoke it by the command proxy
This is a secure authentication method:
function proxy(){
echo -n "username:"
read -e username
echo -n "password:"
read -es password
export http_proxy="http://$username:$password@proxy: port/"
export ftp_proxy="http://$username:$password@proxy: port/"
}
Z06
2005-09-13, 08:00 AM PDT
I have a proxy at work, but no proxy at home. Is there a way to set it up to auto-detect so-to-speak? My yum does the same thing at work. At home no problems.
sighs
2005-09-26, 08:03 AM PDT
Hello,
I have tried the environment variable approach and get:
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/4/i386/repodata/repomd.xml: [Errno 4] IOError: HTTP Error 407: Server: Microsoft-IIS/4.0
Date: Mon, 26 Sep 2005 14:52:53 GMT
Connection: close
Proxy-Authenticate: NTLM
Trying other mirror.
Cannot open/read repomd.xml file for repository: updates-released
failure: repodata/repomd.xml from updates-released: [Errno 256] No more mirrors to try.
I have tried this with both the domain\username and username in the env var, same result. I have also tried the proxy.sh/proxy.csh suggestion in the post. Our proxy server is MS Proxy 2, not a good start. Any ideas?
Cheers, Sighs.
elliss
2005-09-26, 01:12 PM PDT
Configuring yum to use a proxy server:
http://fedora.redhat.com/docs/yum/sn-yum-proxy-server.html
The proxy has to be compliant with HTTP 1.1 for yum to work. I haven't had to deal with MS Proxy Server or ISA, but I've seen another post on this forum here about ISA - IIRC the author couldn't get yum to work through it.
You could also try setting FTP URLs for the yum repositories - yum supports FTP.
jmellor
2005-09-26, 08:04 PM PDT
This thread has been going for a considerable length of time now, and I have yet to see anybody come up with a way to authenticate against an MS proxy where you need to specify the domain. I know I still can't do it. Since this is arguably the most common form of proxy (rightly so or not, since most other platforms have little need for such abominations), and I see very little in usable replies to the problem, can I take in that this does not yet work, and that the problem is in fact, NOT RESOLVED?
fastandsimple
2005-11-30, 08:25 PM PST
When using a numbered form of an IP address, such as 192.168.0.3, the python libraries will incorrectly parse it unless http:// is placed in front of it. So:
http_proxy=192.168.0.3:80 will NOT work; must use the form: http_proxy=http://192.168.0.3:80
(This took me a good 6 or 7 hours to figure out!)
GrahamA
2006-02-21, 12:41 AM PST
I managed to get it working by using the following line in the wgetrc file:
http_proxy = http://DOMAIN\USERID:password@proxyip:80/
Possibly something similar would work for yum?
I'm still working on the environment variable - I'm using Kubuntu on my IBM thinkpad. FC1- 4 at home.
GrahamA
2006-02-21, 12:45 AM PST
#!@# smilies
http_proxy = http://DOMAIN\USERID":"password@proxyip:80/
diehardy
2006-02-24, 04:42 AM PST
I had some tough time using YUM
But i heard that using YUMEX is easier and tried it
I was happy that YUMEX installation was successfull but.. its troubling me
I was trying to update Helix player on my system using "yumex" but its showing the following error
[COLOR="Red"]
Error in Transaction /n Refusing to automatically import keys when running unattended.
Use "-y" to override
[/COLOR]
I am able to view all the
Installed packages, packages available to be upgraded but unfortunately i am not able to install them
This snap shot of watts happening...
[COLOR="Blue"]
14:51:17 : Setting up Update Process
14:51:29 : --> Populating transaction set with selected packages. Please wait.
14:51:30 : ---> Package HelixPlayer.i386 1:1.0.6-1.fc4.2 set to be updated
14:51:30 : --> Running transaction check
=============================================================================
Package Arch Version Repository Size
=============================================================================
Updating:
HelixPlayer i386 1:1.0.6-1.fc4.2 updates-released 3.8 M
Transaction Summary
=============================================================================
Install 0 Package(s)
Update 1 Package(s)
Remove 0 Package(s)
14:51:37 : Downloading Packages:
14:51:37 : Checking GPG Signatures:
14:51:37 : Public key for HelixPlayer-1.0.6-1.fc4.2.i386.rpm is not installed
[/COLOR]
I thought that life would be easier when using yumex but......
Is it required that i need to install public keys for each and every package before me installing anything?
I thought yumex does it for me :confused:
Some one Please help me....
Thanks in advance
pingoomax
2006-05-23, 09:29 AM PDT
Hi,
You will find how to install gpgKey in the fedorafaq : http://www.fedorafaq.org/#gpgsig
Once a key is installed, you can use THIS repository as you want, but you need to install the key for each repository that you want to use.
Bye.
RichardB
2006-05-26, 04:55 PM PDT
I can't get the proxy to work either.
Jmellor, you say you have to pass the Microsoft domain as well as the Microsoft username and password to the proxy (http://www.spondoo.com) , have you come up with a solution yet?
coppertrail
2006-07-17, 10:41 AM PDT
[QUOTE=bopc]Ok, found the answer. First have to set the environment variable for yum:
http_proxy=proxy:portnum
Then, export the variable:
export http_proxy
Then run yum as usual. Works fine now.[/QUOTE]This worked for my situation, but I had to use the following modification as our proxy requires authentication:
http_proxy=http://username:password@myproxyserver.mydomain.com
Thank you for your post, and for the other member who mentioned adding the username and password variables.
nosupport
2006-07-17, 11:12 AM PDT
I'm having the exact opposite problem. I used to use a proxy server, and I forgot how i had it setup. Now I need to find that setting and get rid of it because its driving my crazy having to 'export http_proxy=' every time before i 'yum'. Where I have it set seems to be the ultimate end-all place to set a proxy. If I find it, I will post here. At the moment I'm left to scratch my head and am going to try to find some way to search inside all files on the server for the ip address that '$http_proxy' is evaluating to.
nosupport
2006-07-17, 12:14 PM PDT
/etc/profile:
directly underneath:
HOSTSNAME=`/bin/hostname`
HISTSIZE=1000
I had:
http_proxy=http://oldproxy/
ftp_proxy=http://oldproxy/
socks_proxy=http://oldproxy/
Then I added them to the list a few lines down that starts:
export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRC
This was setting my proxy settings SYSTEM WIDE to that old proxy. Also pls note that you shouldn't assign socks_proxy to an http:// address (I don't see how that would make any sense, I must have just been an idiot then....)
Adesso
2006-08-14, 03:49 AM PDT
Updating the proxy setting in my profile, did not work, in yum.conf.. no way.. and even in the GNOME proxy settings, nothing happened. I tried to update my bashrc, also problimatic. The only solution so far for me was ...
[QUOTE=coolmohitz]Just copy paste this in your .bashrc and invoke it by the command proxy
This is a secure authentication method:
function proxy(){
echo -n "username:"
read -e username
echo -n "password:"
read -es password
export http_proxy="http://$username:$password@proxy: port/"
export ftp_proxy="http://$username:$password@proxy: port/"
}[/QUOTE]
This little bit of code works wonders. Thanks CoolMoHitz
My problem was that my password was ending in a bang (!) and that the parser did not like this, so that it told me !@proxy.com was not working, but with the script in the user .bashrc.. everything is working .. I just love these forums... :D
neilloffhagen
2006-08-14, 04:00 AM PDT
Just to confirm what works for me passing through a proxy. Created an environment file in /etc with the following in:
export ftp_proxy=http://proxy_server_name:80
export http_proxy= http://proxy_server_name:80
and then and this is something that it took me a while to figure out, if I did yum update right away in the same terminal session yum would not work. Needed to close that session and then open a new terminal seesion and it would then work okay.
Neil.
das_deniz
2006-09-18, 08:23 AM PDT
MODERN ANSWER - 2006 - as this shows up in a google search might as well update the resolution for this issue
in yum.conf
add line
proxy=http://<server>:<port>
for more information see http://fedora.redhat.com/docs/yum/sn-yum-proxy-server.html
hazwan07
2006-10-13, 06:31 PM PDT
hello.the suggested solution in documentation didn work for me.it says something about nonnumerical port 8080?.any idea??
das_deniz
2006-10-13, 07:43 PM PDT
you would have to get the port information from your admin (who set up the proxy)
but for us it is port 80 - so give that a shot too....
hazwan07
2006-10-14, 12:48 AM PDT
my port is 8080.i entered it correctly but yum keep on saying error because of nonnumerical port.anyway thanks.any other idea??
das_deniz
2006-10-14, 07:41 PM PDT
so the full line in yum.conf should read something like
proxy=http://myproxyserver.company.com:8080
if you're doing that and you know the name of the server is myproxyserver for your company.com and it's working on 8080 then ... no i don't have any other ideas.... good luck. :)
chad_work2001
2006-11-03, 01:28 PM PST
Edit /etc/yum.conf and enter at the bottom of the [main] section:
proxy=http://ipaddress:port
for example
proxy=http://10.1.2.10:3127
This setting is in the man page for yum.conf - man yum.conf.
heringsme
2006-11-06, 04:40 PM PST
I'd like to make some constructive criticizm.
Please, no one take offense.
Ahem,...
Guys (and/or gals), this is too hard.
Yes, I got it working, but I'm a developer and I work with computers all day. Most people don't...
Most of my friends couldn't have done this and that's bad because...
I'm a Linux evangalist!
I want Linux to take over the world !!! Yeay open software!
That's not going to happen without a lot of work.
There needs to be ONE place to configure proxies.
And ALL applications should have to check (at least) that one place during startup.
Having to configure the browser(s) AND yum.conf AND wgetrc or .bashrc after a lot of Googling the question and reading all these forums...
Yiikes!!!!!
Earlier this week I installed FC6 on a box at home and it hung at the very end and then when I rebooted it went back to Windows (on the first partition). I had to manually install GRUB and of course I had to Google the issue, decide on the best answer, after multiple tries finally found that install (anaconda?) left the drive with Fedora on it out of the devices.map. ??????? !!!!!!!!
Why are the repositories all commented out? Is that a bug or a feature...? That's where I came into this story. I had to Google out why I was getting 'Cannot find a valid baseurl for repo:". And that 'good' error message was from yum. The main package manager just dies with 'can't retrieve software information.' Why not? I have the CDs in the drive... :o(
Package Manager (pirut?) should work if it finds CDs. Sorry, but network installation is optional. Isn't it Sun that thinks "the network is the computer". I installed a minimal configuration and wanted to go back and install more from the CDs. You can't untill you become a Package Manager guru. Or reinstall from scratch to get something you forgot to install the first time.
If it only works if everything is setup just right, where's the robustness? That pretty much qualifies for 'just broken' guys. Sorry but RedHat 9 was miles ahead on that.
Actually, you can't even install Fedora now unless you have a network card installed and plugged into a network, unless you disable all networking during the install and then you can't install the networking packages (or it goes back and tries to force you to install your NIC). What if I want to install a local Apache server and do web development on a stand-alone box. That's legit, I mean it works with Apache and the kernel, yes? And my wireless card can't be seen until I install 'ndiswrapper' (no Linux drivers available) so you have your 'catch-22'.
Some people are doing some very good things and I can see a lot of effort to make the scripts smarter. How about a dialog box "Your application may not work untill you connect to a network. Click here to continue anyway."?
Let's fix Package Manager so it works from CDs OR network.
And Yum (and/or yumex/kyum, etc)...
Probably this is a natural problem with open-source development, where it's hard to impose strict requirements, and maybe that's even a bad thing, but it prevents the normalization of resources, and that can lead to confusion and problems.
I'd like to help...
Thanks for listening.
Greg
kadoo
2006-11-16, 10:05 PM PST
I have a peculiar problem! In our organization, the proxy username is the FULL email address. For authentication, I tried all the tips and tricks mentioned in this thread, but couldnt get through. I know the reason since beginning...as our proxy username is the full email address, there will be TWO '@' symbols in the follwing format, which probably confuses yum.
format: http_proxy=http://user:passwd@proxy.foo.com:portnumber
The configuration (given below) in fedora webpage http://fedora.redhat.com/docs/yum/sn-yum-proxy-server.html gives me a 'non-numeric' port error.
proxy=http://mycache.mydomain.com:3128
proxy_username=yum-user
proxy_password=qwerty
Interestingly, I could circumvent the problem on my FC4 server using Squid!! I configured Squid (on port 3100) to access the parent (organization's) proxy with username (email address) and password. Then I told yum to use the local (Squid) proxy. This didnt require username and password for yum, as they were handled by the local Squid proxy. Yum worked fine.
I tried to use the same trick on my FC6 laptop. The squid servers on both the FC4 and FC6 boxes correctly serve http/ftp requests from BROWSERS. However, the yum on my FC6 laptop wont work with either of the local proxies. Yum gives following error:
[root@pc1 ~]# yum update
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
Could not retrieve mirrorlist http://mirrors.fedoraproject.org/mirrorlist?repo=core-6&arch=i386 error was
[Errno 14] HTTP Error 503: Server: squid/2.6.STABLE4
Date: Fri, 17 Nov 2006 05:13:48 GMT
Content-Type: text/html
Content-Length: 1182
Expires: Fri, 17 Nov 2006 05:13:48 GMT
X-Squid-Error: ERR_DNS_FAIL 0
X-Cache: MISS from 172.16.23.54
X-Cache-Lookup: MISS from 172.16.23.54:3100
Via: 1.0 172.16.23.54:3100 (squid/2.6.STABLE4)
Proxy-Connection: close
It seems like it's error from Squid. I configured FC6 squid to use the localhost nameserver (by running bind) and/or specified the nameserver in /etc/resolve.conf. But no way. It's surprising that both the FC4/FC6 Squid boxes correctly serve http/ftp requests from browsers but why not from yum on FC6? I made sure that the yum configuration files on both the boxes are same. Also tried Yumex, Kyum, which also refuge to work. Any help in this regard will be highly appriciated. TIA.
Zabby
2007-01-09, 10:51 PM PST
[QUOTE=RossCampbell]create the following files in /etc/profile.d, and then this will work in *any* shell for *any* user of the system
#proxy.sh
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/
#proxy.csh
setenv http_proxy http://host.com:port/
setenv ftp_proxy http://host.com:port/
setenv no_proxy .domain.com
setenv HTTP_PROXY http://host.com:port/
setenv FTP_PROXY http://host.com:port/[/QUOTE]
Work Perfectly for me; first time round. Only I redirected this through Your Freedom i.e. localhost:8080
kadoo
2007-01-10, 05:04 AM PST
[QUOTE=kadoo]In our organization, the proxy username is the FULL email address. ... there will be TWO '@' symbols in the follwing format, which probably confuses yum.
format: http_proxy=http://user:passwd@proxy.foo.com:portnumber
[/QUOTE]
I resolved the problem using percent encoding. As my FULL email address is my username, the above format would expand as below, with two '@'s, so yum would treat abcd.com as password, which would fail.
http_proxy=http://user@abcd.com:userpasswd@proxy.foo.com:portnumber
I encoded the first '@' as '%40', which worked. I specified the http_proxy and ftp_proxy variables in /etc/bashrc and exported them as follows:
http_proxy=http://user%40abcd.com:userpasswd@proxy.foo.com:portnumber
Yum works fine. But Yumex doesnt, as it relies on /etc/yum.conf, which does NOT have the proxy information. If proxy is mentioned in /etc/yum.conf, it gives non-numeric port error. And Yumex probably doesnt handle either two '@'s or percent encoding in URL, when declared in it's own configuration.
If someone's proxy username or password contains any special characters, percent encoding might work.
Kadoo
zillah
2007-01-30, 10:56 AM PST
Please see my thread here :
http://forums.fedoraforum.org/showthread.php?p=734639#post734639
raye
2007-03-09, 12:50 PM PST
[QUOTE=zabilcm]For people behind a windows proxy which uses NTLM authentication this link will help.
http://ntlmaps.sourceforge.net/
The above program should be run as a proxy on your desktop and all your connections should be directed through this.[/QUOTE]
Did this work for anyone?
itsgarry
2007-05-01, 04:19 AM PDT
[QUOTE=raye]Did this work for anyone?[/QUOTE]
I use ntlmaps at work where they use ISA server in native NTLM mode. It does not support basic authentication, so ntlmaps fixes that problem.
It basically runs on my fedora desktop as a local proxy, and I can point any web application I like to it, for example, yum and a weather applet.
The only drawback is that we are required to change our AD password every month, and that is hard coded in the ntlmaps config file, so I have to change the config file and restart ntlmaps when I change my password.
raye
2007-05-08, 03:37 PM PDT
[QUOTE=itsgarry]I use ntlmaps at work where they use ISA server in native NTLM mode. It does not support basic authentication, so ntlmaps fixes that problem.
It basically runs on my fedora desktop as a local proxy, and I can point any web application I like to it, for example, yum and a weather applet.
The only drawback is that we are required to change our AD password every month, and that is hard coded in the ntlmaps config file, so I have to change the config file and restart ntlmaps when I change my password.[/QUOTE]
How are you running ntlmaps? I have had people tell me it works but they do not specify the exact procedure to get it to work. When should ntlmaps be loaded? How do you "point at any web application" such as yum? Please give detail instructions or information. I have set it up, configured it and run it in a terminal session but yum refuses to work. Please explain. Thanks! Also, is there a particular version of fedora that must be run? 4? 5? 6?
Ray
itsgarry
2007-05-08, 05:39 PM PDT
Hi Ray,
I installed ntlmaps-0.9.9.6-1 from RPM on Fedora Core 6, which install the required binary files in /opt/ntlmaps, and the configuration file in /etc/ntlmaps.
The only file that needs to be changed is /etc/ntlmaps/server.cfg.
The parameters that I changed were PARENT_PROXY, FRIENDLY_IPS, DIRECT_CONNECT_IF_POSSIBLE, NT_DOMAIN, USER and PASSWORD.
The changes that are required are pretty self explanatory, just make sure you put the loopback address in as a FRIENDLY_IPS.
Start the proxy by running /opt/ntlmaps/main.py as root, and it will bind to port 5865 by default. Then point any application that needs internet access to use the proxy at localhost port 5865.
--Garry.
joostieke
2007-05-10, 04:41 AM PDT
This REALLY SOLVES ALL MY PROBLEMS!!!
Also, for the ones getting the numerical error.. try using
proxy="http://server:port/"
proxy_username=username
proxy_password=password
worked for me in FC7
...
[QUOTE=kadoo]I resolved the problem using percent encoding. As my FULL email address is my username, the above format would expand as below, with two '@'s, so yum would treat abcd.com as password, which would fail.
http_proxy=http://user@abcd.com:userpasswd@proxy.foo.com:portnumber
I encoded the first '@' as '%40', which worked. I specified the http_proxy and ftp_proxy variables in /etc/bashrc and exported them as follows:
http_proxy=http://user%40abcd.com:userpasswd@proxy.foo.com:portnumber
Yum works fine. But Yumex doesnt, as it relies on /etc/yum.conf, which does NOT have the proxy information. If proxy is mentioned in /etc/yum.conf, it gives non-numeric port error. And Yumex probably doesnt handle either two '@'s or percent encoding in URL, when declared in it's own configuration.
If someone's proxy username or password contains any special characters, percent encoding might work.
Kadoo[/QUOTE]
sateeshpnv
2007-05-14, 06:16 AM PDT
Thanks for the percent encoding tip. It worked.
jaannawaz
2007-05-16, 03:07 AM PDT
im new user to linux i want to know how to setup networking in linux os