'man ifconfig' states you can use bssid parameter to specify your
desired bssid -automatic is the default mode-.
So you may try 'ifconfig iwn0 nwid Open bssid 00:0b:0e:33:ed:00'.
Regards,
Dani
Milin escribiC3:
Hi all,
I'd like to connect to the wireless AP according to its MAC address.
For example there are two wireless AP
nwid Open chan 6 bssid 00:0b:0e:29:06:40 189dB 54M short_preamble,short_slottime
nwid Open chan 6 bssid 00:0b:0e:33:ed:00 172dB 54M short_preamble,short_slottime
and I'd like to connect to the second one (00:0b:0e:33:ed:00). With
ifconfig iwn0 nwid Open up it connects to the first one.
I have googled, but haven't found anything useful.
I'm using OpenBSD 4.6 and wireless NIC is iwn0.
Thanks a lot,
Milan