Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Configuring a network card
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
Gena
n00b
n00b


Joined: 21 Jun 2002
Posts: 2

PostPosted: Fri Jun 21, 2002 9:18 am    Post subject: Configuring a network card Reply with quote

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


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Fri Jun 21, 2002 11:19 am    Post subject: Reply with quote

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


Joined: 09 May 2002
Posts: 179
Location: Belgium

PostPosted: Fri Jun 21, 2002 11:45 am    Post subject: Reply with quote

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


Joined: 07 Jun 2002
Posts: 648
Location: ft.worth.tx

PostPosted: Sat Jun 22, 2002 6:54 am    Post subject: Reply with quote

y'know... it explains all this in the install guide.....
_________________
I used gentoo BEFORE it was cool.
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