public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Ben Lutgens <blutgens@sistina.com>
To: gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] DHCP
Date: Wed May  2 09:37:01 2001	[thread overview]
Message-ID: <20010502103616.C19252@minime.sistina.com> (raw)
In-Reply-To: <20010501231309.B431@home.com>; from jpsartre@home.com on Tue, May 01, 2001 at 11:13:09PM -0700

[-- Attachment #1: Type: text/plain, Size: 1365 bytes --]

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

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

      parent reply	other threads:[~2001-05-02 15:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-01 23:15 [gentoo-dev] DHCP JP Sartre
2001-05-02  0:08 ` Jake Bishop
2001-05-02  5:51   ` Achim Gottinger
2001-05-02  9:37 ` Ben Lutgens [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010502103616.C19252@minime.sistina.com \
    --to=blutgens@sistina.com \
    --cc=gentoo-dev@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox