電訊茶室's Archiver

角色 發表於 2018-6-20 15:50

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[code]
/system reset-configuration skip-backup=yes
[/code].

3. Remove the default wlan1 port from the default "bridge" bridge[code]
/interface bridge port
remove [find interface="wlan1"]
[/code].

4. Set the remote profile name "remote-ap" and password = "remote-ap-password" for the MikroTik WiFi router[code]
/interface wireless security-profiles
add authentication-types=wpa2-psk mode=dynamic-keys name=remote-ap \
wpa2-pre-shared-key=remote-ap-password
[/code].


5. Set the default password (="default_password") for the wlan2 (5GHz)[code]
/interface wireless security-profiles set authentication-types=wpa2-psk mode=dynamic-keys wpa2-pre-shared-key=default_password [find name="default"]
[/code].

6. Connect the remote AP with SSID = "mobile-phone-tethering-SSID" with the password profile = "remote-ap"[code]
/interface wireless set wlan1 ssid=mobile-phone-tethering-SSID mode=station frequency=auto security-profile=remote-ap disabled=no
[/code].

7. Set the wlan1 as a DHCP client[code]
/ip dhcp-client add interface=wlan1 disabled=no
[/code].

8. Set the NAT with masquerade[code]
/ip firewall nat add action=masquerade chain=srcnat out-interface=wlan1
[/code].

9. Reboot your router[code]
/system reboot
[/code]Now 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.

角色 發表於 2018-6-20 17:17

You may use USB modem or MiFi in lieu of the mobile phone.

yiucsw 發表於 2018-8-28 00:20

這個同Repeater 功能有什麼不一樣?

角色 發表於 2018-8-28 04:32

这不是 Repeater,而是mobile router。

yiucsw 發表於 2018-9-7 01:08

mobile router 是什麼? Client repeater? 能加VPN function? Mikrotik 連到Mobile phone, VPN 後,再分享?

角色 發表於 2018-9-9 17:58

一个mobile phone,然后用一根线把mobile phone和Mikrotik Router连起来,通过上面说的settings,然后把Router的traffic通过mobile phone的data plan走。
当然Mikrotik里面set VPN是可以的。

yiucsw 發表於 2018-9-9 20:37

USB tethering 到Mikrotik USB port? 有什麼好處?用電小?

角色 發表於 2018-9-9 21:11

不是用电少!这个装置,主要要有空余的手机,然后插一张data plan课,在更换ISP的broadband,期间整个家里的都能上网。如果昕的ISP还没有安好,那么期间怎么办呢?所以我才写出这个临时方案。

頁: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.