aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/mt7621/base-files
diff options
context:
space:
mode:
authorLeon M. Busch-George <leon@georgemail.eu>2022-11-12 19:31:41 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2023-01-06 19:22:52 +0100
commitf6d394e9f2fd41547236c092ac914322220eb77c (patch)
tree30c0f239fdb9e0404f4be23d8390d07f69c2ed1d /target/linux/ramips/mt7621/base-files
parented7c1a504eae6b220e01da330c62c47d299e2c5d (diff)
downloadupstream-f6d394e9f2fd41547236c092ac914322220eb77c.tar.gz
upstream-f6d394e9f2fd41547236c092ac914322220eb77c.tar.bz2
upstream-f6d394e9f2fd41547236c092ac914322220eb77c.zip
ramips: add support for Cudy M1800
Specifications SoC: MT7621 CPU: 880 MHz Flash: 32 MiB RAM: 256 MiB WLAN: MT7915 WiFi 6 (2.4/5 GHz) Ethernet: 2x Gbit ports MAC LAN b4:4b:d6:2e:c7:b0 (label) WAN b4:4b:d6:2e:c7:b1 WiFi 2.4 00:0c:43:26:46:08 WiFi 5 00:0c:43:26:59:97 Installation There are two known options: 1) The Luci-based UI. 2) Press and hold the reset button during power up. The router will request 'recovery.bin' from a TFTP server at 192.168.1.88. Both options require a signed firmware binary. The openwrt image supplied by cudy is signed and can be used to install unsigned images. Signed-off-by: Leon M. Busch-George <leon@georgemail.eu>
Diffstat (limited to 'target/linux/ramips/mt7621/base-files')
-rw-r--r--target/linux/ramips/mt7621/base-files/etc/board.d/02_network9
1 files changed, 5 insertions, 4 deletions
diff --git a/target/linux/ramips/mt7621/base-files/etc/board.d/02_network b/target/linux/ramips/mt7621/base-files/etc/board.d/02_network
index f0ac4f1c4f..dea433dec4 100644
--- a/target/linux/ramips/mt7621/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/mt7621/base-files/etc/board.d/02_network
@@ -78,6 +78,11 @@ ramips_setup_interfaces()
uci add_list firewall.@zone[1].network='eth_data'
uci add_list firewall.@zone[1].network='eth_om'
;;
+ cudy,m1800|\
+ yuncore,ax820|\
+ zyxel,nt7101)
+ ucidef_set_interfaces_lan_wan "lan" "wan"
+ ;;
gnubee,gb-pc1)
ucidef_set_interface_lan "ethblack ethblue"
;;
@@ -117,10 +122,6 @@ ramips_setup_interfaces()
ubnt,usw-flex)
ucidef_set_interface_lan "lan1 lan2 lan3 lan4 lan5"
;;
- yuncore,ax820|\
- zyxel,nr7101)
- ucidef_set_interfaces_lan_wan "lan" "wan"
- ;;
zyxel,wap6805)
ucidef_set_interface_lan "lan1 lan2 lan3 lan4"
ucidef_set_interface "qtn" ifname "eth1" protocol "static" ipaddr "1.1.1.1" netmask "255.255.255.0"