Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems with initial ethernet connection
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
McMorrison
n00b
n00b


Joined: 22 Feb 2005
Posts: 25

PostPosted: Tue Feb 22, 2005 1:18 pm    Post subject: Problems with initial ethernet connection Reply with quote

Ok i know this problem crops up alot but i've searched these forums still clueless as to what exactly is up with my ethernet connection during the install. so here goes.

basically i don't even know if the ethernet card/connection is detected (i'm using a PCI ethernet card hooked up to a cable modem) i can't ping IP's and everything i try to do to install it fails.

I'd really appreciate the help as i'd love to start using gentoo

many thanks
Back to top
View user's profile Send private message
loki99
Advocate
Advocate


Joined: 10 Oct 2003
Posts: 2056
Location: Vienna, €urope

PostPosted: Tue Feb 22, 2005 1:29 pm    Post subject: Reply with quote

what does
Code:
lspci
say?
Back to top
View user's profile Send private message
McMorrison
n00b
n00b


Joined: 22 Feb 2005
Posts: 25

PostPosted: Tue Feb 22, 2005 1:39 pm    Post subject: Reply with quote

ok alot of hardware devices come up. i think the relevant line is:

000:01:05.0 Ethernet Controller: Realtek Semiconductor Co.; Ltd. RTL-8139/8139C/8139C+ (rev 10)

i'm just assuming it's this line because this is the device that i use when connecting to the internet on XP
Back to top
View user's profile Send private message
loki99
Advocate
Advocate


Joined: 10 Oct 2003
Posts: 2056
Location: Vienna, €urope

PostPosted: Tue Feb 22, 2005 2:11 pm    Post subject: Reply with quote

i assume you did look at the handbook. but what have you tried until now?
what does
Code:
ifconfig eth0
say?

did you try "net-setup" as suggested in the handbook?
Back to top
View user's profile Send private message
McMorrison
n00b
n00b


Joined: 22 Feb 2005
Posts: 25

PostPosted: Tue Feb 22, 2005 2:34 pm    Post subject: Reply with quote

yes i'm following the hand book.

when i type in ifconfig eth0 i get the following:

eth0 Link encap: Ethernet HWaddr 00:0B:DB:B3:60:55
UP BROADCAST NOTRAILERS MULTICAST MTU:1500 Metric:1
RX packets: 0 errors: 0 dropped: 0 overruns: 0 frame: 0
TX packets: 2 errors: 0 dropped: 0 overruns: 0 carrier: 0
collisions: 0 txqueuelen: 1000
RX bytes: 0 (0.0 b) TX bytes: 1180 (1.1 Kb)
Interrupt


I've also tried net-setup countless times. without success. my net uses DHCP and i've try using net-setup but i still can't ping any ips. :S

I must be doing something stupid wrong.
Back to top
View user's profile Send private message
loki99
Advocate
Advocate


Joined: 10 Oct 2003
Posts: 2056
Location: Vienna, €urope

PostPosted: Tue Feb 22, 2005 3:11 pm    Post subject: Reply with quote

is the correct module loaded for your card?

try:
Code:
modprobe 8139too


this should load the proper module, after that repeat
Code:
dhcpcd eth0
Back to top
View user's profile Send private message
McMorrison
n00b
n00b


Joined: 22 Feb 2005
Posts: 25

PostPosted: Tue Feb 22, 2005 3:16 pm    Post subject: Reply with quote

thanks for your help btw. :)

i'll give it a try now
Back to top
View user's profile Send private message
McMorrison
n00b
n00b


Joined: 22 Feb 2005
Posts: 25

PostPosted: Tue Feb 22, 2005 3:25 pm    Post subject: Reply with quote

tried that. no change.

is it something to do with the module loaded to the ethernet card?
Back to top
View user's profile Send private message
loki99
Advocate
Advocate


Joined: 10 Oct 2003
Posts: 2056
Location: Vienna, €urope

PostPosted: Tue Feb 22, 2005 4:08 pm    Post subject: Reply with quote

what does it say when you enter "modprobe 8139too"?

is the module loaded? do you get an error? what do you get when you do "dhcpcd eth0"?
please give as much info as possible.
Back to top
View user's profile Send private message
McMorrison
n00b
n00b


Joined: 22 Feb 2005
Posts: 25

PostPosted: Tue Feb 22, 2005 4:12 pm    Post subject: Reply with quote

sure

when i enter both things nothing visual happens, just goes to the next command line.
when i enter dhcpcd eth0 there is a pause for about 30 seconds then it goes onto the next command line.

the data light on my modem does not flash, but the pc connection light is flashing
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2969

PostPosted: Tue Feb 22, 2005 4:15 pm    Post subject: Reply with quote

McMorrison wrote:
sure

when i enter both things nothing visual happens, just goes to the next command line.

That is to be expected, as both of these programs are of the silent type, no output if they end successfully.

Try running ifconfig AFTER these two commands, what do you get?
Back to top
View user's profile Send private message
McMorrison
n00b
n00b


Joined: 22 Feb 2005
Posts: 25

PostPosted: Tue Feb 22, 2005 4:36 pm    Post subject: Reply with quote

tried that. i get the same as before except 'NOTRAILERS' has gone
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2969

PostPosted: Tue Feb 22, 2005 4:40 pm    Post subject: Reply with quote

Please tell us the exact error message that occurs when you try to ping google (for example).
Back to top
View user's profile Send private message
McMorrison
n00b
n00b


Joined: 22 Feb 2005
Posts: 25

PostPosted: Tue Feb 22, 2005 4:51 pm    Post subject: Reply with quote

ok when i try and ping google

Code:
# ping -c 3 www.google.com
 ping: unknown host www.google.com
Back to top
View user's profile Send private message
loki99
Advocate
Advocate


Joined: 10 Oct 2003
Posts: 2056
Location: Vienna, €urope

PostPosted: Tue Feb 22, 2005 5:59 pm    Post subject: Reply with quote

please try to ping the ip-adress.

Code:
ping 66.102.9.99

perhaps the problem is with name resolving.
Back to top
View user's profile Send private message
McMorrison
n00b
n00b


Joined: 22 Feb 2005
Posts: 25

PostPosted: Tue Feb 22, 2005 8:37 pm    Post subject: Reply with quote

nope that doesn't work either. same error message
Back to top
View user's profile Send private message
loki99
Advocate
Advocate


Joined: 10 Oct 2003
Posts: 2056
Location: Vienna, €urope

PostPosted: Tue Feb 22, 2005 8:48 pm    Post subject: Reply with quote

McMorrison wrote:
nope that doesn't work either. same error message


sorry, if that whole thing takes a while. inspite of my rank i am no guru, but i hope, i know enough, to help you solve the prob. and if i cannot, someone else will! :lol:

i'm still wondering is that module loaded now or not! you should be able to find out by doing:
Code:
lsmod


cheers, loki99!
Back to top
View user's profile Send private message
McMorrison
n00b
n00b


Joined: 22 Feb 2005
Posts: 25

PostPosted: Tue Feb 22, 2005 8:50 pm    Post subject: Reply with quote

i don't mind if it take a while, i really appreciate your help :)
the error message when i try and ping that IP is:

connection: network is unreachable

i will try lsmod now
Back to top
View user's profile Send private message
racoontje
Veteran
Veteran


Joined: 19 Jul 2004
Posts: 1290

PostPosted: Tue Feb 22, 2005 9:11 pm    Post subject: Reply with quote

If
Code:
ifconfig -a

shows eth0, we don't have to bother looking in the driver area -- the kernel recognizes the ethernet card.


Try
Code:
dmesg | grep 8139too
and
Code:
dmesg | grep eth0


They should be vaguely similar.
Back to top
View user's profile Send private message
McMorrison
n00b
n00b


Joined: 22 Feb 2005
Posts: 25

PostPosted: Tue Feb 22, 2005 9:14 pm    Post subject: Reply with quote

ok it's pulled up alot of stuff i don't understand so here goes:


Code:
Module       Size         Used By
evdev      6464         0
8139too      17664       0
crc32      3040         1  8139too
b44      14916       0
mii      2304         2  8139too, b44
parport_pc   27072       0
parport      22728       1  parport_pc
sbp2      16744       0
ohci1394   24836       0
ieee1394   62008       2  sbp2, ohci1394
ohci_hcd   15044       0
uhci_hcd   23152       0
usb_storage   46208       0
ehci_hcd   21028       0


sorry about the mess
Back to top
View user's profile Send private message
McMorrison
n00b
n00b


Joined: 22 Feb 2005
Posts: 25

PostPosted: Tue Feb 22, 2005 9:34 pm    Post subject: Reply with quote

Quote:
If
Code:
ifconfig -a

shows eth0, we don't have to bother looking in the driver area -- the kernel recognizes the ethernet card.


Try
Code:
dmesg | grep 8139too
and
Code:
dmesg | grep eth0


They should be vaguely similar.


ok this has brought up something interesting.

I think that eth0 is configured wrongly as the dmseg commands brought up 2 totally different things.

however if config -a brought up something else. it appears that my realtech ethernet card (the one connected to the internet) is on eth1. how do i change it so that eth1 is used to connect to the net?
Back to top
View user's profile Send private message
racoontje
Veteran
Veteran


Joined: 19 Jul 2004
Posts: 1290

PostPosted: Tue Feb 22, 2005 9:37 pm    Post subject: Reply with quote

Hah, now we're getting somewhere! Perhaps eth0 is firewire or something.


Anyway,

Code:
dhcpcd eth1
Back to top
View user's profile Send private message
McMorrison
n00b
n00b


Joined: 22 Feb 2005
Posts: 25

PostPosted: Tue Feb 22, 2005 9:48 pm    Post subject: Reply with quote

ok nothing visual occured. now i have absolutely no idea where to go next. it still won't let me ping Ip's. i get errors.

do i have to delete eth0? or change the configuration so that the internet automatically goes through eth1?

i think eth0 is an onboard 56k modem i've never used
Back to top
View user's profile Send private message
racoontje
Veteran
Veteran


Joined: 19 Jul 2004
Posts: 1290

PostPosted: Tue Feb 22, 2005 10:00 pm    Post subject: Reply with quote

That's not possible, modems are ttySx'es, not eth's.


Perhaps you could try
Code:
net-setup eth1


but it's wierd that dhcpcd does nothing. Try verbosing it. Man it and see if it's very verbosable (-v -v)
Back to top
View user's profile Send private message
McMorrison
n00b
n00b


Joined: 22 Feb 2005
Posts: 25

PostPosted: Tue Feb 22, 2005 10:09 pm    Post subject: Reply with quote

tried doing net-setup.

didn't change anything

and yes it is very verbosable


Last edited by McMorrison on Tue Feb 22, 2005 10:13 pm; edited 1 time in total
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
Goto page 1, 2  Next
Page 1 of 2

 
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