diff options
author | Davide Fioravanti <pantanastyle@gmail.com> | 2022-10-04 23:20:39 +0200 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2022-10-25 02:34:46 +0200 |
commit | 8d921167e974fd98d35959559a0dbafd3400f7ec (patch) | |
tree | 71b86cda29683dbdfb37357ff053ab9b4dff8a2f /target/linux/ipq40xx/base-files | |
parent | ea63945b254ccd0560c46ff86766bd7a6772e809 (diff) | |
download | upstream-8d921167e974fd98d35959559a0dbafd3400f7ec.tar.gz upstream-8d921167e974fd98d35959559a0dbafd3400f7ec.tar.bz2 upstream-8d921167e974fd98d35959559a0dbafd3400f7ec.zip |
ipq40xx: convert to DSA and enable Netgear Orbi devices
Convert to DSA and enable again Netgear Orbi devices:
- RBR50
- RBS50
- SRR60
- SRS60
Signed-off-by: Davide Fioravanti <pantanastyle@gmail.com>
Diffstat (limited to 'target/linux/ipq40xx/base-files')
-rw-r--r-- | target/linux/ipq40xx/base-files/etc/board.d/02_network | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/ipq40xx/base-files/etc/board.d/02_network b/target/linux/ipq40xx/base-files/etc/board.d/02_network index 57c228e123..c24e4c8373 100644 --- a/target/linux/ipq40xx/base-files/etc/board.d/02_network +++ b/target/linux/ipq40xx/base-files/etc/board.d/02_network @@ -64,6 +64,12 @@ ipq40xx_setup_interfaces() mikrotik,wap-ac) ucidef_set_interface_lan "sw-eth1 sw-eth2" ;; + netgear,rbr50|\ + netgear,rbs50|\ + netgear,srr60|\ + netgear,srs60) + ucidef_set_interfaces_lan_wan "lan1 lan2 lan3" "wan" + ;; zte,mf286d) ucidef_set_interfaces_lan_wan "lan2 lan3 lan4" "wan" ;; @@ -142,6 +148,10 @@ ipq40xx_setup_macs() lan_mac=$(cat /sys/firmware/mikrotik/hard_config/mac_base) label_mac="$lan_mac" ;; + netgear,rbr50|\ + netgear,rbs50|\ + netgear,srr60|\ + netgear,srs60|\ pakedge,wr-1) wan_mac=$(macaddr_add $(get_mac_label) 1) ;; |