Gentoo....finally installed but no net

Goosemaster

Lifer
Apr 10, 2001
48,775
3
81
I know I asked someone else this but want everyones opinion on the matter..

I FINALLY finished the install after about 5 failed attempts...now I cannot get the network to run ...I get a name resolution IO error


I am using a DHCP setup, and followed many of the gentoo forums recommendations but to no avail


any ideas?
 

Goosemaster

Lifer
Apr 10, 2001
48,775
3
81
when I booted up



I tried to run emerge rsync after logining in and then that showed up...


I really can't wait to get this working so Ican download KDE 3 and gnome:D
 

agnitrate

Diamond Member
Jul 2, 2001
3,761
1
0
When you compiled the kernel, did you be sure to include support for your network card, either compiled in or via module?

Does the error occur during boot when it tries to initialize eth0 or during the end of the setup process?

-silver
 

Goosemaster

Lifer
Apr 10, 2001
48,775
3
81
Originally posted by: agnitrate
When you compiled the kernel, did you be sure to include support for your network card, either compiled in or via module?

Does the error occur during boot when it tries to initialize eth0 or during the end of the setup process?

-silver

I think i DID not compile the kernel with my NIC support but redid the compiling....still no go



I I recall correctly, I think eth0 fails
 

agnitrate

Diamond Member
Jul 2, 2001
3,761
1
0
Hmmm, well it sounds like your network must have been running at one point since you have the kernel downloaded. Unless you are using a stage2/3 tarball file. I have only gone from scratch so I'm not sure of the process.

Has your network worked prior to the completion of the install?
Do you know what kind module your NIC used? Like mine uses the 8139too module so all I have to do is type modprobe 8139too and it will shoot me some errors if it isn't working.

-silver
 

Tiger

Platinum Member
Oct 9, 1999
2,312
0
0
Do an /sbin/ifconfig -a to see if the network is up and running.
Ping 127.0.0.1 and see what comes up.
Did you remember to edit /etc/conf.d/net to use DHCP?
This could also be the rsync servers being overloaded and not accepting anymore connections.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
ifup eth0

Let us know the errors word for word.

dmesg might help too

And last but not least, what ethernet card are you using? Can you try a static ip?

Come on, you have been using linux long enough to know we arent Kreskin.
 

Goosemaster

Lifer
Apr 10, 2001
48,775
3
81
THe EXACT error is as follows:


rsync:getaddrinfo:rsync.gentoo.org 873: Temporary failure in name resolution

rsync error: error in Socket IO(code 10) at clientserver.c97





 

Abzstrak

Platinum Member
Mar 11, 2000
2,450
0
0
try pinging something like www.yahoo.com to see if its your DNS settings or just the emerge servers....

and on the dimple side of things, you are getting an ip right?
 

Sunner

Elite Member
Oct 9, 1999
11,641
0
76
Well, AFAIK it happens whenever portage can't connect to an rsync mirror, happened to me a load of times before I finally remembered to add my default route in a startscript instead of having to do it manually after seeing that every time I reboot :)
 

Goosemaster

Lifer
Apr 10, 2001
48,775
3
81
Originally posted by: Sunner
Well, AFAIK it happens whenever portage can't connect to an rsync mirror, happened to me a load of times before I finally remembered to add my default route in a startscript instead of having to do it manually after seeing that every time I reboot :)

so, would you mind telling me how to do this.



Like i said, I am not that great at linux...yet;)


SO if you wouldn't mind, please explain everything step by step


I appreciate it
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Originally posted by: Goosemaster
Originally posted by: Sunner
Well, AFAIK it happens whenever portage can't connect to an rsync mirror, happened to me a load of times before I finally remembered to add my default route in a startscript instead of having to do it manually after seeing that every time I reboot :)

so, would you mind telling me how to do this.



Like i said, I am not that great at linux...yet;)


SO if you wouldn't mind, please explain everything step by step


I appreciate it

route add default <default route>

Pretty simple.

Is the default route the problem or is it DNS?
 

Sunner

Elite Member
Oct 9, 1999
11,641
0
76
Actually for some reason the gool old "route add default x.x.x.x" doesn't work, you'll have to use "route add -net default gw x.x.x.x" where x.x.x.x is your gateway.

Of course if you're using DHCP you should recieve the gateway from the DHCP server.

Can you paste the output from "ifconfig -a" and "netstat -rn" here?
Would be helpful.
 

mcveigh

Diamond Member
Dec 20, 2000
6,457
6
81
goose can you post what some of the people are requesting?

ifconfig -a
dmesg
netstat -m

it'll give us more to go on.
have you re-read the gentoo install documentation?

# /sbin/ifconfig $IFACE $IPNUM broadcast $BCAST netmask $NMASK
# /sbin/route add -net default gw $GTWAY netmask 0.0.0.0 metric 1
taken from gentoo install guide
 

Goosemaster

Lifer
Apr 10, 2001
48,775
3
81
Sorry about the wait...I have no internet up in my dorm so I am at the library.

As you might have read in another post, I have KDE up and running..Obviously after a successful "emerge Kde" :D


After checking the "/sbin/ifconfig -a" commands and the "netstat" commands, I kept having the pc only find the loopback controller @ 127.0.0.0 so I was sure that something was obviosuly not working right...


Now, I do remember using the "dhcpcd eth0" command before but I guess third time's a charm"

This time I got it to work, but I was still getting hte damn server error.


I continued to repeat the command and for some odd-ball reason it worked. In some of the server welcome-messages, actually the one in New York, it said the server could handle a Whopping 12
rolleye.gif
connection....

I guess if anything, THAT server should promptly be upgarded.


Thanks.