Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Eth0 not found. [Solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Fahuadai
n00b
n00b


Joined: 29 Apr 2006
Posts: 7

PostPosted: Sat Apr 29, 2006 5:41 pm    Post subject: Eth0 not found. [Solved] Reply with quote

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
View user's profile Send private message
alphonce
Apprentice
Apprentice


Joined: 10 Oct 2004
Posts: 184
Location: Sweden

PostPosted: Sat Apr 29, 2006 6:05 pm    Post subject: Reply with quote

try installing the via rhine-driver as module and then
Code:
modprobe via_rhine

and see what is says. or did you already compile it as a module?
also run
Code:
dmesg | grep eth0

and see if that output can help you.
_________________
no computer at the moment! :cry:
Back to top
View user's profile Send private message
Fahuadai
n00b
n00b


Joined: 29 Apr 2006
Posts: 7

PostPosted: Sat Apr 29, 2006 6:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
Fahuadai
n00b
n00b


Joined: 29 Apr 2006
Posts: 7

PostPosted: Sat Apr 29, 2006 6:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
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