hirohitosan Posted April 20, 2007 Share Posted April 20, 2007 hello to everyone I tried to update my computer with urpmi but it cannot connect to the server. I use DHCP and proxy server to connect to the internet. when I try: urpmi.addmedia it fail to connect I don't know how to configure to connect through proxy server. Can anyone give some advices? thanks Link to comment Share on other sites More sharing options...
Mhn Posted April 20, 2007 Share Posted April 20, 2007 # urpmi.addmedia --help [...] --proxy - use specified HTTP proxy, the port number is assumed to be 1080 by default (format is <proxyhost[:port]>). --proxy-user - specify user and password to use for proxy authentication (format is <user:password>). [...] Link to comment Share on other sites More sharing options...
ilia_kr Posted April 20, 2007 Share Posted April 20, 2007 Can you view normally web pages? I mean does your internet connection work? Did you use "urpmi.addmedia" similar to easy-urpmi instructions? You can try using "--wget" option. That will use wget instead default curl. Link to comment Share on other sites More sharing options...
ianw1974 Posted April 20, 2007 Share Posted April 20, 2007 Another way to configure to go by proxy for all apps: export http_proxy=192.168.1.10:3128 export ftp_proxy=192.168.1.10:3128 replace the ip with your proxy server and change the port accordingly. Then, all command line apps will use the proxy without the need for configuration. Link to comment Share on other sites More sharing options...
hirohitosan Posted April 23, 2007 Author Share Posted April 23, 2007 :) ... many thanks ... it works Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now