From owner-freebsd-questions Wed Mar 13 18:45: 7 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail5.doit.wisc.edu (mail5.doit.wisc.edu [144.92.9.76]) by hub.freebsd.org (Postfix) with ESMTP id 228D137B402 for ; Wed, 13 Mar 2002 18:45:02 -0800 (PST) Received: from [128.104.137.20] by mail5.doit.wisc.edu id UAA59596 (8.9.1/50); Wed, 13 Mar 2002 20:45:00 -0600 Subject: dhclient media directive question From: Ian Alderman To: freebsd-questions@freebsd.org Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0.2 Date: 13 Mar 2002 20:47:33 -0600 Message-Id: <1016074054.292.9.camel@coltrane.fewstreet.org> Mime-Version: 1.0 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 Hi, I'm trying to get my -STABLE box to automatically use an ifconfig media directive when it boots and obtains an address using dhclient. In order to get the machine to work correctly, after it boots, I have to explicitly say: ifconfig rl0 media 100baseTX I'd like to automate this process. The interface gets its address using dhclient. I thought I'd specify the media using the media directive in dhclient.conf. Here's the dhclient.conf I used: interface "rl0" { media "media 100baseTX"; } Unfortunately, this doesn't seem to have any effect. The interface comes up "media: Ethernet autoselect (none)". What's the correct way to get this to work? Obviously I can just add the change after the interface comes up, but I'd like to do it the Right way. Thanks, -Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message