aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/etc/diag.sh
diff options
context:
space:
mode:
authorSebastian Kinne <contact@sebkinne.com>2018-02-13 13:26:33 +1100
committerPiotr Dymacz <pepe2k@gmail.com>2018-02-22 18:53:22 +0100
commit950b278c81cb380df869b0dadc02fa8258a91a6a (patch)
treeb00daa6a85bd2e8cbe5cfdc125afca92fe1fd4bd /target/linux/ar71xx/base-files/etc/diag.sh
parent2ea98fc39b21392c1556d6768604f54a578278d4 (diff)
downloadupstream-950b278c81cb380df869b0dadc02fa8258a91a6a.tar.gz
upstream-950b278c81cb380df869b0dadc02fa8258a91a6a.tar.bz2
upstream-950b278c81cb380df869b0dadc02fa8258a91a6a.zip
ar71xx: add support for AR9331 based Hak5 devices
This adds support for AR9331 based Hak5 penetration testing tools: - WiFi Pineapple NANO - LAN Turtle - Packet Squirrel WiFi Pineapple NANO specifications: - SoC: Atheros AR9331 (400 MHz) - RAM: 64 MB (DDR2) - FLASH: 16 MB - WiFi: 1T1R AR9331 (built-in), 1T1R AR9271 (built-in via USB bus) - Ethernet: 1x FE over USB (ASIX AX88772A) - Ports: 2x RP-SMA for antennas, 1x USB 2.0 (host), 1x micro SD - Power: USB 5 V, 1.5 A - Other: status LED, reset button LAN Turtle specifications: - SoC: Atheros AR9331 (400 MHz) - RAM: 64 MB (DDR2) - FLASH: 16 MB - WiFi: none - Ethernet: 1x FE (AR9331), 1x FE over USB (Realtek RTL8152B) - Ports: 1x RJ45, version dependent: micro SD or 3G SIM slot - Power: USB 5 V, 0.5 A - Other: status LED, reset button (inside, on PCB) Packet Squirrel specifications: - SoC: Atheros AR9331 (400 MHz) - RAM: 64 MB (DDR2) - FLASH: 16 MB - WiFi: none - Ethernet: 2x FE (AR9331) - Ports: 2x RJ45, 1x USB 2.0 - Power: USB 5 V, 0.12 A - Other: status LED, reset button, 4-way switch Flash instructions for all 3 devices: Original firmware is based on OpenWrt. Use sysupgrade via SSH to flash. Signed-off-by: Sebastian Kinne <contact@sebkinne.com> [squashed commits, combined and reworked mach files, aligned board naming with general convention, fixed minor issues, tested on real hardware, reworded commit subject and description] Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/diag.sh')
-rw-r--r--target/linux/ar71xx/base-files/etc/diag.sh7
1 files changed, 6 insertions, 1 deletions
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"
;;