Topic: DIR-615 e3 cannot upload the bin file

Hi all

I have bought a dir-615 rev e3, and want to install OpenWrt on it.

I downloaded openwrt-ar71xx-dir-600-a1-squashfs-factory.bin. Then, according to the wiki, hold the reset button, until the power light start to blink slowly.
I successfully open 192.168.0.1 through the web browser. However, whether I use chrome or IE 6 or Ultra Simple Web Browser 2.0, I cannot upload the bin file... The page just times out.
I also use try the curl method to upload the file. But still failed, below is the output:

$ curl -0vf files=@openwrt-ar71xx-dir-600-a1-squashfs-factory.bin http://192.168.0.1/cgi/index
* Could not resolve host: ; Unknown error
* Closing connection #0
curl: (6) Could not resolve host: ; Unknown error
* About to connect() to 192.168.0.1 port 80 (#0)
*   Trying 192.168.0.1...
* connected
* Connected to 192.168.0.1 (192.168.0.1) port 80 (#0)
> GET /cgi/index HTTP/1.0
> User-Agent: curl/7.26.0
> Host: 192.168.0.1
> Accept: */*
>
^C

Can anybody help me..thanks

2 (edited by ldpinney 2012-07-16 12:35:04)

Re: DIR-615 e3 cannot upload the bin file

http://wiki.openwrt.org/toh/d-link/dir-615#browser.issues
From the Wiki Note for the E* : You might have to change the magic number at the end of the OpenWRT firmware to the one used by the stock DIR-615 firmware to get it to upload.
I used a Hex Editor and changed this.....however now I just use the trunk builds. My E-3 uses the E-4 build.
Unfortunately there seems to be a problem with *some* 4MB trunk builds ATM so it's not available for download.
So you'll need to compile it yourself.

DIR-615 E3 : DIR-825 B1 : WNDR3700 V2 : WDR4310 V1.0 : Hardware Hacks  WR703n V1.6 : WR841n V8.0 : WR1041n V2.0 : Latest Toy : Kingston Mobilelite MLW221

Re: DIR-615 e3 cannot upload the bin file

Hi

Now I successfully flash the firmware into my router. And I am trying to build it myself. When finish building, there are multiple files generated but I really have no idea which one is the true firmware that should be flashed into the router.

amesists ar71xx $ ls -l
total 115412
-rw-r--r-- 1 amesists users     1076 Jul 22 01:49 md5sums
-rwxr-xr-x 1 amesists users   160100 Jul 22 01:05 openwrt-ar71xx-generic-nbg460n_550n_550nh-u-boot.bin                                                                                              
-rw-r--r-- 1 amesists users  2310044 Jul 22 01:49 openwrt-ar71xx-generic-rootfs.tar.gz                                                                                                              
-rw-r--r-- 1 amesists users  2752512 Jul 22 01:49 openwrt-ar71xx-generic-root.jffs2-128k                                                                                                            
-rw-r--r-- 1 amesists users  2752512 Jul 22 01:49 openwrt-ar71xx-generic-root.jffs2-64k                                                                                                             
-rw-r--r-- 1 amesists users  1966080 Jul 22 01:49 openwrt-ar71xx-generic-root.squashfs                                                                                                              
-rw-r--r-- 1 amesists users  1769476 Jul 22 01:49 openwrt-ar71xx-generic-root.squashfs-64k                                                                                                          
-rw-r--r-- 1 amesists users  1420366 Jul 22 01:49 openwrt-ar71xx-generic-uImage-gzip.bin                                                                                                            
-rw-r--r-- 1 amesists users  1031968 Jul 22 01:49 openwrt-ar71xx-generic-uImage-lzma.bin                                                                                                            
-rwxr-xr-x 1 amesists users  3062828 Jul 22 01:49 openwrt-ar71xx-generic-vmlinux.bin                                                                                                                
-rwxr-xr-x 1 amesists users  3129328 Jul 22 01:49 openwrt-ar71xx-generic-vmlinux.elf                                                                                                                
-rw-r--r-- 1 amesists users  1441792 Jul 22 01:49 openwrt-ar71xx-generic-vmlinux.gz                                                                                                                 
-rw-r--r-- 1 amesists users  1048576 Jul 22 01:49 openwrt-ar71xx-generic-vmlinux.lzma                                                                                                               
-rw-r--r-- 1 amesists users 51285247 Jul 22 01:49 OpenWrt-ImageBuilder-ar71xx_generic-for-Linux-x86_64.tar.bz2                                                                                      
-rw-r--r-- 1 amesists users 44056168 Jul 22 01:50 OpenWrt-Toolchain-ar71xx-for-mips_r2-gcc-4.6-linaro_uClibc-0.9.33.2.tar.bz2                                                                       
drwxr-xr-x 3 amesists users    40960 Jul 22 01:49 packages                                                                                                                                          
drwxr-xr-x 2 amesists users     4096 Jul 22 01:48 uboot-ar71xx-nbg460n_550n_550nh

Re: DIR-615 e3 cannot upload the bin file

It looks like the firmware has not been built.
Likely cause seems to be "too many packages installed"
This router has only 4MB of flash so you don't have room for everything on your wish list.
The firmware for flashing would have these file names :

openwrt-ar71xx-generic-dir-615-e4-squashfs-factory.bin : use this file if the device has factory firmware installed.

openwrt-ar71xx-generic-dir-615-e4-squashfs-sysupgrade.bin : use this file if the device has OpenWrt installed.

DIR-615 E3 : DIR-825 B1 : WNDR3700 V2 : WDR4310 V1.0 : Hardware Hacks  WR703n V1.6 : WR841n V8.0 : WR1041n V2.0 : Latest Toy : Kingston Mobilelite MLW221

5 (edited by Amesists 2012-07-22 04:14:25)

Re: DIR-615 e3 cannot upload the bin file

I use the config file here http://downloads.openwrt.org/snapshots/trunk/ar71xx/config
And I find that most are build as a module, how can there are too many packages..

Could you share your config file for my reference?

Re: DIR-615 e3 cannot upload the bin file

Amesists wrote:

Could you share your config file for my reference?

No problem.... Email/PM and I'll link you to my ftp server.

DIR-615 E3 : DIR-825 B1 : WNDR3700 V2 : WDR4310 V1.0 : Hardware Hacks  WR703n V1.6 : WR841n V8.0 : WR1041n V2.0 : Latest Toy : Kingston Mobilelite MLW221