From owner-freebsd-questions@FreeBSD.ORG Thu Jun 12 06:26:07 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F180D37B401 for ; Thu, 12 Jun 2003 06:26:06 -0700 (PDT) Received: from web40601.mail.yahoo.com (web40601.mail.yahoo.com [66.218.78.138]) by mx1.FreeBSD.org (Postfix) with SMTP id 835A943F3F for ; Thu, 12 Jun 2003 06:26:06 -0700 (PDT) (envelope-from deesto@yahoo.com) Message-ID: <20030612132606.39698.qmail@web40601.mail.yahoo.com> Received: from [143.48.14.233] by web40601.mail.yahoo.com via HTTP; Thu, 12 Jun 2003 06:26:06 PDT Date: Thu, 12 Jun 2003 06:26:06 -0700 (PDT) From: John DeStefano To: Lowell Gilbert In-Reply-To: <44znkogm0o.fsf@be-well.ilk.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: freebsd-questions@freebsd.org Subject: Re: network settings auto-config X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jun 2003 13:26:07 -0000 Thanks Lowell; but a solution be to change something in /etc/rc.conf instead? Pete pointed me toward /etc/rc.conf, which contains the following line: ifconfig_dc0="DHCP" Seeing this made me remember something: someone once told me that commenting this line out would keep DHCP from running. While that is somewhat true, it also killed my whole NIC interface! So the solution must be not to comment it out, but to change the variable value "DHCP" to something else. I've been searching for proper values but haven't seen them anywhere yet, but I did see the following in "man rc.conf": pccard_ifconfig (str) List of arguments to be passed to ifconfig(8) at boot time or on insertion of the card (e.g. ``inet 192.168.1.1 netmask 255.255.255.0'' for a fixed address or ``DHCP'' for a DHCP client). ... It is possible to bring up an interface with DHCP by setting the ifconfig_ variable to ``DHCP''. For instance, to initialize the ed0 device via DHCP, it is possible to use something like: ifconfig_ed0="DHCP" So the line in my config file matches the man page, but the man page doesn't say what other variables are available that won't break the interface. Any ideas? Thanks, ~John Lowell Gilbert wrote: John DeStefano writes: > Is there another file/setting that's being consulted somewhere at boot time? Gary mentioned it may be due to a smbd, netbios-ssn, or DCHP setting, but he's unfamiliar with those services. Add some overrides to the dhclient.conf(5) file to put in your preferred DNS server. I use the "prepend" modifier, but you might want "supersede" instead. --------------------------------- Do you Yahoo!? Free online calendar with sync to Outlook(TM).