From owner-freebsd-questions@FreeBSD.ORG Mon Jun 13 02:39:18 2005 Return-Path: X-Original-To: questions@freebsd.org 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 27A7616A41C for ; Mon, 13 Jun 2005 02:39:18 +0000 (GMT) (envelope-from bdodson@scms.utmb.edu) Received: from mx3.utmb.edu (mx3.utmb.edu [129.109.195.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id C4B9943D49 for ; Mon, 13 Jun 2005 02:39:17 +0000 (GMT) (envelope-from bdodson@scms.utmb.edu) Received: from histidine.utmb.edu (histidine.utmb.edu [129.109.65.24]) by mx3.utmb.edu (8.12.11/8.12.11) with ESMTP id j5D2bwDH027725; Sun, 12 Jun 2005 21:37:58 -0500 Received: from localhost (localhost [[UNIX: localhost]]) by histidine.utmb.edu (8.13.1/8.13.1/Submit) id j5D2dGxU085525; Sun, 12 Jun 2005 21:39:16 -0500 (CDT) (envelope-from bdodson@scms.utmb.edu) X-Authentication-Warning: histidine.utmb.edu: bdodson set sender to bdodson@scms.utmb.edu using -f From: "M. L. Dodson" Organization: University of Texas Medical Branch To: Christopher Black Date: Sun, 12 Jun 2005 21:39:14 -0500 User-Agent: KMail/1.8 References: <200506121726.02494.bdodson@scms.utmb.edu> <1118615522.682.7.camel@localhost> In-Reply-To: <1118615522.682.7.camel@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200506122139.15123.bdodson@scms.utmb.edu> X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlx=0 adultscore=0 adjust=0 reason=mlx engine=3.0.0-05061200 definitions=3.0.0-05061202 Cc: questions@freebsd.org Subject: Re: changing network card MAC address X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bdodson@scms.utmb.edu List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jun 2005 02:39:18 -0000 On Sunday 12 June 2005 17:32, Christopher Black wrote: > Check out /etc/dhclient.conf. The options are described in 'man 5 > dhclient.conf' > > On Sun, 2005-06-12 at 17:26 -0500, M. L. Dodson wrote: > > Just set up a new box (5.4-RELEASE) as a home gateway and had to > > change the network card MAC address that does DHCP through the > > cable modem. I put the following in /etc/rc.early, but this seems > > inelegant and possibly deprecated. What is the proper way to do > > this on a DHCP interface? > > > > ifconfig rl1 ether 'aa:bb:cc:dd:ee:ff' > > > > Thanks Renaming /etc/rc.early to /etc/dhclient-enter-hooks works (as I am sure renaming it to /etc/start_if.rl1 would have done). Thanks for the responses! -- M. L. Dodson bdodson@scms.utmb.edu 409-772-2178 FAX: 409-772-1790