View previous topic :: View next topic |
Author |
Message |
Fahuadai n00b
Joined: 29 Apr 2006 Posts: 7
|
Posted: Sat Apr 29, 2006 5:41 pm Post subject: Eth0 not found. [Solved] |
|
|
Hello.
I'm new to gentoo, ran fedora a little bit before i decided i wanted to try gentoo. (was recommended).
I've managed to install gentoo and have it running the basic cmd line interface (not got kde running yet).
I've configured the /etc/conf.d/net file adding: eth0=" dhcp "
I'm getting this same error message:
Endor wrote: |
Code: | Starting eth0
Bringing up eth0
Configuration not set for eth0 - assuming dhcp
dhcp
eth0 does not exist
ERROR: Problem starting needed services.
"netmount" was not started. |
| Topic link
after readin that thread i figure it's a driver-kernel problem.
so i tried #lspci an it returned my ethernet card as a VIA Tech' VT6102[Rhine II] (rev74). After this i then
Code: | cd /usr/src/linux
make menuconfig |
and went into the ethernet drivers and added VIA Rhine support. recompiled kernel and rebooted. same problem eth0 does not exist.
i've also checked the /etc/rc.conf and added:
Code: |
eth0="dhcp"
INTERFACES=(eth0) |
from a non-gento linux friend. (he's running ArchLinux iirc)
A list of topics i've read and tried to apply to my problem:
https://forums.gentoo.org/viewtopic-t-455830-highlight-eth0+exist.html
https://forums.gentoo.org/viewtopic-t-371204.html
https://forums.gentoo.org/viewtopic-t-413489.html
as well as looking back through the install guide, esp here: http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=8#doc_chap2
I've tried everything i can think of, but still no luck. greatly appreicate any advice anyone can offer.
Last edited by Fahuadai on Sat Apr 29, 2006 6:19 pm; edited 1 time in total |
|
Back to top |
|
|
alphonce Apprentice
Joined: 10 Oct 2004 Posts: 184 Location: Sweden
|
Posted: Sat Apr 29, 2006 6:05 pm Post subject: |
|
|
try installing the via rhine-driver as module and then
and see what is says. or did you already compile it as a module?
also run
and see if that output can help you. _________________ no computer at the moment! |
|
Back to top |
|
|
Fahuadai n00b
Joined: 29 Apr 2006 Posts: 7
|
Posted: Sat Apr 29, 2006 6:18 pm Post subject: |
|
|
Yes thanks a lot. problem solved.
commands used to fix problem:
Code: |
# cd /usr/src/linux
# make menuconfig
/Device drivers >
/Network Device support>
/Ethernet10-100Mbit>
- VIA [Rhine support] set to 'M'
Exit>
# make | (recompiled kernel) Code: |
# modprobe via_rhine
#ifconfig eth0 |
*worked*
ping www.google.com
also working.
Did read in one of the topics iread about changing it to module, but wasn't sure of how to get that module working again. modprobe <module name>.
Thanks a lot.
Fahuadai. |
|
Back to top |
|
|
Fahuadai n00b
Joined: 29 Apr 2006 Posts: 7
|
Posted: Sat Apr 29, 2006 6:30 pm Post subject: |
|
|
Additional:
i noticed that after a reboot it wasn't working untill i typed 'modprobe via_rhine' again.
i've posted how to fix this real quick on the end of this topic in case other users read it and it helps.
Code: |
# nano -w /etc/conf.d/net
# modprobe via_rhine
|
obviously just replace the via_rhine with the name of your device/driver module. hope this helps someone. |
|
Back to top |
|
|
|