Hello Peter, all, I've just tested auto-join since 13 of july. First of all. THANKS !!! It works great.
This email is just because I've observed 2 strange situations. I don't know if this is linked to auto-join or if this caused by errors on my setup. 1) egress group is not following the connected interface. To reproduce it, just establish a connection via a cable. ifconfig will show you that egress group is on that connection. Pull-off the ehternet cable and run "doas sh /etc/netstart". The system will switch perfectly to the wifi connection described in the hostname.if file. But, if I do a ifconfig, I still see the egress group on the cable interface. This was not my expectation. I thought that the egress group will switch too to the new running interface. 2) Time to times, the connection is correctly established on the correct interface (for example from cable to wifi), but arp shows that the arp table for few machines remains on the wrong interface. I have to run "doas arp -ad" several times to remove this bad entry in the arp table. Is there a better way to avoid such situation ? Thanks for your feedbacks. ANNEXES ------------- e5450:~$ ifconfig em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr f8:ca:b8:50:84:15 index 1 priority 0 llprio 3 groups: egress media: Ethernet autoselect (1000baseT full-duplex,rxpause,txpause) status: active inet 192.168.3.16 netmask 0xffffff00 broadcast 192.168.3.255 iwm0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500 lladdr 10:02:b5:83:40:41 index 2 priority 4 llprio 3 groups: wlan media: IEEE802.11 autoselect (HT-MCS12 mode 11n) status: no network ieee80211: join Linksys19594 wpakey wpaprotos wpa2 wpaakms psk wpaciphers ccmp wpagroupcipher ccmp inet 192.168.3.15 netmask 0xffffff00 broadcast 192.168.3.255 e5450:~$ doas sh /etc/netstart em0: no link .......... sleeping iwm0: no link .......... got link iwm0: bound to 192.168.3.15 from 192.168.3.1 (00:22:4d:ac:30:fd) e5450:~$ ifconfig em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr f8:ca:b8:50:84:15 index 1 priority 0 llprio 3 groups: egress media: Ethernet autoselect (none) status: no carrier inet 192.168.3.16 netmask 0xffffff00 broadcast 192.168.3.255 iwm0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr 10:02:b5:83:40:41 index 2 priority 4 llprio 3 groups: wlan media: IEEE802.11 autoselect (HT-MCS1 mode 11n) status: active ieee80211: join Linksys19594 chan 10 bssid c8:d7:19:4c:76:73 61% wpakey wpaprotos wpa2 wpaakms psk wpaciphers ccmp wpagroupcipher ccmp inet 192.168.3.15 netmask 0xffffff00 broadcast 192.168.3.255 e5450:~$ arp -a Host Ethernet Address Netif Expire Flags fw (incomplete) em0 expired nas (incomplete) em0 expired 192.168.3.15 10:02:b5:83:40:41 iwm0 permanent l 192.168.3.16 f8:ca:b8:50:84:15 em0 permanent l 192.168.3.20 c8:d7:19:4c:76:72 iwm0 19m3s