Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Sep 97 11:25 CDT
From:      uhclem@nemesis.lonestar.org (Frank Durda IV)
To:        peter@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG
Subject:   Re: kern/4628
Message-ID:  <m0xEdCq-000twnC@nemesis.lonestar.org>

next in thread | raw e-mail | index | archive | help

[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 <full-duplex> 100baseTX 10baseT/UTP <full-duplex> 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"
   <uhclem.ds3%nemesis.lonestar.org>       | demand... A SEGMENT REGISTER!!!"
or <uhclem.ds3%rwsystr.nkn.net>            |"A what?"
These Anti-spam addresses expire Oct. 15th |"LETNi! LETNi! LETNi!" - 1983




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m0xEdCq-000twnC>