OpenWRT/ASUS WL-HDD

From Hackerspace Brussels
Jump to: navigation, search

[edit] Steps to flash ASUS WL-HDD 2.5 with OpenWRT

[edit] Enter the bootloader

Steps to enter the bootloader:

  1. Connect networkcable
  2. Unplug power
  3. Press and hold reset button
  4. Plug power
  5. Orange LED starts blinking slowly
  6. Release reset button

Set IP address to 192.168.1.2/24 and you should be able to ping 192.168.1.220 or 192.168.1.1

[edit] Steps to flash image via tftp

  • Use below steps
$ tftp 192.168.1.220
tftp> binary
tftp> get ASUSSPACELINK\x01\x01\xa8\xc0 /dev/null
tftp> put ./openwrt-brcm-2.4-squashfs.trx ASUSSPACELINK
  • Or use this script:
#!/bin/bash
if [ $# != 2 ]; then
        echo "Usage: $0 IP image"
        echo "Example: $0 192.168.1.220 openwrt-brcm47xx-squashfs.trx"
        exit 1
fi
echo -en "binary\nget ASUSSPACELINK\x01\x01\xa8\xc0 /dev/null\nquit\n" | tftp $1
sleep 1
echo -en "binary\nput $2 ASUSSPACELINK\nquit\n" | tftp $1

echo "Done uploading image..."
echo "Device will reboot now. Wait for 5minutes."
echo "Ping 192.168.1.1 to see when it is finished booting."
echo "Telnet 192.168.1.1 to start."