I am
loving ifconfig's recently added 'join' parameter in -current, but having a slight bit of trouble using it from my hostname.if file. Of the networks I regularly visit, there's one in particular where I like to use a random MAC.
Code:
/etc/hostname.iwn0:
join "Guest_Wireless" lladdr random
join "linksies" wpakey "0123456789abcdef"
join "network not found" wpakey "fedcba9876543210"
join "WNET5" wpakey "Super secret passphrase!"
dhcp
up
However, this randomizes my MAC on _all_ of the networks I join, not just that specific one. (I've also tried changing the order of the join statements, to no effect.) Should I be achieving this some other way?