From owner-freebsd-bugs Fri Sep 26 09:27:40 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA14080 for bugs-outgoing; Fri, 26 Sep 1997 09:27:40 -0700 (PDT) Received: from nemesis.lonestar.org ([204.178.74.200]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id JAA14070; Fri, 26 Sep 1997 09:27:21 -0700 (PDT) Received: by nemesis.lonestar.org (Smail3.1.27.1 #22) id m0xEdCq-000twnC; Fri, 26 Sep 97 11:25 CDT Message-Id: Date: Fri, 26 Sep 97 11:25 CDT To: peter@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG From: uhclem@nemesis.lonestar.org (Frank Durda IV) Sent: Fri Sep 26 1997, 11:25:28 CDT Subject: Re: kern/4628 Sender: owner-freebsd-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk [0]Synopsis: Device driver de won't accept "media" parameters to go Full Duplex:FDIV071 [0] [0]State-Changed-From-To: open-closed [0]State-Changed-By: peter [0]State-Changed-When: Fri Sep 26 05:42:01 PDT 1997 [0]State-Changed-Why: [0]If one modifies a shell script (such as /etc/rc.conf) one should [0]understand basic shell quoting. Uh, I *wish* you would STOP closing my PRs without actually reading them. I WAS NOT REPORTING the "quoting issue" you are fixating on. I was reporting that EVEN FROM A COMMAND LINE, the ifconfig ifmedia option is not accepting any of the parameters the DE driver that is included in the 970921 release is supposed to accept. The quoting issue and the lack of supporting documentation was a FYI, assuming anyone cares about reducing user confusion with better documentation. [0]One way might be to do something like this: [0]ifconfig_de0="mumble -media 'foo bar'" [0]or [0]ifconfig_de0='mumble -media "foo bar"' Yeah, and may we please return to the real problem, in that it won't accept "foo bar", even though it is listed in the driver source code? [0]To get the list of currently supported medias for a driver, use 'ifconfig -m'. Ok, I missed this and will try it. Right at this second, it seems to simply give me the same thing "ifconfig de0" has always given me, no options. [0]What you are probably after is: [0]ifconfig_de0="mumble media 10baseT/UTP mediaopt full-duplex" [0](or s/UTP/BNC/) Ok, is this documented? Doesn't say anything about breaking the string up that I see in the driver like this anywhere in the ifconfig man page. Also, how well does it work with no quotes (of any sort) around the options as you have in your example? :-) Mine gives me a usage error when I do that. :-) [0]Here, with a SMC9332BDT, the choices are: [0]supported media: autoselect 100baseTX 100baseTX 10baseT/UTP 10baseT/UTP [0] [0]So, one can: ifconfig de0 media 100baseT mediaopt full-duplex [0]to override the autoselect setting. Ok, so no change, the problem remains. This does not work with the stock 970921 DE driver or the 970921 ifconfig utility. Please re-open the problem report unless you have actually tested the problem on the appropriate hardware and have fixed the missing/incorrect documentation. We are not Microsoft, we are supposed to actually do something with the problem reports, other than close them. Frank Durda IV - only these addresses work:|"The Knights who say "LETNi" | demand... A SEGMENT REGISTER!!!" or |"A what?" These Anti-spam addresses expire Oct. 15th |"LETNi! LETNi! LETNi!" - 1983