diff options
Diffstat (limited to 'target/linux/ar71xx/base-files')
5 files changed, 26 insertions, 2 deletions
diff --git a/target/linux/ar71xx/base-files/etc/board.d/01_leds b/target/linux/ar71xx/base-files/etc/board.d/01_leds index fa47461f64..00954dfaa4 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/01_leds +++ b/target/linux/ar71xx/base-files/etc/board.d/01_leds @@ -405,6 +405,9 @@ hornet-ub-x2) ucidef_set_led_wlan "wlan" "WLAN" "alfa:blue:wlan" "phy0tpt" ucidef_set_led_usbdev "usb" "USB" "alfa:blue:usb" "1-1" ;; +lan-turtle) + ucidef_set_led_netdev "wan" "WAN" "$board:orange:system" "eth1" + ;; mc-mac1200r) ucidef_set_led_wlan "wlan2g" "WLAN2G" "mercury:green:wlan2g" "phy1tpt" ucidef_set_led_wlan "wlan5g" "WLAN5G" "mercury:green:wlan5g" "phy0tpt" @@ -951,6 +954,9 @@ whr-hp-gn) ucidef_set_led_switch "lan3" "LAN3" "buffalo:green:lan3" "switch0" "0x08" ucidef_set_led_switch "lan4" "LAN4" "buffalo:green:lan4" "switch0" "0x10" ;; +wifi-pineapple-nano) + ucidef_set_led_wlan "wlan0" "WLAN0" "$board:blue:system" "phy0tpt" + ;; wlae-ag300n) ucidef_set_led_netdev "wireless" "WIRELESS" "buffalo:green:wireless" "wlan0" ;; diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network index 6beb8fbfdb..46599058c4 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/02_network +++ b/target/linux/ar71xx/base-files/etc/board.d/02_network @@ -140,6 +140,7 @@ ar71xx_setup_interfaces() unifi|\ unifiac-lite|\ wi2a-ac200i|\ + wifi-pineapple-nano|\ wndap360|\ wp543) ucidef_set_interface_lan "eth0" diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index 41b6f09304..3550f7dc65 100644 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -27,6 +27,7 @@ get_status_led() { e600gac-v2|\ eap120|\ minibox-v1|\ + packet-squirrel|\ som9331|\ sr3200|\ tl-wr802n-v2|\ @@ -203,7 +204,8 @@ get_status_led() { r36a) status_led="$board:blue:status" ;; - e600g-v2) + e600g-v2|\ + wifi-pineapple-nano) status_led="$board:blue:system" ;; eap300v2) @@ -254,6 +256,9 @@ get_status_led() { jwap230) status_led="$board:green:led1" ;; + lan-turtle) + status_led="$board:orange:system" + ;; ls-sr71) status_led="ubnt:green:d22" ;; diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index a041255c90..fda135072c 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -741,6 +741,9 @@ ar71xx_board_detect() { *"JWAP230") name="jwap230" ;; + *"LAN Turtle") + name="lan-turtle" + ;; *"Lima"*) name="lima" ;; @@ -865,6 +868,9 @@ ar71xx_board_detect() { *"Oolite V1.0") name="oolite" ;; + *"Packet Squirrel") + name="packet-squirrel" + ;; *"PB42") name="pb42" ;; @@ -1327,6 +1333,9 @@ ar71xx_board_detect() { *"WHR-HP-GN") name="whr-hp-gn" ;; + *"WiFi Pineapple NANO") + name="wifi-pineapple-nano" + ;; *"WLAE-AG300N") name="wlae-ag300n" ;; diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index d7b4c63848..adc325b34c 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -392,12 +392,14 @@ platform_check_image() { el-m150|\ el-mini|\ gl-inet|\ + lan-turtle|\ mc-mac1200r|\ minibox-v1|\ omy-g1|\ omy-x1|\ onion-omega|\ oolite|\ + packet-squirrel|\ re355|\ re450|\ rut900|\ @@ -466,7 +468,8 @@ platform_check_image() { tl-wr940n-v4|\ tl-wr941nd|\ tl-wr941nd-v5|\ - tl-wr941nd-v6) + tl-wr941nd-v6|\ + wifi-pineapple-nano) local magic_ver="0100" case "$board" in |