OpenWrt Forum Archive

Topic: Flashing Asus WL-HDD with atftp fails

The content of this topic has been archived on 20 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I'm trying to install openwrt on an Asus WL-HDD.
Images openwrt-brcm-2.4-squashfs.trx or openwrt-brcm47xx-2.6-squashfs.trx.
Following the instructions in the Wiki and FAQ I'm using the atftp client for Linux, setting a fixed IP adress for the computer in the 192.168.1.1/26 range (the box is running Oleg's version of the Asus OS currently, so the default IP is no longer 192.168.1.220). Pinging after a boot in the failsafe mode works OK.

Next steps:
> atftp  192.168.1.1
tftp> status
Connected:  192.168.1.1 port 69
Mode:       octet
Verbose:    off
Trace:      off
Options
tsize:     disabled
blksize:   disabled
timeout:   disabled
multicast: disabled
mtftp variables
client-port:   76
mcast-ip:      0.0.0.0
listen-delay:  2
timeout-delay: 2
tftp> get ASUSSPACELINK\x01\x01\xa8\xc0 /dev/null
Overwite local file [y/n]? y
timeout: retrying...
[...]
timeout: retrying...
tftp: aborting
tftp>

The power LED turns off after the get command and the unit is dead until powered off and on. Also directly putting the trx file without the get command as described for other devices by Asus does not work.
So any help on how to install openwrt on this box will be greatly appreciated.

OK, it worked with the Asus utility. First time since years that I had to boot Windows. Interestingly, the atftp commands were successful for a downgrade from openwrt-brcm47xx-2.6-squashfs.trx to openwrt-brcm-2.4-squashfs.trx (the version with kernel 2.6 crashed too often and, more importantly for the WL-HDD, the package kmod-ide is missing in the repositories of the 2.6 version - I should have checked that prior to installation):

> atftp 192.168.1.1
tftp> status
Connected:  192.168.1.1 port 69
Mode:       octet
Verbose:    off
Trace:      off
Options
tsize:     disabled
blksize:   disabled
timeout:   disabled
multicast: disabled
mtftp variables
client-port:   76
mcast-ip:      0.0.0.0
listen-delay:  2
timeout-delay: 2
Last command: quit
tftp> put openwrt-brcm-2.4-squashfs.trx
timeout: retrying...
timeout: retrying...
timeout: retrying...
timeout: retrying...
timeout: retrying...
timeout: retrying...
tftp: aborting
tftp> get ASUSSPACELINK\x01\x01\xa8\xc0 /dev/null
Overwite local file [y/n]? y
timeout: retrying...
timeout: retrying...
timeout: retrying...
timeout: retrying...
timeout: retrying...
timeout: retrying...
tftp: aborting
tftp> put openwrt-brcm-2.4-squashfs.trx ASUSSPACELINK
tftp> status
Connected:  192.168.1.1 port 69
Mode:       octet
Verbose:    off
Trace:      off
Options
tsize:     disabled
blksize:   disabled
timeout:   disabled
multicast: disabled
mtftp variables
client-port:   76
mcast-ip:      0.0.0.0
listen-delay:  2
timeout-delay: 2
Last command: put openwrt-brcm-2.4-squashfs.trx ASUSSPACELINK
Last file: ASUSSPACELINK
  Bytes transfered:  1.986MB
  Time of transfer:    2.741s
  Throughput:        724.311kB/s
tftp> quit
> ssh -v 192.168.1.1

First impressions of the system are very good. Well done, my congratulations to the developers.

The discussion might have continued from here.