From owner-freebsd-questions Sun Feb 2 1:57:58 2003 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 F160137B401 for ; Sun, 2 Feb 2003 01:57:56 -0800 (PST) Received: from ra.dweebsoft.com (ra.dweebsoft.com [209.237.40.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B0BC43F75 for ; Sun, 2 Feb 2003 01:57:56 -0800 (PST) (envelope-from daxbert_news@dweebsoft.com) Received: from daxhome (anubis.dweebsoft.com [64.81.58.36]) by ra.dweebsoft.com (8.12.3/8.12.3) with SMTP id h129voO8002428; Sun, 2 Feb 2003 01:57:50 -0800 (PST) (envelope-from daxbert_news@dweebsoft.com) Message-ID: <007b01c2caa1$8bebd870$0a0aa8c0@dweebsoft.com> From: "Daxbert" To: "Bikrant Neupane" , References: <004601c2ca9e$9d920070$9c0aa8c0@bikrant> Subject: Re: about ifconfig Date: Sun, 2 Feb 2003 01:57:50 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4920.2300 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4920.2300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > I would like to know if this command 'ifconfig fxp0 media 100baseTX mediaopt > full-duplex' remains effective even after reboots. > And, how can I set full-duplex option for a particular interface while it is > initializing at boot time ? > No, it won't survive a cold start, and I doubt it would survive a reboot. In /etc/rc.conf, you should append " media 100baseTX mediaopt full-duplex" to your existing ifconfig_fxp0. example: ifconfig_fxp0="inet a.b.c.d netmask w.x.y.z media 100baseTX mediaopt full-duplex" If this is a DHCP interface, then it might be best to add the media settings to either rc.local, or to /etc/start_if.fxp0 --daxbert To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message