View previous topic :: View next topic |
Author |
Message |
linuxbatm n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 25 Apr 2004 Posts: 8
|
Posted: Sun Apr 25, 2004 7:38 am Post subject: New install, no internet |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
fcgreg Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/StarCraft/starcraft_terran_ghost.gif)
Joined: 17 May 2003 Posts: 264 Location: California, USA
|
Posted: Sun Apr 25, 2004 7:42 am Post subject: Need more info |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
barbar Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 16 Apr 2003 Posts: 397 Location: Austria
|
Posted: Sun Apr 25, 2004 7:45 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
fcgreg Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/StarCraft/starcraft_terran_ghost.gif)
Joined: 17 May 2003 Posts: 264 Location: California, USA
|
Posted: Sun Apr 25, 2004 8:13 am Post subject: FYI regarding lspci |
|
|
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:
... as this requires no additional packages. ![Smile :-)](images/smiles/icon_smile.gif) _________________ Greg T. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
barbar Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 16 Apr 2003 Posts: 397 Location: Austria
|
Posted: Sun Apr 25, 2004 8:32 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
fcgreg Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/StarCraft/starcraft_terran_ghost.gif)
Joined: 17 May 2003 Posts: 264 Location: California, USA
|
Posted: Tue Apr 27, 2004 6:41 am Post subject: Good tip, thanks! |
|
|
Thanks barbar -- good tip on the 2.6 kernel stuff! You can tell I haven't played with it too much yet, eh? ![Smile :-)](images/smiles/icon_smile.gif) _________________ Greg T. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|