D'Link DIR-505L

Report problems and success stories with Gargoyle on various hardware platforms.

Moderator: Moderators

Post Reply
alanlara83
Posts: 2
Joined: Fri Mar 04, 2016 5:08 pm

D'Link DIR-505L

Post by alanlara83 »

Hi!

Cannot install on DIR-505L, from factory stock firmware, tried the factory bin to gargoyle. :cry: Already tried normal and emergency flash mode, but always get the "not a valid firmware file"error.

What can I do?

nworbnhoj
Posts: 916
Joined: Mon Jul 21, 2014 10:08 am
Location: Australia
Contact:

Re: D'Link DIR-505L

Post by nworbnhoj »

try giving the image file a shorter-name.bin
Can you help someone else get Gargoyle up and running?
TL-WDR3600 : Gargoyle 1.9.0 : NBN FixedWireless
TL-WR1043ND-V2 : Gargoyle 1.8.0 : 3G Huawei E160E

alanlara83
Posts: 2
Joined: Fri Mar 04, 2016 5:08 pm

Re: D'Link DIR-505L

Post by alanlara83 »

Already tried. "Firmware.bin" for instance. Still no success :?

nworbnhoj
Posts: 916
Joined: Mon Jul 21, 2014 10:08 am
Location: Australia
Contact:

Re: D'Link DIR-505L

Post by nworbnhoj »

Have you checked the integrity of the image file you downloaded with the sig? and/or redownload the image file.
Can you help someone else get Gargoyle up and running?
TL-WDR3600 : Gargoyle 1.9.0 : NBN FixedWireless
TL-WR1043ND-V2 : Gargoyle 1.8.0 : 3G Huawei E160E

Volaris
Posts: 177
Joined: Thu May 01, 2014 1:02 pm

Re: D'Link DIR-505L

Post by Volaris »

Are you putting it into D-Link recovery mode and using the factory.bin file as described in the OpenWRT wiki?
https://wiki.openwrt.org/toh/d-link/dir ... _interface

If yes to both, the only other thing I can suggest is using a different web browser. One of my D-Link's recovery mode only liked Internet Explorer... and I think Firefox.
QoS Tip: Don't complicate your QoS settings. Gargoyle evenly splits available bandwidth between active devices as needed. Just delete all your classification rules and leave only one normal service class and you're done. No more arguing over bandwidth.

dir505l
Posts: 1
Joined: Fri May 16, 2025 11:09 pm

Re: D'Link DIR-505L

Post by dir505l »

This device is so old that probably nobody cares anymore, but for the sake of eternity...

The router's on-board recovery mode is looking for the exact model name/number (a null terminated ASCII string) in the first 64 bytes of the firmware file. You'll need to use your favorite hex editor to change "DIR505A1-3" to "DIR505LA1-3".

Here's the before:

Code: Select all

00000000  36 8f e1 65 00 78 00 00  00 10 00 00 48 4f 52 4e  |6..e.x......HORN|
00000010  45 54 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |ET..............|
00000020  48 4f 52 4e 45 54 2d 50  41 43 4b 45 54 2d 44 49  |HORNET-PACKET-DI|
00000030  52 35 30 35 41 31 2d 33  00 00 00 00 00 00 44 45  |R505A1-3......DE|
And here's the after:

Code: Select all

00000000  36 8f e1 65 00 78 00 00  00 10 00 00 48 4f 52 4e  |6..e.x......HORN|
00000010  45 54 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |ET..............|
00000020  48 4f 52 4e 45 54 2d 50  41 43 4b 45 54 2d 44 49  |HORNET-PACKET-DI|
00000030  52 35 30 35 4c 41 31 2d  33 00 00 00 00 00 44 45  |R505LA1-3.....DE|

Post Reply