From owner-freebsd-questions@FreeBSD.ORG Mon Jun 13 15:42:11 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 79D7416A41C for ; Mon, 13 Jun 2005 15:42:11 +0000 (GMT) (envelope-from bob@ibsd.us) Received: from chaos.fxp.org (chaos.fxp.org [216.155.111.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 39D1E43D58 for ; Mon, 13 Jun 2005 15:42:08 +0000 (GMT) (envelope-from bob@ibsd.us) Received: from localhost (localhost.fxp.org [127.0.0.1]) by chaos.fxp.org (Postfix) with ESMTP id 36BC328420; Mon, 13 Jun 2005 11:42:08 -0400 (EDT) Received: from chaos.fxp.org ([127.0.0.1]) by localhost (chaos.fxp.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 77995-01-2; Mon, 13 Jun 2005 11:42:04 -0400 (EDT) Received: from [10.0.1.196] (ip68-101-86-100.ga.at.cox.net [68.101.86.100]) by chaos.fxp.org (Postfix) with ESMTP id 244012841A; Mon, 13 Jun 2005 11:42:04 -0400 (EDT) Message-ID: <42ADA94D.50006@ibsd.us> Date: Mon, 13 Jun 2005 11:42:05 -0400 From: Bob Bomar User-Agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Peter , questions@freebsd.org References: <42AD7D09.50507@bivol.net> In-Reply-To: <42AD7D09.50507@bivol.net> X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at fxp.org Cc: Subject: Re: MAC address & rc.conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jun 2005 15:42:11 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Peter wrote: | Hi, | My ISP have aauthorization by username, password AND mac address. | I currently make PPPoE connection from my laptop(win XP) to them. | However I want to put FreeBSD router in front of my laptop. | That is why I will need to make MAC address of outgoing ethernet card | same as my laptop. | I plan to make bash script(ifconfig down, ifconfig up) for that | purpose. | However I prefer a little bit cleaner solution ... | is there any way I can set MAC address for the network card in | rc.conf ? | Thanks :-))) | Kind regards, | Pete | When the system boots, it will read rc.conf, and then it will pass the ifconfig_inf="..." to ifconfig, so what I do is just to add ether aa:bb:cc:dd:ee:ff to that line: ifconfig_fxp0="inet 1.2.3.4 netmask 255.0.0.0 ether aa:bb:cc:dd:ee:ff" - -- Bob Bomar bob@bomar.us http://www.bomar.us/~bob -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCralK9Jm/aTrtdKoRAlFFAJ93Y0XL7OMbJcdhFvBxQP3XEtzP6QCeOHIQ 8m1uyAMjW8F1SW0E/HNYFBA= =d5HD -----END PGP SIGNATURE-----