Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
New install, no internet
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
linuxbatm
n00b
n00b


Joined: 25 Apr 2004
Posts: 8

PostPosted: Sun Apr 25, 2004 7:38 am    Post subject: New install, no internet Reply with quote

Just installed and im now getting the eth0 cannont be brought up error. What do i need to do to fix this, i read the faw and the steps there did nothing.
Back to top
View user's profile Send private message
fcgreg
Apprentice
Apprentice


Joined: 17 May 2003
Posts: 264
Location: California, USA

PostPosted: Sun Apr 25, 2004 7:42 am    Post subject: Need more info Reply with quote

I think we'll all need more info before we can help. What exactly is the error message? What kind of NIC are you trying to route? Which kernel are you using? Have you used the NIC before (and therefore know that it works)? etc.
_________________
Greg T.
Back to top
View user's profile Send private message
barbar
Guru
Guru


Joined: 16 Apr 2003
Posts: 397
Location: Austria

PostPosted: Sun Apr 25, 2004 7:45 am    Post subject: Reply with quote

Basically you need the right kernel module for your nic and you have to set the parameters for your network in /etc/conf.d/net.

To check if the right kernel module is loaded use lsmod. to find out what type your nic is use lspci (emerge gentoolkit).
Back to top
View user's profile Send private message
fcgreg
Apprentice
Apprentice


Joined: 17 May 2003
Posts: 264
Location: California, USA

PostPosted: Sun Apr 25, 2004 8:13 am    Post subject: FYI regarding lspci Reply with quote

FYI: The utility you mention, lspci, is not within the gentoolkit package. It is found within the "sys-apps/pciutils" package. More info here.

To build:
Code:
emerge -pv pciutils
emerge pciutils

In any case, I've always found it just as easy to just use:
Code:
cat /proc/pci

... as this requires no additional packages. :-)
_________________
Greg T.
Back to top
View user's profile Send private message
barbar
Guru
Guru


Joined: 16 Apr 2003
Posts: 397
Location: Austria

PostPosted: Sun Apr 25, 2004 8:32 am    Post subject: Reply with quote

Thanks fcgreg for the right package name.

But /proc/pci seems to have changeed using a 2.6 kernel. It is /proc/bus/pci/devices. And the output is a bit messy to use just cat.
Back to top
View user's profile Send private message
fcgreg
Apprentice
Apprentice


Joined: 17 May 2003
Posts: 264
Location: California, USA

PostPosted: Tue Apr 27, 2004 6:41 am    Post subject: Good tip, thanks! Reply with quote

Thanks barbar -- good tip on the 2.6 kernel stuff! You can tell I haven't played with it too much yet, eh? :-)
_________________
Greg T.
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