>From: Poul-Henning Kamp <[EMAIL PROTECTED]>
>Date: Fri, 30 Mar 2001 23:07:08 +0200

>Any comments/reviews before we commit the patch to PR25577 ?

OK; I've built today's -CURRENT (this time, after applying Brooks'
patchset; I had built -CURRENT earlier today).

Here's a (slightly sanitized) ifconfig output:

m758712358[1] ifconfig
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif1: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif2: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif3: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 
        inet6 ::1 prefixlen 128 
        inet netmask 0xff000000 
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
faith0: flags=8000<MULTICAST> mtu 1500
        inet6 fe80::240:96ff:fe34:4ee9%an0 prefixlen 64 scopeid 0x8 
        inet netmask 0xffffff00 broadcast
        ether 00:40:96:34:4e:e9 
        media: autoselect (DS/11Mbps) status: associated
        supported media: autoselect autoselect <adhoc> DS/11Mbps DS/11Mbps <adhoc> 
DS/5.5Mbps DS/5.5Mbps <adhoc> DS/2Mbps DS/2Mbps <adhoc> DS/1Mbps DS/1Mbps <adhoc>
        ssid <SSID goes here>
        stationname ""
        channel 6 authmode OPEN powersavemode OFF powersavesleep 200
        wepmode OFF weptxkey 2
        wepkey 1:64-bit

So I haven't got so far as to actually *use* the ifconfig capabilities to
get the card configured -- I had already worked up a script to do that
with ancontrol, and I wanted to get this out sooner than it would take me
to re-work that.

First, this looks very promising; I like the direction and the bulk of
the implementation (from what I've seen so far).

One concern, and this may well affect other NIC flavors, is the list of
media types is a little annoying to parse.  Hmmm... speaking Perl, I
suppose it could be characterized as

        /^\s+supported media:(\s[\S+(\s<adhoc>)?)+$/

Nevertheless, I believe it would be a little easier to parse (both for
people & simple scripts) if the separator before "<adhoc>" were
different from the one between adjacent supported media.

Or am I just being rather denser than usual?

David H. Wolfskill                              [EMAIL PROTECTED]
As a computing professional, I believe it would be unethical for me to
advise, recommend, or support the use (save possibly for personal
amusement) of any product that is or depends on any Microsoft product.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to