Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] No network - eth0 does not exist
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
yodo
n00b
n00b


Joined: 22 Jan 2008
Posts: 18
Location: Germany

PostPosted: Tue Jan 22, 2008 7:23 pm    Post subject: [solved] No network - eth0 does not exist Reply with quote

Hi,
I'm new to gentoo, but have already experiences with Arch, Debian and (K)ubuntu.
I tried to install gentoo several times this weekend, and had some problems with the LiveCD... It always aborted installation while installing additional programs (like KDE / k3b / openoffice...). Had the same problem with the installer GUI and the command line.
However... I read that the core gentoo system installation already finishes before that step... there is just no GUI installed. Similar to an arch install.
So I quit the liveCd environment and booted gentoo. Just as I thought, I had just a console - not a GUI.
I tried to install kde with portage, which failed because I had no access to the internet/network.

As a quick reaction I reinstalled gentoo by following the gentoo handbook. Wanted to have a clean installation, not an installation that was aborted while installing additional packages (over 200 were already installed!).
So thats the gentoo I have installed now. A booting system, but still no GUI (but I did not try to install one yet).
Unfortunately there is still no network connection. Of course I followed the guide in the handbook...

That's the error I get when I try to sync emerge: http://www.onlyfree.de/php/pasteservice/show.php?id=5862
This is what I get when I try to start eth0: http://www.onlyfree.de/php/pasteservice/show.php?id=5863

It seems as if eth0 is not existing... but the IP i defined in "/etc/conf.d/net" seems to be recognized.
My /etc/conf.d/net:
Code:
config_eth0=( "192.168.1.20 netmask 255.255.255.0 brd 192.168.1.255" )
routes_eth0=( "default via 192.168.1.1"


At least the network should be supported by the kernel because I did not create the kernel completly for myself, but used genkernel. On the liveCD environment internet and network is working.

Probably the module is not loaded... but I don't know what's its name.
Running lspci I geht this information about the controller:
Code:
02:06.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)


Hope someone can help me. :wink:
greetings, yodo


Last edited by yodo on Tue Jan 22, 2008 8:53 pm; edited 1 time in total
Back to top
View user's profile Send private message
psomas
Retired Dev
Retired Dev


Joined: 23 Sep 2006
Posts: 212
Location: Greece

PostPosted: Tue Jan 22, 2008 7:29 pm    Post subject: Reply with quote

you'll need the 8139too module...

with menuconfig, you can find it under Device Drivers/Network Device Support/Ethernet(10 or 100Mbit)/Realtek RTL 8129/3039...
_________________
myblog
FOSS NTUA Community
Back to top
View user's profile Send private message
yodo
n00b
n00b


Joined: 22 Jan 2008
Posts: 18
Location: Germany

PostPosted: Tue Jan 22, 2008 7:55 pm    Post subject: Reply with quote

Wow, thank you for the really fast reply.
That seems to be the right module. When it is loaded eth0 seems to work.
It still does not work in a "chrooted" gentoo (from arch), so I cant copy the output.
But with the real booted gentoo system "/etc/init.d/net.eth0 start" now gives a output wich looks correctly.
No errors, just something like "eth0 start [ok]".

Unfortunately "emerge --sync" has still the same error... :(

Another (a bit off-topic) question that came up in my mind while reading your reply: If the network support would be missing in my genkernel-kernel... could I still activate it with menuconfig and just recompile? Just like 7.c. in the handbook. Sorry if it is a dumb question, but as I already said I have still very little experience with gentoo.
Back to top
View user's profile Send private message
jomen
Guru
Guru


Joined: 04 Jan 2006
Posts: 536
Location: Leipzig, Germany

PostPosted: Tue Jan 22, 2008 8:07 pm    Post subject: Reply with quote

Do you have to manually give the network-address?
No dhcp-server present (your modem/router for example)?
what about using
Code:
net-setup

this should even ask you for the network-adapters name and autoload the correct module - as far as I can remember
if you inserted the module yourself via
Code:
modprobe 8139too

this should work if you get an adress via dhcp
_________________
Cheers
Back to top
View user's profile Send private message
jomen
Guru
Guru


Joined: 04 Jan 2006
Posts: 536
Location: Leipzig, Germany

PostPosted: Tue Jan 22, 2008 8:21 pm    Post subject: Reply with quote

about the "off-topic" question:
on the live-cd are all neccesary modules to get you connected.
What kind of network-card do you have?
Code:
lspci

will tell you enough to start with.
When (re)building your kernel you should at least check that this is among the modules to be built.
Code:
genkernel --menuconfig _other_options

will let you do that...
You can do that only after you have all the neccessary sources - which will require a working connection (trap...) - or a CD containing sources...
_________________
Cheers
Back to top
View user's profile Send private message
schachti
Advocate
Advocate


Joined: 28 Jul 2003
Posts: 3765
Location: Gifhorn, Germany

PostPosted: Tue Jan 22, 2008 8:23 pm    Post subject: Reply with quote

Concerning your emerge --sync trouble: Did you configure a nameserver in /etc/resolv.conf?
_________________
Never argue with an idiot. He brings you down to his level, then beats you with experience.

How-To: Daten verschlüsselt auf DVD speichern.
Back to top
View user's profile Send private message
yodo
n00b
n00b


Joined: 22 Jan 2008
Posts: 18
Location: Germany

PostPosted: Tue Jan 22, 2008 8:45 pm    Post subject: Reply with quote

Quote:
Concerning your emerge --sync trouble: Did you configure a nameserver in /etc/resolv.conf?

Thought I did... so I did not doublecheck it. But that is what caused the problem. :D
emerge --sync works now, so I will be able to merge KDE over night. :)
Thank you!

@jomen: "net-setup" does not exist here... is it a program that has to be installed manually? If so, its hard to realize without internet connection. And now, having internet, I don't need the program anymore... :?
Back to top
View user's profile Send private message
jomen
Guru
Guru


Joined: 04 Jan 2006
Posts: 536
Location: Leipzig, Germany

PostPosted: Tue Jan 22, 2008 9:11 pm    Post subject: Reply with quote

good thing it works now!
net-setup is on the Install-CD - at least it was on mine - I used the "minimal"
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=3
Chapter 3.b.
Automatic Network Configuration
_________________
Cheers
Back to top
View user's profile Send private message
yodo
n00b
n00b


Joined: 22 Jan 2008
Posts: 18
Location: Germany

PostPosted: Tue Jan 22, 2008 9:30 pm    Post subject: Reply with quote

Quote:
net-setup is on the Install-CD

Yeah, that will be the reason why it did not work for me. I tried it on my installed gentoo, not on a cd-environment.
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
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