MikroTik hAP ac² - Mobile WiFi or phone tethering (备用宽频)
Mobile WiFi or phone tethering (备用宽频)
有的时候,因为要更换ISP,而新约有没有开始,那么这段内家里的电脑就没有网用,家里人一定会有怨言,那怎样办好?而反观现在很多data plan中都有无限上网,虽然速度流量超过某个G会降速,但是降下来的速度是依然可以用,现在分享一个可行方案就如下:
设备:
i. Mobile devices (mobile phone tethering or mobile WiFi (MiFi)
ii. 7日,14日,一个月无限上网plan(在鸭记有很多选择)
iii. MikroTik WiFi Router (hAP ac^2)
大家可以根据下面思路去configure MikroTik WiFi router
1. Backup你的旧的router configuration。
2. Reset你的router- /system reset-configuration skip-backup=yes
複製代碼 .
3. Remove the default wlan1 port from the default "bridge" bridge- /interface bridge port
- remove [find interface="wlan1"]
複製代碼 .
4. Set the remote profile name "remote-ap" and password = "remote-ap-password" for the MikroTik WiFi router- /interface wireless security-profiles
- add authentication-types=wpa2-psk mode=dynamic-keys name=remote-ap \
- wpa2-pre-shared-key=remote-ap-password
複製代碼 .
5. Set the default password (="default_password") for the wlan2 (5GHz)- /interface wireless security-profiles set authentication-types=wpa2-psk mode=dynamic-keys wpa2-pre-shared-key=default_password [find name="default"]
複製代碼 .
6. Connect the remote AP with SSID = "mobile-phone-tethering-SSID" with the password profile = "remote-ap"- /interface wireless set wlan1 ssid=mobile-phone-tethering-SSID mode=station frequency=auto security-profile=remote-ap disabled=no
複製代碼 .
7. Set the wlan1 as a DHCP client- /ip dhcp-client add interface=wlan1 disabled=no
複製代碼 .
8. Set the NAT with masquerade- /ip firewall nat add action=masquerade chain=srcnat out-interface=wlan1
複製代碼 .
9. Reboot your routerNow you are able to connect the internet using the LAN port from 2-5 and 5GHz AP. You can add a virtual VAP1 of 2.4GHz and tie this VAP1 to the network bridge (name=bridge) in the WiFi router. |