View previous topic :: View next topic |
Author |
Message |
mordecai Guest
|
Posted: Sun Aug 25, 2002 4:00 pm Post subject: Stage 1 Networking |
|
|
Hey,
I have been trying to get Gentoo working off a stage 1 tarball. Everything works fine untill I get to emerging rsync then it tells me "error in socket IO (code 10) at clientserver.c(97). I have a proxy at 90.0.0.2 that I must run through and here are the commands I use before this happens:
modprobe tulip
ifconfig eth0 90.0.0.1 broadcast 90.0.0.255 netmask 255.255.255.0
route add -net default gw 90.0.0.2 netmask 255.255.255.0 metric 1
Then I nano into /etc/resolv.conf and put:
nameserver 90.0.0.2
I know this might not be enough information but any suggestions to why this isn't working would be helpful. I am out of ideas. |
|
Back to top |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Sun Aug 25, 2002 9:21 pm Post subject: |
|
|
You need to tell emerge and/or wget to use that proxy. Look into /etc/make.conf for the proxy options.
--kurt _________________ The problem with political jokes is that they get elected |
|
Back to top |
|
|
mordecai Guest
|
Posted: Sun Aug 25, 2002 9:53 pm Post subject: grr |
|
|
Ah, sorry I didn't post this before. I already tried using a proxy. I changed the aforementioned file, and set the PROXY, HTTP_PROXY, and FTP_PROXY environment variables. The exact same thing happens. |
|
Back to top |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Sun Aug 25, 2002 10:01 pm Post subject: Re: Stage 1 Networking |
|
|
OK, in that case, looking over your original post again:
mordecai wrote: | route add -net default gw 90.0.0.2 netmask 255.255.255.0 metric 1 |
Are you *sure* your default gateway is the same as your proxy? The two are not synonymous -- one operates at a much lower level on the stack.
Might want to double-check with your network administrator what your default gateway and/or proxy IP really should be.
--kurt _________________ The problem with political jokes is that they get elected |
|
Back to top |
|
|
mordecai Guest
|
Posted: Sun Aug 25, 2002 10:32 pm Post subject: yea |
|
|
Well, I want to configure my gateway to point to my proxy, yes. I have dome this in Mandrake and Junkdows and it works fine, also allowing me to use programs with no proxy support through the proxy.
Possibly a little help... I went through the motions again then tried wget... the DNS lookup is working fine so it is something after that. |
|
Back to top |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Sun Aug 25, 2002 10:52 pm Post subject: Re: yea |
|
|
mordecai wrote: | Well, I want to configure my gateway to point to my proxy, yes. |
Proxy != gateway. Unless your proxy has routing capabilities built into it, this won't work. It may work for some things, but rsync probably isn't one of them (see below)
mordecai wrote: | I have dome this in Mandrake and Junkdows and it works fine, also allowing me to use programs with no proxy support through the proxy. |
Again, a proxy operates at an entirely different layer than IP does. Proxying is an application-layer function. Routing is a network-layer function. It's possible that your proxy is also configured to be a gateway, but from everything you describe, I don't think that's the case.
mordecai wrote: | Possibly a little help... I went through the motions again then tried wget... the DNS lookup is working fine so it is something after that. |
Did you set the wget proxy? If you call wget separately, it won't pull the values from /etc/make.conf. You have to set that proxy separately via ~/.wgetrc.
Set the proxy in that file and try to download something -- a web page, whatever.
Also, unless your proxy is specifically set up to handle rsync traffic (tcp port 873) you probably won't be able to get rsync to work that way.
--kurt _________________ The problem with political jokes is that they get elected |
|
Back to top |
|
|
|