Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge rsync problems.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Stumpy
n00b
n00b


Joined: 24 Jun 2002
Posts: 17

PostPosted: Mon Jun 24, 2002 5:48 pm    Post subject: emerge rsync problems. Reply with quote

I'm a n00b to linux and i'm installing gentoo. I'm experiencing diffuculties with the emerge rsync step.

I'm having this error:
Code:
>>>Note: /etc/make.profile isn't available; an 'emerge sync' will probably fix this.
>>>starting rsync with rsync://rsync.gentoo.org/gentoo-portage...
rsync: getaddrinfo:rsync.gentoo.org 873: Temporary failure in name resolution rsync error: errorin socket IO (code 10) at clientserver.c (89)


This is exactly what this other thread is describing. https://forums.gentoo.org/viewtopic.php?t=4818&highlight=rsync

Anyhow, someone said that he do an "emerge sync".

When I do this I get the exact same error as "emerge rsync"

Can anyone please tell me what I'm doing wrong? Thanks in advance for your help. :)
Back to top
View user's profile Send private message
jadenjahner
n00b
n00b


Joined: 04 May 2002
Posts: 28

PostPosted: Mon Jun 24, 2002 5:54 pm    Post subject: Reply with quote

Did you setup your /etc/resolv.conf?
_________________
I can't think of anything catchy to put here, so I'll just leave it blank.
Back to top
View user's profile Send private message
Stumpy
n00b
n00b


Joined: 24 Jun 2002
Posts: 17

PostPosted: Mon Jun 24, 2002 5:55 pm    Post subject: Reply with quote

I did not.

How do I edit that file?
Back to top
View user's profile Send private message
Stumpy
n00b
n00b


Joined: 24 Jun 2002
Posts: 17

PostPosted: Mon Jun 24, 2002 6:23 pm    Post subject: Reply with quote

Ok, I edited with nano, put my correct nameserver and I still get the same error. :cry:
Back to top
View user's profile Send private message
Stumpy
n00b
n00b


Joined: 24 Jun 2002
Posts: 17

PostPosted: Mon Jun 24, 2002 6:34 pm    Post subject: Reply with quote

I've discovered that I can NOT ping anything. :(

It tells me Unknown host. :(
Back to top
View user's profile Send private message
frocco
n00b
n00b


Joined: 12 Jun 2002
Posts: 69

PostPosted: Mon Jun 24, 2002 6:47 pm    Post subject: Reply with quote

I had that same problem, I had forgot to do this step:

# cd /etc/init.d
# cp net.eth0 net.ethx
# rc-update add net.ethx default

HTH
_________________
Best Regards,

Frank

"row, row, row your boat, gentoo down the stream"
Back to top
View user's profile Send private message
Stumpy
n00b
n00b


Joined: 24 Jun 2002
Posts: 17

PostPosted: Mon Jun 24, 2002 6:50 pm    Post subject: Reply with quote

frocco,
I don't remember doing that step, I will go do it now. Thank you!
Back to top
View user's profile Send private message
Stumpy
n00b
n00b


Joined: 24 Jun 2002
Posts: 17

PostPosted: Mon Jun 24, 2002 7:16 pm    Post subject: Reply with quote

This step did not work.

I'm starting over and i'm reconfiguring my network.

I have a Netgear RT314 DSL router that has DHCP enabled. I do the DHCP setup, and it times out when looking for a DHCP server. Why is this? :cry:
Back to top
View user's profile Send private message
Kilian
Guest





PostPosted: Mon Jun 24, 2002 7:41 pm    Post subject: RE: DHCP Reply with quote

If you have multiple network cards (real or virtual), it's possible that you aren't using the correct one. Also, often cable providers will use DHCP but still expect your computer to set much of this information itself. If you have multiple cards, make sure you have the right one, eth0 isn't always your internet connection. Also try setting things up manually and seeing if that works.
Back to top
Stumpy
n00b
n00b


Joined: 24 Jun 2002
Posts: 17

PostPosted: Mon Jun 24, 2002 7:55 pm    Post subject: Reply with quote

I'm using 1 NIC card with ADSL.

I'll try setting things up manually.

Does anyone know how to find out my broadcast address network mask?

Again, thank everyone in advance for this superb help.
Back to top
View user's profile Send private message
Kilian
n00b
n00b


Joined: 24 Jun 2002
Posts: 74
Location: Canada

PostPosted: Mon Jun 24, 2002 8:16 pm    Post subject: BCAST Reply with quote

Your broadcast address will typically be .255 on the same subnet as your IP;
that is, if your IP is 192.168.1.1, BCAST is typically 192.168.1.255

This is, of course, assuming an awful lot about your connection, but I feel pretty secure in these assumptions if you're on DSL :)
Back to top
View user's profile Send private message
phantasm
n00b
n00b


Joined: 21 Jun 2002
Posts: 71
Location: Cincinnati

PostPosted: Mon Jun 24, 2002 8:33 pm    Post subject: Reply with quote

Basically doing it manual may be bad if you are connected to a DHCP network, the ip you pick may be taken by someone else. Is eth0 up when you run ifconfig do you see it? Doing a dhcpcd should get you an IP. Try resetting the DSL modem and then using dhcp to get the info. Somethings I have to do that with my cable modem
Back to top
View user's profile Send private message
Stumpy
n00b
n00b


Joined: 24 Jun 2002
Posts: 17

PostPosted: Mon Jun 24, 2002 9:19 pm    Post subject: Reply with quote

The thing is I'm not directly connected to my DSL modem.

DSL Modem > DHCP Router (firewall) > Computers.

I've tried the dhcpcd and it didn't work. :( It tells me that the DHCP server timed out.

I can't even ping local IP addresses. *sigh* I really don't konw what i'm doing wrong. :(
Back to top
View user's profile Send private message
phantasm
n00b
n00b


Joined: 21 Jun 2002
Posts: 71
Location: Cincinnati

PostPosted: Mon Jun 24, 2002 9:57 pm    Post subject: Reply with quote

Are you able to look at the log files on your dhcp router? To see if it is even getting a request. Maybe Gentoo is sending something weird to it.
Back to top
View user's profile Send private message
phantasm
n00b
n00b


Joined: 21 Jun 2002
Posts: 71
Location: Cincinnati

PostPosted: Mon Jun 24, 2002 9:58 pm    Post subject: Reply with quote

Another thought, are you limited the IP address your alloted by your ISP. I know I am only allowed to have two outside IP's through my cable modem. Can any other computer get outside? Do you have any other computers you can test with the router.
Back to top
View user's profile Send private message
Stumpy
n00b
n00b


Joined: 24 Jun 2002
Posts: 17

PostPosted: Mon Jun 24, 2002 10:02 pm    Post subject: Reply with quote

The computer i'm posting with right now is going through the same router. There are 4 computers that are able to get to the internet with that router (and 5 if I get my computer on windows).

The router does work, but i'm doing something wrong with Gentoo... I think. :(

basically, all i'm doing is typing in: dhcpcd
that's it. It will refuse to work.
Back to top
View user's profile Send private message
phantasm
n00b
n00b


Joined: 21 Jun 2002
Posts: 71
Location: Cincinnati

PostPosted: Mon Jun 24, 2002 10:06 pm    Post subject: Reply with quote

Try ifconfig eth0 down
ifconfig eth0 up
then dhcpcd and see if all of those work and post errors if you get anything when you type ifconfig eth0 up or down. Other then that I am not sure for I am also new to Gentoo. Do you have any other Linux boxes on the this router. I know you said you had 4 other boxes one be at least windows.
Back to top
View user's profile Send private message
Stumpy
n00b
n00b


Joined: 24 Jun 2002
Posts: 17

PostPosted: Mon Jun 24, 2002 10:14 pm    Post subject: Reply with quote

I will go try that now.

I had redhat before gentoo, which worked fine online.
Back to top
View user's profile Send private message
phantasm
n00b
n00b


Joined: 21 Jun 2002
Posts: 71
Location: Cincinnati

PostPosted: Mon Jun 24, 2002 10:46 pm    Post subject: Reply with quote

If RH works fine then there is always the possiablity something being wrong with that Network card and or the kernel driver could be throughing up some errors. Do a dmesg and see if there is anything wrong in there and look at your log files to see if you find anything out of place. If you can replace the card with a known working card. After that I am afriad I am out of idea.s
Back to top
View user's profile Send private message
Stumpy
n00b
n00b


Joined: 24 Jun 2002
Posts: 17

PostPosted: Tue Jun 25, 2002 12:02 am    Post subject: Reply with quote

Well, I disabled DHCP on the router, and setup gentoo for the static stuff. Everything now works perfectly, I can ping any website I want.

emerge rsync still does not work, however. I don't know why since I can ping any website including gentoo.org.

Is the rsync server down?
Back to top
View user's profile Send private message
Kilian
n00b
n00b


Joined: 24 Jun 2002
Posts: 74
Location: Canada

PostPosted: Tue Jun 25, 2002 12:51 am    Post subject: Reply with quote

The original message you posted looks like you either didn't edit your /etc/resolv.conf file, or perhaps forgot to copy it before chroot'ing. First thing I would do is double check and make sure resolv.conf has your DNS servers in it. File should look similar to this:

domain yourdomain.net
nameserver X.X.X.X
nameserver X.X.X.X

Make sure you have at least one valid nameserver entry in the file.

If all of that still doesn't work, you can try to wget the portage tree manually instead. Simply do the following instead of 'emerge rsync':
Code:

# cd /usr
# wget http://www.ibiblio.org/pub/Linux/distributions/gentoo/snapshots/portage-20020623.tar.bz2
# tar -xvjpf portage-20020623.tar.bz2


If that still doesn't work, only thing I could think of is an obscure problem with the 1.3 tree, but from the looks of your original error, I'd say you're working with 1.2. Hope all this helps.

Hope that helps.
Back to top
View user's profile Send private message
Stumpy
n00b
n00b


Joined: 24 Jun 2002
Posts: 17

PostPosted: Wed Jun 26, 2002 12:10 am    Post subject: Reply with quote

Emerge rsync finally started working, for no appearent reason! :)

Thanks everyone for the help!!!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum