OpenWrt Forum Archive

Topic: Dlink Dir-645 - anyone opened one up yet

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

Has anyone opened up the new Dlink DIR-645 router yet.  Its billed as 300N, 4 gig ports and "smartbeam" wireless.
I've got one on order, but was wondering if anyone had worked out whether its a good openwrt candidate.

Any news?

I'm also interested.

I am willing to help porting openwrt to this device. However, I have no experience with openWRT at all (although some experience with kernel hacking, which might come handy). I have already downloaded the DIR-645 GPL package which contains the necessary kernel modules (I think they are binary only, though).  I also have managed to get a telnet connection to the device, so I can start some experiments before flashing the device.

Can anyone give me some hints where to start.  Is there an easy way to test a new image without flashing?  I can connect a USB-stick and I have full root access to the original firmware.

Hello,
I`ve maked the FCC.gov test for my DIR-645
I`ll begiun to work at a firmware for it ( when I have some bit time ).
If anyone got trough, and make`it work, untill me please PM me or E-Mail.
I work on telecomunications, and the router does not have standart firmware support for PPPoE IPv6, does not now prefix delegation, and I`m trying to resolv this bug realy hard.

Thank You!

(Last edited by GunFighT on 6 Apr 2012, 16:26)

I'm interested in OpenWRT support for this device, too. Sadly I'm not experienced enough to get this done on my own. Nice to read that joho and GunFight are working on the support. If I can boost this by lending a device to one of the developers and in the core group there is interest to extend the ralink support in general please give me a note.

Don't know where the hardware info on the wiki page is from, but a web search tells me it's a ralink 3662, not a 3883. Maybe it's another hardware version.

Hey,
Here are some dates about it:
is a Ralink RT3662F
I don`t know you`re HW inspection, but at my router is A1.
Well, all information you can find about it in the FCC.gov test.

Some update from the uper post of mine:
Not yet, I`ve didn`t have the time for test, try to make the firmware, etc. I hardly have the time to eat, so many to do in this life... Hope it will come soon the time.

Info about the router:
Platform:
CPU Type = Ralink RT3662F
Flash Chip = Macronix MX25L6406EMI-12G
Flash Size = 8 MB
RAM Size = 64 MB
RAM Chip = ESMT M14D5121632A-2.5B
ETH chip1 = Ralink RT3662
Switch = Realtek RTL8367RB
Ethernet Port Count = 1-10/100/1000-WAN 4-10/100/1000-LAN
Wired Standard = IEEE 802.3/3u/3ab
Ethernet interface OUI = none specified
Flash Card Socket/Type = No
SD/MMC Mod Support = No
MiniPCI slots = No
PoE = No
Power = 5VDC/2.5A
Connector type/size = Barrel plug
USB = 1x USB 2.0
Serial Port = Yes
JTAG Port = No
Radio:
Wireless Radio = Ralink RT3662
WLAN DSP processor = Ralink RT3662
Wireless interface OUI = none specified
Antenna Connector Type = U.FL
MIMO status = 2x2:2
Wireless Standard = IEEE 802.11b/g/n
802.11n = up to 300Mbps
802.11g = 6, 9, 12, 18, 24, 36, 48, 54Mbps
802.11b = 1, 2, 5.5, 11Mbps
WiFi Operating Frequency = 2.4GHz

Well this is all information what I could got. Hope helps.

Thanks

Opened it, hooked up serial port and booted openwrt... updated instructions on the wiki (http://wiki.openwrt.org/toh/d-link/dir-645) for serial port and image packaging.  Support in the trunk isn't so great but with a little work should be usable (flash and network aren't working out of the box so serial console is essential).

I`ve found a nother bug on the router. When a connection PPTP is ESTABLISHED from the inside ( LAN connection, but on WI-FI ) to outside ( WAN connection ), the wireless signal drops to one line and all traffic from WAN/LAN to LAN and LAN to WAN/LAN is blocked. The PPTP connection is configured and require-mppe-128, like server requirements. I`ve configured the server from the encryption MPPE  from the 128 bit as a default requirement, but this doesn`t change anything. The connection doesn`t disconnects, it just stops all traffic.
When I Disconnet from the PPTP connection, WI-FI connection is one line. After I need to disconnect from the WI-FI connection and let it about 30 seconds to recover the signal. I`ve set from the WPA or WPA2, to WPA2 only, but seems no change. I`m using only draft N on the router.
Hope is just a firmware problem, and if the openwrt firmware comes as supported will solve this bug.

I`ve forgot to tell:
I`ve tested what i`ve posted above, on 4 operating systems:
Cent OS
Linux Mint
Ubuntu
Windows 7
Same problem every system.

could someone provide the complete output of printenv in u-boot ?

I have a bricked DIR-645 on my desk which does not boot up anymore and I asume there could be something wrong with the environment variables

also a bootlog could be helpfull
mine look's like this when trying to boot original fw and I always end in recovery mode
U-Boot 1.1.3 (Apr 15 2011 - 10:39:36) (ALPHA)
SVN revision: 516
Target board: WRG-N39

Board: Ralink APSoC DRAM:  64 MB
spi_wait_nsec: 30
spi device id: c2 20 17 c2 20 (2017c220)
find flash: MX25L6405D
raspi_read: from:30000 len:1000
.raspi_read: from:30000 len:1000
.============================================
Ralink UBoot Version: 3.3
--------------------------------------------
ASIC 3883_MP (MAC to REALTEK Mode)
DRAM component: 512 Mbits DDR, width 16
DRAM bus: 16 bit
Total memory: 64 MBytes
Flash component: SPI Flash
Date:Apr 15 2011  Time:10:39:36
============================================
icache: sets:512, ways:4, linesz:32 ,total:65536
dcache: sets:256, ways:4, linesz:32 ,total:32768
gpio_init: write 0x00001801
gpio_init: write 0x0000185d to GPIOMODE(0xb0000060)

Initializing RTL8367 GbE switch ...
Setting RTL8367RB RGMII Delay time tx:1,rx0

Please choose the operation:
   1: Load system code to SDRAM via TFTP.
   2: Load system code then write to Flash via TFTP.
   3: Boot system code via Flash (default).
   4: Entr boot command line interface.
   7: Load Boot Loader code then write to Flash via Serial.
   9: Load Boot Loader code then write to Flash via TFTP.
0

3: System Boot system code via Flash.
## Booting image at bc050000 ...
raspi_read: from:50000 len:40
.raspi_read: from:50000 len:c
.raspi_read: from:50000 len:70f060
................................................................................
.................................We have SEAMA, Image Size = 7401504
Verifying Checksum ...
Bad Header Checksum.

Entering HTTP server.
Using Eth0 (10/100-M) device
Start HTTP server on port 80, 192.168.0.101
Running ...

Any news on this, yet?

Hello all,
I am still needing correct environment setup in U-boot

could anybody pls provide some infos ?

GunFighT wrote:

Info about the router:
Platform:
CPU Type = Ralink RT3662F
Flash Chip = Macronix MX25L6406EMI-12G
Flash Size = 8 MB
RAM Size = 64 MB
RAM Chip = ESMT M14D5121632A-2.5B
ETH chip1 = Ralink RT3662
Switch = Realtek RTL8367RB
Ethernet Port Count = 1-10/100/1000-WAN 4-10/100/1000-LAN
Wired Standard = IEEE 802.3/3u/3ab
Ethernet interface OUI = none specified
Flash Card Socket/Type = No
SD/MMC Mod Support = No
MiniPCI slots = No
PoE = No
Power = 5VDC/2.5A
Connector type/size = Barrel plug
USB = 1x USB 2.0
Serial Port = Yes
JTAG Port = No
Radio:
Wireless Radio = Ralink RT3662
WLAN DSP processor = Ralink RT3662
Wireless interface OUI = none specified
Antenna Connector Type = U.FL
MIMO status = 2x2:2
Wireless Standard = IEEE 802.11b/g/n
802.11n = up to 300Mbps
802.11g = 6, 9, 12, 18, 24, 36, 48, 54Mbps
802.11b = 1, 2, 5.5, 11Mbps
WiFi Operating Frequency = 2.4GHz

Well this is all information what I could got. Hope helps.

Thanks

thank you for sharing this

thanks
packersm

(Last edited by a1abhishek on 26 Oct 2012, 11:41)

cybero2912 wrote:

We have SEAMA, Image Size = 7401504
Verifying Checksum ...
Bad Header Checksum.

Entering HTTP server.
Using Eth0 (10/100-M) device
Start HTTP server on port 80, 192.168.0.101
Running ...

Did you try http emergency restore? I see firmware checksum error in log.

Any news on this, yet?

123serge123 wrote:
cybero2912 wrote:

We have SEAMA, Image Size = 7401504
Verifying Checksum ...
Bad Header Checksum.

Entering HTTP server.
Using Eth0 (10/100-M) device
Start HTTP server on port 80, 192.168.0.101
Running ...

Did you try http emergency restore? I see firmware checksum error in log.

yes sure - but after emergency restore same error

I've just bought one of these. I ran OpenWrt on my old wireless router and would like to do the same with this one. I have a couple of questions before I do it, though.

1) Is the OpenWrt firmware working for this? I saw the wiki at http://wiki.openwrt.org/toh/d-link/dir-645 and it's not clear from that, or these posts, whether it is or not. I obviously don't want to go and flash it with something that's not ready.

2) The reason I bought the DIR-645 is that it is supposed to penetrate the deepest, darkest recesses of your house. My daughter was complaining that she gets no wi-fi signal in her room so I thought I'd try one of these. If I flash it with OpenWrt does the "SmartBeam" technology get trashed? If it ends up with the same coverage as my previous wireless router I may as well not have bought it.

The information in the wiki is still correct. Initial support from openwrt is granted on trunk. But still there is no direct download for an image. So you have to build youre image on youre own.

And - for you a no go criteria - wireless support isnt there. See ticket https://dev.openwrt.org/ticket/12523

If I don't misinterpret it in april there is some work for the related wifi ralink chipsets in svn (for example RT3883). But if it's directly adaptable to the RT3662 - I don't know. Maybe a developer like Gabor Juhos can point that out.

To youre second point - ask again when wireless support is ready wink

Amazing router, fast , plenty of ram and with usb support. Any information on when images or detailed instructions will be available for DIR-645 ?


Thanks !!!

Anything on getting OpenWRT running on this baby ? So much potential. Anyone can explain problem right now, may be we can chip in PayPal or something for developer who is willing to get this thing to work on DIR-645 I even ready to donate a unit to test and stuff just to get it going already. I mean it has been several years and nothing is happening.