Hi :)
On 3/27/07, Mark Goldstein <[EMAIL PROTECTED]> wrote:
On 3/26/07, Rafa Grimán <[EMAIL PROTECTED]> wrote: > I'm trying o update an OpenSUSE 10.2 but I'm behind a proxy which requires > authentication. There's no way I can get YOU to sync. I have tried defining > http_proxy et al variables with and without user+password (/etc/sysconfig/) > to no avail :( I know the http_proxy variables are well defined because I can > browse the Internet, ftp, ping, dig, ... but YOU just won't work. > > I found this line: > > string command = "curl --verbose --proxy %1 %2 --connect-timeout %3 --url %4"; > > in the /usr/share/YaST2/modules/Proxy.ycp file, but I'm not sure whether this > is where I'd have to add one of the > > --proxy-anyauth | --proxy-basic | --proxy-digest | --proxy-ntlm > > options. Is this where I'd have to add one of these options? > > More info, when I try to register my OpenSUSE I get a 56 exit code from curl > (Failure in receiving network data). When I try to add a new repo I get an > error stating that the source can't be reached but if I copy'n'paste the same > URL in a browser ... it shows up. That's strange, I've had this problem with older versions of SuSE, but 10.2 worked fine. I defined proxy in YaST (network services-> proxy) and it created /root/.curlrc with the line proxy-user = "user:passwrod". That's all is needed.
Thanks for the tip but ... When I defined the Proxy settings via YaST (as you describe) I (root) didn't get the .curlrc file created so I created it manually. Logged out ... logged in ... rebooted ... The only thing left to do ins reinstall ;) But I still get the error I get when I start the Online Update Configuration and when I try to add a new installation source: Execute curl command failed with '56': curl: (56) Received HTTP code 407 from proxy after CONNECT My proxy settings are as follows: http_proxy=http://user:[EMAIL PROTECTED]:8080/ ftp_proxy=http://user:[EMAIL PROTECTED]:8080/ gopher_proxy=http://user:[EMAIL PROTECTED]:8080/ https_proxy=http://user:[EMAIL PROTECTED]:8080/ no_proxy=10*, localhost, 127.0.0.1 Would I have to remove the "user:password" part from these variables if I use the .curlrc file? YaST put them there so I guess that's OK and they won't interfere. Would I need to add to the .curlrc file a: --proxy-anyauth | --proxy-basic | --proxy-digest | --proxy-ntlm entry? I must say that my OpenSUSE 10.2 has not be updated in anyway since I have no connection. It's plain ol' DVD installation. TIA Rafa -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]