Page MenuHomeFreeBSD

ifconfig: ifieee80211: print bssid name
ClosedPublic

Authored by bz on Mar 21 2023, 9:30 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Sep 28, 11:21 PM
Unknown Object (File)
Mon, Sep 28, 12:24 PM
Unknown Object (File)
Sat, Sep 26, 6:59 PM
Unknown Object (File)
Fri, Sep 25, 12:47 PM
Unknown Object (File)
Fri, Sep 11, 1:00 AM
Unknown Object (File)
Sat, Sep 5, 4:15 AM
Unknown Object (File)
Fri, Sep 4, 7:47 AM
Unknown Object (File)
Sep 3 2026, 11:10 AM
Subscribers

Details

Summary

In certain setups (e.g., autonomous APs) it is extremly helpful to have
a way to map the BSSIDs to names for both normal status output as well
as the scan list. This often allows a quicker overview than remembering
(or manually looking up) BSSIDs.
Call ether_ntohost() on the bssid and consult /etc/ethers
and print "(name)" after the bssid for the status output and "(name)"
at the end of the line after the IE list.

MFC after: 10 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable