View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004363 | Networks | [All Projects] General | public | 2021-07-25 18:07 | 2024-10-01 18:00 |
Reporter | DigitalMy | ||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Summary | 0004363: Set OpenWrt dual gateway switch | ||||
Description | Use two external internet providers in one router 1) default USB modem with LTE mobile internet 2) additional WiFi client to 802.11n AP -> public Wi-Fi service or private smartphone Tp-link T2UH use antenna D-Link ANT24-1400 14dBi | ||||
Tags | No tags attached. | ||||
|
Found https://openwrt.org/ru/doc/howto/mwan3 opkg update opkg install luci-app-mwan3 After that new web menu inside network "Load balancing" /cgi-bin/luci/admin/status/mwan edit /etc/config/mwan3 Removed this mwan3 - and reinstalled under OpenWrt 21.02.5 - after configuration works fine |
|
1) change default one to USB wireless adapter with 8dBi antenna had tested Tp-Link WN-722 v2 Atheros AR9271 cat /etc/config/wireless dmesg | grep usb opkg update opkg install kmod-ath9k-htc |
|
3) most modern adapters like Asus USB-AX56 and D-Link DWA-X1850 rev A1 (Realtek RTL8832AU) are made on RTL88....U chips need to implement driver for OpenWRT |
|
5) WN722 damaged by rain - raplace with T2UH v1 lsusb Ralink Technology, Corp. MT7610U "Archer T2U" 2.4G+5G WLAN Adapter driver kmod-mt76x0u_5.4.188+2021-12-03-678071ef-4_powerpc_464fp required OpenWrt update to version 21 openwrt-21.02.3-apm821xx-nand-netgear_wndr4700-squashfs-sysupgrade opkg install kmod-mt76x0u |
|
First approach is to make both default routes be present in main table. For this, each interafce should have some static metric, different from another. Set in /cgi-bin/luci/admin/network/network Hereby set interface metric in OpenWRT: for LTE USB modem: 12 for wireless AP client: 11 |
|
Second approach is to set static device names (override random): In Wireless menu for each Wireless Adapter set "Edit" in tab "Advanced" Interface name /cgi-bin/luci/admin/network/wireless Device: wlan0 - for 2.4GHz internal adapter Master AP (Channel: 10) = radio0 wlan1 - for 5.2GHz internal adapter Master AP (Channel: 44) = radio1 wlan6 - for external modem adapter "LTE" = radio2 wlan7 - for smartphone AP client adapter "WWW" = radio3 |