View previous topic :: View next topic |
Author |
Message |
McMorrison n00b
Joined: 22 Feb 2005 Posts: 25
|
Posted: Tue Feb 22, 2005 1:18 pm Post subject: Problems with initial ethernet connection |
|
|
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 |
|
|
loki99 Advocate
Joined: 10 Oct 2003 Posts: 2056 Location: Vienna, €urope
|
Posted: Tue Feb 22, 2005 1:29 pm Post subject: |
|
|
what does say? |
|
Back to top |
|
|
McMorrison n00b
Joined: 22 Feb 2005 Posts: 25
|
Posted: Tue Feb 22, 2005 1:39 pm Post subject: |
|
|
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 |
|
|
loki99 Advocate
Joined: 10 Oct 2003 Posts: 2056 Location: Vienna, €urope
|
Posted: Tue Feb 22, 2005 2:11 pm Post subject: |
|
|
i assume you did look at the handbook. but what have you tried until now?
what does say?
did you try "net-setup" as suggested in the handbook? |
|
Back to top |
|
|
McMorrison n00b
Joined: 22 Feb 2005 Posts: 25
|
Posted: Tue Feb 22, 2005 2:34 pm Post subject: |
|
|
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 |
|
|
loki99 Advocate
Joined: 10 Oct 2003 Posts: 2056 Location: Vienna, €urope
|
Posted: Tue Feb 22, 2005 3:11 pm Post subject: |
|
|
is the correct module loaded for your card?
try:
this should load the proper module, after that repeat |
|
Back to top |
|
|
McMorrison n00b
Joined: 22 Feb 2005 Posts: 25
|
Posted: Tue Feb 22, 2005 3:16 pm Post subject: |
|
|
thanks for your help btw.
i'll give it a try now |
|
Back to top |
|
|
McMorrison n00b
Joined: 22 Feb 2005 Posts: 25
|
Posted: Tue Feb 22, 2005 3:25 pm Post subject: |
|
|
tried that. no change.
is it something to do with the module loaded to the ethernet card? |
|
Back to top |
|
|
loki99 Advocate
Joined: 10 Oct 2003 Posts: 2056 Location: Vienna, €urope
|
Posted: Tue Feb 22, 2005 4:08 pm Post subject: |
|
|
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 |
|
|
McMorrison n00b
Joined: 22 Feb 2005 Posts: 25
|
Posted: Tue Feb 22, 2005 4:12 pm Post subject: |
|
|
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 |
|
|
kimchi_sg Advocate
Joined: 26 Nov 2004 Posts: 2969
|
Posted: Tue Feb 22, 2005 4:15 pm Post subject: |
|
|
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 |
|
|
McMorrison n00b
Joined: 22 Feb 2005 Posts: 25
|
Posted: Tue Feb 22, 2005 4:36 pm Post subject: |
|
|
tried that. i get the same as before except 'NOTRAILERS' has gone |
|
Back to top |
|
|
kimchi_sg Advocate
Joined: 26 Nov 2004 Posts: 2969
|
Posted: Tue Feb 22, 2005 4:40 pm Post subject: |
|
|
Please tell us the exact error message that occurs when you try to ping google (for example). |
|
Back to top |
|
|
McMorrison n00b
Joined: 22 Feb 2005 Posts: 25
|
Posted: Tue Feb 22, 2005 4:51 pm Post subject: |
|
|
ok when i try and ping google
|
|
Back to top |
|
|
loki99 Advocate
Joined: 10 Oct 2003 Posts: 2056 Location: Vienna, €urope
|
Posted: Tue Feb 22, 2005 5:59 pm Post subject: |
|
|
please try to ping the ip-adress.
perhaps the problem is with name resolving. |
|
Back to top |
|
|
McMorrison n00b
Joined: 22 Feb 2005 Posts: 25
|
Posted: Tue Feb 22, 2005 8:37 pm Post subject: |
|
|
nope that doesn't work either. same error message |
|
Back to top |
|
|
loki99 Advocate
Joined: 10 Oct 2003 Posts: 2056 Location: Vienna, €urope
|
Posted: Tue Feb 22, 2005 8:48 pm Post subject: |
|
|
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!
i'm still wondering is that module loaded now or not! you should be able to find out by doing:
cheers, loki99! |
|
Back to top |
|
|
McMorrison n00b
Joined: 22 Feb 2005 Posts: 25
|
Posted: Tue Feb 22, 2005 8:50 pm Post subject: |
|
|
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 |
|
|
racoontje Veteran
Joined: 19 Jul 2004 Posts: 1290
|
Posted: Tue Feb 22, 2005 9:11 pm Post subject: |
|
|
If
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
They should be vaguely similar. |
|
Back to top |
|
|
McMorrison n00b
Joined: 22 Feb 2005 Posts: 25
|
Posted: Tue Feb 22, 2005 9:14 pm Post subject: |
|
|
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 |
|
|
McMorrison n00b
Joined: 22 Feb 2005 Posts: 25
|
Posted: Tue Feb 22, 2005 9:34 pm Post subject: |
|
|
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 |
|
|
racoontje Veteran
Joined: 19 Jul 2004 Posts: 1290
|
Posted: Tue Feb 22, 2005 9:37 pm Post subject: |
|
|
Hah, now we're getting somewhere! Perhaps eth0 is firewire or something.
Anyway,
|
|
Back to top |
|
|
McMorrison n00b
Joined: 22 Feb 2005 Posts: 25
|
Posted: Tue Feb 22, 2005 9:48 pm Post subject: |
|
|
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 |
|
|
racoontje Veteran
Joined: 19 Jul 2004 Posts: 1290
|
Posted: Tue Feb 22, 2005 10:00 pm Post subject: |
|
|
That's not possible, modems are ttySx'es, not eth's.
Perhaps you could try
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 |
|
|
McMorrison n00b
Joined: 22 Feb 2005 Posts: 25
|
Posted: Tue Feb 22, 2005 10:09 pm Post subject: |
|
|
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 |
|
|
|