I set up a mAP Lite to connect as a station to different wifi APs using a connect list, and bridged it with a virtual AP.
Code: Select all
/interface wireless security-profiles
set [ find default=yes ] group-ciphers="" supplicant-identity=TR unicast-ciphers=""
add authentication-types=wpa2-psk mode=dynamic-keys name=SP1 supplicant-identity=TR ...
add authentication-types=wpa2-psk mode=dynamic-keys name=SPAnd supplicant-identity=TR
add authentication-types=wpa2-psk group-ciphers=tkip,aes-ccm mode=dynamic-keys name=SP3 supplicant-identity=TR \
unicast-ciphers=tkip,aes-ccm
add authentication-types=wpa2-eap eap-methods=peap mschapv2-username=user1 name=SP4 supplicant-identity=\
id1
...
/interface wireless connect-list
add interface=sta1 security-profile=SP1 ssid=AP1 comment="Office1"
add interface=sta1 security-profile=SP1 ssid=AP2 comment="Office2"
add interface=sta1 security-profile=SPAnd ssid=MyAndroid comment="My corporate cellular"
add interface=sta1 security-profile=SP3 ssid=AP3 comment="Cafe 1"
add interface=sta1 security-profile=SP4 ssid=AP4 comment="Corp 1"
...
move to a different place or start my cellular phone tethering it roams to it.
The problem I'm seeing for this approach is that when I move with the mAP Lite from one place to another the dhcp-client
does not notice at all. This brings two kind of problems:
- Some APs blacklist the router when it "speaks" in the wrong network or sends DHCP messages with the wrong network
- Even in those not blacklisting me, I get no connection until the lease expires or I manually release it. My phone AP has a lease of 1 hour, and some of the others 24h.