This device is NOT RECOMMENDED for future use with OpenWrt due to low flash/ram. DO NOT BUY DEVICES WITH 4MB FLASH / 32MB RAM if you intend to flash an up-to-date and secure OpenWrt version (18.06 or later) onto it! See 4/32 warning for details.
1) This device does not have sufficient resources (flash and/or RAM) to provide secure and reliable operation.
This means that even setting a password or changing simple network settings might not be possible any more, rendering the device effectively useless. See OpenWrt on 4/32 devices what you can do now.
2) OpenWrt support for this device will end after 2019.
19.07 will be the last official build for 4/32 devices. After 19.07, no further OpenWrt images will be built for 4/32 devices. See OpenWrt on 4/32 devices what you can do now.
The initial support for the DWR-512 has required the bootloader replacement with the u-boot.
Now OpenWrt support the stock bootloader (jboot) and the bootloader replacement is no more required. This means that is always possible and easy restore the original stock configuration.
The old u-boot firmware is not compatible with the new one and will be no more supported by OpenWrt (the last version for the u-boot is the 17.01.04).
The DWR-512 is shipped with the JBOOT bootloader.
Two option are theoretically possible to install the OpenWrt/LEDE firmware:
Use the stock fw upgrade feature with the openwrt factory image.
Use the JBOOT recovery service with the openwrt factory image.
The JBOOT recovery service is also useful to revert to OEM firmware.
JBOOT recovery service
Push the reset button and turn on the power. Wait until LED start blinking (~10sec.)
Upload original factory image via JBOOT http (IP: 192.168.123.254)
If http doesn't work, it can be done with curl command: curl -F FN=@XXXXX.bin http://192.168.123.254/upg where XXXXX.bin is name of firmware file.
Describe what needs to be done to open the device, e.g. remove rubber feet, adhesive labels, screws, …
Serial connector (J2):
Serial connection parameters
for D-Link DWR-512 B
The 14-pin header is fully MIPS EJTAG 2.6 compatible and described in the EJTAG 2.6 standard.
It has the following arrangement of JTAG signals and pins:
The DWR-512 has an embedded 3G modem.
The following instruction describe how to enable the wan wireless network connectivity.
To enable the wireless network connectivity the following UCI command shall be executed:
uci set network.wwan=interface
uci set network.wwan.proto='wwan'
uci set network.wwan.apn='<your provider apn>'
uci set network.wwan.pincode='<your sim pin code>'
uci set network.wwan.auto='0'
uci commit network
uci set firewall.@zone.network='wan wwan wan6'
uci commit firewall
and at the next reboot you can enable the connection using the following commands:
The DWR-512 integrates the subscriber line interfaces circuit (SLIC) si3210.
The IC interface the external RJ-11 connector to plug an external telephone device.
The IC control port is connected to the main processor using the second SPI channel.
The current LEDE snapshot provides access to this line through the /dev/spidev1.0 device.
The IC audio data port is directly connected (hardwired) to the 3G modem. Therefore is only possible using the 3G network to call the telephone network.
Using the programm available in this repository dwr512_phonemanager, it is possible to execute call.
Currently the programm is in a early stage, therefore there is no package available and the program need to be compiled/build.
As soon as a stable version will be achieved (contributions are welcome), a dedicated package will be added.
To enable the telephone at startup, copy the executable dwr512_phmanager in /usr/bin with executable right and add the following line to the /etc/rc.local:
toh/d-link/d-link_dwr-512_b.txt · Last modified: 2019/02/12 21:49 by tmomas