View previous topic :: View next topic |
Author |
Message |
new2gentoo_va n00b
Joined: 23 Feb 2004 Posts: 8
|
Posted: Mon Feb 23, 2004 8:18 pm Post subject: Just Installed Gentoo - NO eth0 |
|
|
I just finished installing gentoo on an old pentium box. I thought that it would keep my eth0 setting from when I edited the hostname, dnshostname, etc. files. What should I do, or how do I get eth0 to even be recognized? Any help/hints would be great! thanks in advance !
nu2gentoo_va |
|
Back to top |
|
|
evanduser n00b
Joined: 09 Apr 2003 Posts: 22
|
Posted: Mon Feb 23, 2004 8:30 pm Post subject: |
|
|
What does ouput of `ifconfig` say? Also post output of /proc/pci ie capture output of `cat /proc/pci` and post.
evanduser |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54799 Location: 56N 3W
|
Posted: Mon Feb 23, 2004 8:31 pm Post subject: |
|
|
new2gentoo_va,
Check that the network card driver module is loaded.
If not modprobe it just now and add its name to /etc/modules.autoload, so it gets loaded at boot.
If you did the modprobe, bring up eth0 by hand with Code: | /etc/init.d/net.eth0 stop
/etc/init.d/net.eth0 start |
Check your /etc/conf.d/net settings.
If all that looks OK post the following:-
the output of so we can check you are using the right kernel module
the output of Code: | /sbin/ifconfig eth0 | which will show your eth0 settings
and the output of which will show how your system attempts to find it way aroun the network _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
new2gentoo_va n00b
Joined: 23 Feb 2004 Posts: 8
|
Posted: Mon Feb 23, 2004 8:46 pm Post subject: |
|
|
/sbin/ifconfig:
Quote: |
lo Link encap;Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr:::1/128 Scope:Host
UP LOOPBACK RUNNING MTU: 16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors: 0 dropped:0 overruns:0 frame:0
collisions: 0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
|
I tried by starting it by hand and got: (/etc/init.d/net.eth0 start)
typing out the output for from proc was a lot ...so I used "| grep eth" but it didn't find anything.
Please let me know if you need any more info.
thanks!
*Bringing eth0 up...
SIOCSIFADDR: NO SUCH DEVICE
eth0: unknown interface: NO SUCH DEVICE
*Failed to bring eth0 up
[/quote] |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54799 Location: 56N 3W
|
Posted: Mon Feb 23, 2004 8:59 pm Post subject: |
|
|
new2gentoo_va,
Since the device does not exist, your kernel module is not loaded.
You need to compare the output of lsmod, when you boot with the CD (and it works) with the output of lsmod when you boot from your hdd.
One of the modules that is there in the first list but not in the second is the one you want. There will only be a few.
If you are still stuck post the ethernet line from lspci _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
new2gentoo_va n00b
Joined: 23 Feb 2004 Posts: 8
|
Posted: Mon Feb 23, 2004 9:15 pm Post subject: |
|
|
I'm booting the cd now. Just so you know the output from lsmod was:
Quote: |
Module Size Used by Not tainted
eth1394 11320 0 unused
ieee1395 182948 0 eth1394
input 3200 0 unused
uhci 24444 0 unused
usbcore 57676 1 uhci
|
lspci:
Quote: | lspci: Command Not Found |
I'll post the differences in lsmod in a few minutes |
|
Back to top |
|
|
new2gentoo_va n00b
Joined: 23 Feb 2004 Posts: 8
|
Posted: Mon Feb 23, 2004 9:25 pm Post subject: |
|
|
These are modules NOT listed in lsmod:
Quote: |
8139too
mii
floppy
serial
isa-pnp
cloop
usb-storage
hid
|
Quote: |
lspci shows this for Ethernet Controller:
Accton Technology Corporation SMC2-1211TX (rev 10)
|
Is it my kernel thats messed up?[/quote] |
|
Back to top |
|
|
new2gentoo_va n00b
Joined: 23 Feb 2004 Posts: 8
|
Posted: Mon Feb 23, 2004 9:50 pm Post subject: |
|
|
Fixed it! Thanks
I added 8138too to modules...
thanks again
new2gentoo_va |
|
Back to top |
|
|
|