Click to See Complete Forum and Search --> : gentoo and nic configs


JoeyJoeJo
09-06-2004, 10:58 PM
I'm doing a new install of gentoo, and I'm unsure of how to get my nic working. I have a broadcom nic, and I compiled b44 as a module. If I do an ifconfig eth0, the interface comes up, but doesnt recieve an address. I don't have netcardconfig or ifup/ifdown. What I don't know is where the scripts are to manually edit my interface. What should I do?

fatTrav
09-06-2004, 11:13 PM
have you tried the gentoo forums??

first, is the b44 module loaded?

the way i've mod'ed network settings was to edit /etc/conf.d/net to the desired settings and then restart network services (/etc/init.d/network restart). I've never had that fail...

bosox79
09-06-2004, 11:46 PM
did the live cd pick up your nic when you booted from it?

mrhoyt4
09-06-2004, 11:46 PM
I believe it /etc/init.d/net.eth0 and not /etc/init.d/network

Here is the link to the gentoo handbook about configuring nics (you have to scroll down a little bit)
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=8

je_fro
09-07-2004, 03:10 AM
dhcpcd
or dhclient
and edit /etc/conf.d/net

JoeyJoeJo
09-07-2004, 01:26 PM
There we go. I'm up and running. I tried je-fro's responce, and it worked. Just ran dhcpcd and then ifconfig eth0 up and I got an address. Now, my last question is, how do I go about making this happen at boot time? Is it in the /etc/conf.d/net file?

fatTrav
09-07-2004, 01:54 PM
rc-update add eth0 default ... as per the install handbook docs