hirohitosan Posted April 20, 2007 Report 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 Quote Link to comment Share on other sites More sharing options...
Mhn Posted April 20, 2007 Report 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>). [...] Quote Link to comment Share on other sites More sharing options...
ilia_kr Posted April 20, 2007 Report 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. Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted April 20, 2007 Report 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. Quote Link to comment Share on other sites More sharing options...
hirohitosan Posted April 23, 2007 Author Report Share Posted April 23, 2007 :) ... many thanks ... it works Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.