Detecting a wireless interface
Warren Block
wblock at wonkity.com
Thu Oct 13 16:16:58 UTC 2011
On Thu, 13 Oct 2011, Adrian Chadd wrote:
> I can't think of anything, sorry. You may have to write a command line
> app that does a net80211 ioctl to see, or maybe there's a way to query
> the media type to tell you whether it's wifi or not.
Hadn't looked at it before, but parsing ifconfig output is what was used
already (bsdinstall netconfig, in this case). I just reused it:
http://www.freebsd.org/cgi/query-pr.cgi?pr=161547
More information about the freebsd-wireless
mailing list