3 ms·
That is just some diff someone sent to a mailing list, one real nifty feature of OpenBSD's ifconfig(8) is 'lladdr random', which will randomly assign a new MAC
by brynet 10y ago
That is just some diff someone sent to a mailing list, one real nifty feature of OpenBSD's ifconfig(8) is 'lladdr random', which will randomly assign a new MAC address to an interface.
Apparently well received by developers in airport lounges.
- egwynn 10y agoAccording to the diff (and its accompanying message) this is what it supplements. It allows one to specify “nsa” instead of “random”, and it’ll fill in the first three bytes (with 00:20:91) for you.
- jschwartzi 10y agoThat's the NSA's OUID, so anyone who looks your mac address up will think it originated with them.
- brynet 10y agoBTW -- it's also really easy to configure wireless on OpenBSD compared to other systems: # ifconfig iwm0 scan ... # ifconfig iwm0 nwid "AP" [wpakey pass] [nwkey pass] up # dhclient iwm0 http://man.openbsd.org/OpenBSD-current/man8/ifconfig.8#IEEE_802.11_(WIRELESS_DEVICES) http://man.openbsd.org/OpenBSD-current/man8/ifconfig.8#IEEE_... http://man.openbsd.org/OpenBSD-current/man5/hostname.if.5 http://man.openbsd.org/OpenBSD-current/man5/hostname.if.5
- zxcvcxz 10y agoThat's if wireless works at all.
- Hello71 10y agosomewhat difficult to find, but: echo "mac_addr=1" >> /etc/wpa_supplicant/wpa_supplicant.conf documented at https://w1.fi/cgit/hostap/plain/wpa_supplicant/wpa_supplicant.conf https://w1.fi/cgit/hostap/plain/wpa_supplicant/wpa_supplican... line 405.
- atmosx 10y agoHm, here: $ sudo ifconfig en0 ether `openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//'`