From owner-freebsd-bugs Fri Sep 26 06:02:49 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id GAA03532 for bugs-outgoing; Fri, 26 Sep 1997 06:02:49 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id GAA03523; Fri, 26 Sep 1997 06:02:27 -0700 (PDT) From: Peter Wemm Received: (from peter@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id FAA05030; Fri, 26 Sep 1997 05:57:30 -0700 (PDT) Date: Fri, 26 Sep 1997 05:57:30 -0700 (PDT) Message-Id: <199709261257.FAA05030@freefall.freebsd.org> To: uhclem@nemesis.lonestar.org, peter@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: kern/4628 Sender: owner-freebsd-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Synopsis: Device driver de won't accept "media" parameters to go Full Duplex:FDIV071 State-Changed-From-To: open-closed State-Changed-By: peter State-Changed-When: Fri Sep 26 05:42:01 PDT 1997 State-Changed-Why: If one modifies a shell script (such as /etc/rc.conf) one should understand basic shell quoting. One way might be to do something like this: ifconfig_de0="mumble -media 'foo bar'" or ifconfig_de0='mumble -media "foo bar"' The requirement is that the argument string presented to the -media switch is a single argument. To get the list of currently supported medias for a driver, use 'ifconfig -m'. What you are probably after is: ifconfig_de0="mumble media 10baseT/UTP mediaopt full-duplex" (or s/UTP/BNC/) Here, with a SMC9332BDT, the choices are: supported media: autoselect 100baseTX 100baseTX 10baseT/UTP 10baseT/UTP So, one can: ifconfig de0 media 100baseT mediaopt full-duplex to override the autoselect setting.