OpenWrt Forum Archive

Topic: mtd.static download?

The content of this topic has been archived on 24 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 upgrade a pre-whiterussian WRT54G (v2). When I try to re-flash the firmware using whiterussian rc5, mtd returns "no valid command".

I see that same error message at http://wiki.openwrt.org/OpenWrtDocs/Deinstalling - however, the mtd.static download referenced by that page, http://downloads.openwrt.org/people/wbx/mtd.static, is a dead link. Google wasn't much help, either.

So, can someone point me to a download location for mtd.static?

thanks!

PS: I've also tried tftpd and atftpd, following the instructions on the wiki, but both simply time out. I do have boot_wait=on, but nevertheless I haven't been able to get past the timeouts:

$ atftp --verbose --trace --option "timeout 1" --option "mode octet" --put --local-file openwrt-wrt54g-squashfs.bin 10.0.1.1
Verbose mode on.
Trace mode on.
Option timeout = 1
Option mode = octet
sent WRQ <file: openwrt-wrt54g-squashfs.bin, mode: octet <timeout: 1>>
timeout: retrying...
sent WRQ <file: openwrt-wrt54g-squashfs.bin, mode: octet <timeout: 1>>
timeout: retrying...
sent WRQ <file: openwrt-wrt54g-squashfs.bin, mode: octet <timeout: 1>>
timeout: retrying...
sent WRQ <file: openwrt-wrt54g-squashfs.bin, mode: octet <timeout: 1>>
timeout: retrying...
sent WRQ <file: openwrt-wrt54g-squashfs.bin, mode: octet <timeout: 1>>
timeout: retrying...
sent WRQ <file: openwrt-wrt54g-squashfs.bin, mode: octet <timeout: 1>>
timeout: retrying...
tftp: aborting

After some more searching on the forums, I realized that the boot_wait IP is *always* 192.168.1.1, and I was using my nvram addess (10.0.1.1).

Using 192.168.1.1, tftp works fine, and I'm now running whiterussian rc5.

I'll see if I can improve the wiki pages to make this issue clearer.

So, no active link for the mtd.static file?

If not, perhaps that pointer should be removed from the documentation and a note added that the mtd procedure doesn't work for earlier versions of OpenWRT....

The discussion might have continued from here.