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 <albe...@mattea.info>
---
diff -uN a/target/linux/ramips/base-files/etc/board.d/02_network 
b/target/linux/ramips/base-files/etc/board.d/02_network

--- a/target/linux/ramips/base-files/etc/board.d/02_network     2015-10-28 
18:45:05.993476654 +0100
+++ b/target/linux/ramips/base-files/etc/board.d/02_network     2015-10-28 
18:47:02.505480181 +0100
@@ -127,6 +127,11 @@
                ucidef_add_switch_vlan "switch0" "1" "1 2 3 4 6t"
                ucidef_add_switch_vlan "switch0" "2" "0 6t"
                ;;
+       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"
+               ;;
        awapn2403)
                ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
                ucidef_add_switch "switch0" "1" "1"
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to