Re: [yocto] problem with yocto behind http_proxy

2014-02-20 Thread Federico Vitali
Thank you again Laurentiu. I gave it a try, but unfortunately I get an error message from socat telling that authentication is not supported with SOCKS4. Reading the man page I saw that athentication is only supported with TCP. 2014-02-19 15:23 GMT+01:00 Laurentiu Palcu : > On Wed, Feb 19, 2014

Re: [yocto] problem with yocto behind http_proxy

2014-02-19 Thread Paul Eggleton
Hi Federico, On Wednesday 19 February 2014 12:12:58 Federico Vitali wrote: > sorry I forgot to reply also to yocto@yoctoproject.org. This was the reply > > thank you Marco, > I've tried but I'm still having problems: > > WARNING: Failed to fetch URL git:// > git.yoctoproject.org/yocto-kernel-too

Re: [yocto] problem with yocto behind http_proxy

2014-02-19 Thread Federico Vitali
Thank you Laurentiu, tomorrow I'll give it a try! Thank you very much ! Federico 2014-02-19 15:23 GMT+01:00 Laurentiu Palcu : > On Wed, Feb 19, 2014 at 02:57:49PM +0100, Federico Vitali wrote: > > I've alreay tried, it doesn't accept it ... > Apparently, socat has support for authentication. T

Re: [yocto] problem with yocto behind http_proxy

2014-02-19 Thread Laurentiu Palcu
On Wed, Feb 19, 2014 at 02:57:49PM +0100, Federico Vitali wrote: > I've alreay tried, it doesn't accept it ... Apparently, socat has support for authentication. Try this: #!/bin/bash # $1 = hostname, $2 = port PROXY=myproxy.example.com exec socat STDIO SOCKS4:$PROXY:$1:$2,proxyauth=user:pass Abo

Re: [yocto] problem with yocto behind http_proxy

2014-02-19 Thread Federico Vitali
I've alreay tried, it doesn't accept it ... 2014-02-19 14:51 GMT+01:00 Laurentiu Palcu : > On Wed, Feb 19, 2014 at 02:24:38PM +0100, Federico Vitali wrote: > > Thank you Laurentiu. Unfortunately my proxy requires authentication via > > username and password, > > but it seems to me that netcat do

Re: [yocto] problem with yocto behind http_proxy

2014-02-19 Thread Laurentiu Palcu
On Wed, Feb 19, 2014 at 02:24:38PM +0100, Federico Vitali wrote: > Thank you Laurentiu. Unfortunately my proxy requires authentication via > username and password, > but it seems to me that netcat doesn't support it. Or am I wrong? Well, the BSD netcat (on my Ubuntu 12.04) appears to support it:

Re: [yocto] problem with yocto behind http_proxy

2014-02-19 Thread Federico Vitali
Thank you Laurentiu. Unfortunately my proxy requires authentication via username and password, but it seems to me that netcat doesn't support it. Or am I wrong? 2014-02-19 13:56 GMT+01:00 Laurentiu Palcu : > Hi Federico, > > You can find more info about setting up Yocto behind proxies here: > >

Re: [yocto] problem with yocto behind http_proxy

2014-02-19 Thread Laurentiu Palcu
Hi Federico, You can find more info about setting up Yocto behind proxies here: https://wiki.yoctoproject.org/wiki/Working_Behind_a_Network_Proxy For git, I recommend the 'nc' method. Works fine for me. laurentiu On Wed, Feb 19, 2014 at 12:12:58PM +0100, Federico Vitali wrote: > sorry I forgot

Re: [yocto] problem with yocto behind http_proxy

2014-02-19 Thread Federico Vitali
sorry I forgot to reply also to yocto@yoctoproject.org. This was the reply thank you Marco, I've tried but I'm still having problems: WARNING: Failed to fetch URL git:// git.yoctoproject.org/yocto-kernel-tools.git, attempting MIRRORS if available WARNING: Failed to fetch URL git:// git.yoctoproje

Re: [yocto] problem with yocto behind http_proxy

2014-02-19 Thread Marco
Il 19/02/2014 11:44, Federico Vitali ha scritto: Hi, I have problems using yocto behind a firewall. The firewall blocks git, so I've followed the instructions given here: http://www.yoctoproject.org/docs/1.5.1/ref-manual/ref-manual.html#how-does-the-yocto-project-obtain-source-code-and-will-it-

[yocto] problem with yocto behind http_proxy

2014-02-19 Thread Federico Vitali
Hi, I have problems using yocto behind a firewall. The firewall blocks git, so I've followed the instructions given here: http://www.yoctoproject.org/docs/1.5.1/ref-manual/ref-manual.html#how-does-the-yocto-project-obtain-source-code-and-will-it-work-behind-my-firewall-or-proxy-server i.e. addin