From owner-freebsd-questions Sun Jan 28 13:31:30 2001 Delivered-To: freebsd-questions@freebsd.org Received: from d9168.upc-d.chello.nl (d9168.upc-d.chello.nl [213.46.9.168]) by hub.freebsd.org (Postfix) with ESMTP id 0ED5F37B402 for ; Sun, 28 Jan 2001 13:31:12 -0800 (PST) Received: by d9168.upc-d.chello.nl (Postfix, from userid 1001) id 562FC3AC; Sun, 28 Jan 2001 22:31:10 +0100 (CET) Date: Sun, 28 Jan 2001 22:31:10 +0100 From: Edwin Groothuis To: Conrad Sabatier Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Client DHCP connection to Internet (WAS: freebi question: DH Message-ID: <20010128223110.F62745@d9168.upc-d.chello.nl> Mail-Followup-To: Edwin Groothuis , Conrad Sabatier , freebsd-questions@FreeBSD.ORG References: <3A748AAF.8D58540@home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from cjsabatier@home.com on Sun, Jan 28, 2001 at 03:29:24PM -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Jan 28, 2001 at 03:29:24PM -0600, Conrad Sabatier wrote: > > On 28-Jan-01 Raymundo M. Vega wrote: > > Conrad Sabatier wrote: > > [snip] > >> > >> interface "fxp0" { > >> send host-name "cx344940-a"; > >> prepend domain-name-servers 127.0.0.1; > >> } > > [snip] > > > > my cable modem works OK, this is how my dhclient.conf > > look with any hostname, use yours. > > > > script "/usr/local/etc/dhclient-script"; > > interface "ed0" { > > send host-name "COX-name"; > > } > > So, what does your dhclient-script do? I've never had any need for one myself. It's the script which does the ifconfig and changes the route-statements, the dhclient itself only does the request and the answer. Edwin -- Edwin Groothuis | Interested in MUDs? Visit Fatal Dimensions: mavetju@chello.nl | http://fataldimensions.nl.eu.org/ ------------------+ telnet://fataldimensions.nl.eu.org:4000 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message