I've run into a strange problem using ifconfig's new join statements.
I have two join lines in /etc/hostname.iwn0, with no nwid statement.
When both of these APs are out of range, it connects to a third,
unmentioned (open) AP.  This is a network I've manually joined before,
but do not want to join automatically.

/etc/hostname.iwn0:

join linksies wpakey 0123456789abcdef
join sisco wpakey beefeeee
dhcp

Output of `ifconfig iwn0 joinlist`:

iwn0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr ab:cd:ef:12:34:56
        index 2 priority 4 llprio 3
        groups: wlan egress
        media: IEEE802.11 autoselect (HT-MCS6 mode 11n)
        status: active
        ieee80211: nwid BADWAP chan 64 bssid ff:ff:ff:ff:ff:ff -63dBm
        join: linksies
              sisco
        inet 192.168.50.85 netmask 0xffff8000 broadcast 192.168.50.255

I've tried adding '-join BADWAP' to hostname.iwn0, but it still joins
automatically at boot.

This started mid-September on -current, and I've been updating to newer
shapshots at least weekly since then.  Running a snapshot from earlier
this week at the moment.  Have I perhaps overlooked something?

Thanks,
Adam

Reply via email to