View previous topic :: View next topic |
Author |
Message |
Gena n00b
Joined: 21 Jun 2002 Posts: 2
|
Posted: Fri Jun 21, 2002 9:18 am Post subject: Configuring a network card |
|
|
Hey,
I'm a newbie in Lnx so i would really appreciate your help.
i have installed Gentoo Linux yesterday and i had a working network card.
Before i compiled my kernel i choosed to support my card (RealTek 8139C) and compiled it. but i can get it working. when i run "cat /proc/pci" i have my card in the list. and when i run "ifconfig -a" i have only "lo" and i don't have "eth0".
could you please tell me what have i done wrong and what can i do to fix it.
Gena. |
|
Back to top |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Fri Jun 21, 2002 11:19 am Post subject: |
|
|
When you compiled your kernel, did you compile the network card driver as a module (M) or into the kernel itself (*).
--kurt _________________ The problem with political jokes is that they get elected |
|
Back to top |
|
|
JefP@@ Apprentice
Joined: 09 May 2002 Posts: 179 Location: Belgium
|
Posted: Fri Jun 21, 2002 11:45 am Post subject: |
|
|
if your network card is up & running, the only thing you need to do, but give it an ip.
you can do this manualy: e.g. "ifconfig eth0 192.168.0.2"
if you're not directly connected to the internet, you'll probably need a gateway configured too
e.g. "route add default gw 192.168.0.1"
If you want things to be the same each time you reboot, you'd better edit the /etc/conf.d/net file
you can enter the same info there (as shown above)
Grtz |
|
Back to top |
|
|
kraylus l33t
Joined: 07 Jun 2002 Posts: 648 Location: ft.worth.tx
|
Posted: Sat Jun 22, 2002 6:54 am Post subject: |
|
|
y'know... it explains all this in the install guide..... _________________ I used gentoo BEFORE it was cool. |
|
Back to top |
|
|
|