Project

General

Profile

Actions

Bug #6770

closed

802.11 stack on FreeBSD 11 requires changes to support its new device creation method

Added by Jim Pingle over 7 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Normal
Category:
Wireless
Target version:
Start date:
09/06/2016
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4
Affected Architecture:

Description

On FreeBSD 11 you have to clone the interface and the wireless device (e.g. ath0) does not show in ifconfig.

The list of current wireless devices is in the net.wlan.devices sysctl OID so fetching them from there is easy, but we lose some of the extra info we had before pre-assignment, such as the MAC address of ath0.

You can make it show up temporarily by running:

ifconfig wlan0 create wlandev ath0

You can then assign that interface and use it, but unless you have an earlyshellcmd to bring it back it'll fail on the next boot.

It also looks like they've changed it so that the cloned device name must be wlan<number> which will require all of our existing wireless device name/assignments to change. (e.g. ath0_wlan0 => wlan0)

Actions

Also available in: Atom PDF