etc/devd: recognize wireless network adapters
authorDaniel Fojt <df@neosystem.org>
Sun, 28 Jun 2020 07:10:56 +0000 (09:10 +0200)
committerDaniel Fojt <df@neosystem.org>
Sun, 28 Jun 2020 07:44:29 +0000 (09:44 +0200)
commitb7f820502ec9ccc691e15e0e77f9922b9a03c4f0
treede6cbc5d4e014e44e7005c783925f4197986ce45
parent24306955ec206af5754d6771fc649fcac9a844b6
etc/devd: recognize wireless network adapters

Extend default devd(8) configuration to recognize wireless network
adapters, and automatically create child wlanX interfaces on attach.
Interfaces are created either according to rc.conf(5) or, in case
particular wireless device is not configured there, first unused
wlan is created for it.

Note: newly created wlan interface is not automatically brought up
and connected to any network. If such behaviour is desired, both
dhcpcd(8) and wpa_supplicant(8) (in interface matching mode) have to
be running (dhcpcd_enable and wpa_supplicant_enable in rc.conf(5)).

Discussed with: Sascha Wildner
etc/devd.conf