From owner-freebsd-stable Sat Feb 6 20:46:16 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA04142 for freebsd-stable-outgoing; Sat, 6 Feb 1999 20:46:16 -0800 (PST) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from tolstoy.mpd.ca (mpd.ca [206.123.11.35]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA04121 for ; Sat, 6 Feb 1999 20:46:12 -0800 (PST) (envelope-from wlloyd@tolstoy.mpd.ca) Received: (from wlloyd@localhost) by tolstoy.mpd.ca (8.8.8/8.8.8) id XAA13330; Sat, 6 Feb 1999 23:44:18 -0500 (EST) (envelope-from wlloyd) Date: Sat, 6 Feb 1999 23:44:18 -0500 From: William Lloyd To: Brett Taylor Cc: Benjamin Gavin , freebsd-stable@FreeBSD.ORG Subject: Re: DHCP Client?? Message-ID: <19990206234418.A13258@tolstoy.mpd.ca> References: <4.1.19990205161516.00b86760@mail.supranet.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95i In-Reply-To: ; from Brett Taylor on Sat, Feb 06, 1999 at 07:13:10PM -0700 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Feb 06, 1999 at 07:13:10PM -0700, Brett Taylor wrote: > Benjamin wrote: > > Has anyone gotten a DHCP client up and running under 3.0-STABLE. I > > am interested in getting it setup, but I have heard there are major > > problems. Anyone here have it functioning or can point me in the right > > direction? > I just installed isc-dhcp2 from the ports collection and ran it. -shrug- > I'm also using DHPC now. I have one machine running the isc-dhcp2 server on 2 interfaces and the wide-dhcp client on still another interface. I found that the isc-dhcp client has a bug and resets both interfaces even if you only want one. The mailing lists refer to a patch I never found. wide-dhcp works nicely for FreeBSD client and is easy to setup Install wide-dhcp cd /usr/ports/net/wide-dhcp make install make clean my ether net interface is de0, substitute yours everywhere edit /etc/rc.conf and modify the following line network_interfaces="lo0 de0" create a file called /etc/start_if.de0 cat > /etc/start_if.de0 #/bin/sh /usr/local/sbin/dhcpc -r -n de0 & sleep 5 #I let it aquire and set the interface ctrl-d to save the file man dhcpc read this for other options for the dhcpc command The options above will clobber /etc/resolv.conf with a server supplied value. -bill -- William Lloyd mailto:wlloyd@mpd.ca | http://www.mpd.ca To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message