List Archive: gentoo-dev
On Tue, May 01, 2001 at 11:13:09PM -0700, JP Sartre wrote:
>Hi all.. I may have spoken to a few of you in #gentoo regarding this, but I am really at a loss here. I realize there is no DHCP script as of yet with gentoo, but I have been unable to configure my network as a result. What would the procedure be for me to get my network up with dhcp? A binary of dhcp was kindly made for me, but I am at a loss as to what to do once I've pkmerged it..
cd /usr/portage/net-misc
emerge dhcp-3.0_beta0224.ebuild
dhclient ethN (where N is a number, I have two interfaces on my laptop eth0
is the onboard eepro and eth1 is my pcmcia nic)
I use dhcp for both. WIth my pcmcia stuff I had to edit
/etc/pcmcia/network to reflect the correct paths etc.
and I rarely use my onboard so I just run it by hand, you could however make a
/etc/rc.d/config/inet.eth0 look like this.
IFACE=eth0
netup() {
/sbin/dhclient $IFACE
}
netdown(){
/sbin/ifconfig $IFACE down
}
And if I weren't so lazy I'd also add in the ipchains stuff too.
HTH
--
Ben Lutgens cell: XXX.XXX.XXXX
Sistina Software Inc. work: XXX.XXX.XXXX
Mailing list admin / Punching Bag (and sorta sysadmin guy)
http://www.sistina.com/ <--- great software
http://www.gentoo.org/ <--- great distro
Kernel panic: I have no root and I want to scream <--- perfect error message
|
|