summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-11-02 10:17:26 +0000
committerJohn Crispin <john@openwrt.org>2015-11-02 10:17:26 +0000
commit8fa6927415e357432a3a16505569bf7d6b7e17a0 (patch)
tree9437d393bfbcb032ad4974547ff716d23d502609
parent7cc3beff324d2418c261b59a25dcf180b56232de (diff)
downloadmtk-20170518-8fa6927415e357432a3a16505569bf7d6b7e17a0.zip
mtk-20170518-8fa6927415e357432a3a16505569bf7d6b7e17a0.tar.gz
mtk-20170518-8fa6927415e357432a3a16505569bf7d6b7e17a0.tar.bz2
ramips: add support for the Asus RP-N53 in the "02_network" boot script
This patch adds a case for the Asus RP-N53 in the "02_network" boot script. Without this, the lan interface does not get configured on startup, effectively bricking the device. Signed-off-by: Alberto Mattea <alberto@mattea.info> SVN-Revision: 47345
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network
index 0732796..c77909f 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -104,7 +104,8 @@ ramips_setup_interfaces()
ucidef_add_switch_vlan "switch0" "2" "4 5t"
;;
asl26555|\
- re6500)
+ re6500|\
+ rp-n53)
ucidef_set_interface_lan "eth0.1"
ucidef_add_switch "switch0" "1" "1"
ucidef_add_switch_vlan "switch0" "1" "1 2 3 4 6t"