diff options
author | Kristian Evensen <kristian.evensen@gmail.com> | 2017-02-04 21:28:52 +0100 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2017-02-05 22:23:28 +0100 |
commit | bb7068f26c4bd89977f3205672f19be60924101c (patch) | |
tree | 77bc8176e276951dfa6fdb9207696fde862709db /target/linux/ramips/base-files/etc | |
parent | 40fb293f240f14013a203d553add70891d966e34 (diff) | |
download | upstream-bb7068f26c4bd89977f3205672f19be60924101c.tar.gz upstream-bb7068f26c4bd89977f3205672f19be60924101c.tar.bz2 upstream-bb7068f26c4bd89977f3205672f19be60924101c.zip |
ramips: add support for Sanlinking D240
The Sanlinking Technologies D240
(http://www.sanlinking.com/en/29-dual-4g-wifi-router.html) is basically the same
device as the ZBT WE826, so adding support for it in LEDE is straight forward.
The differences is that the D240 has two mini-PCIe slots (instead of one), blue
LEDs and supports PoE.
Specification:
* CPU: MT7620A
* 1x 10/100Mbps POE (802.3af/802.3at) Ethernet, 4x 10/100Mbps.
* 16 MB Flash.
* 128 MB RAM.
* 1x USB 2.0 port.
* 2x mini-PCIe slots.
* 2x SIM slots.
* 1x 2.4Ghz WIFI.
* 1x button.
Wifi, USB, switch and both mini-PCIe slots are working. I have not been able to
test the SD card reader.
The device comes pre-installed with an older version of OpenWRT, including Luci.
In order to install LEDE, you need to follow the existing procedure for updating
OpenWRT/LEDE using Luci. I.e., you need to access the UI and update the firmware
using the sysupgrade-image. Remember to select that you do not want to keep
existing settings. The default router address is 192.168.10.1 and
username/password admin/root (at least on my devices).
If you brick the device, the procedure for recovery is the same as for the
WE826. Please see the wiki page for that device for instructions.
Signed-off-by: Kristian Evensen <kristian.evensen@gmail.com>
Diffstat (limited to 'target/linux/ramips/base-files/etc')
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/01_leds | 4 | ||||
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/02_network | 1 | ||||
-rw-r--r-- | target/linux/ramips/base-files/etc/diag.sh | 1 |
3 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds index 545d6a4a6d..4e6eeb26ba 100755 --- a/target/linux/ramips/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/base-files/etc/board.d/01_leds @@ -109,6 +109,10 @@ d105) ucidef_set_led_default "power" "POWER" "$board:red:power" "1" set_usb_led "$board:green:usb" ;; +d240) + set_wifi_led "$board:blue:wifi" + set_usb_led "$board:blue:usb" + ;; db-wrt01) ucidef_set_led_default "power" "power" "$board:orange:power" "1" ;; diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network index c001dfe85a..3ef04e6d25 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -73,6 +73,7 @@ ramips_setup_interfaces() 3g-6200n|\ ac1200pro|\ ai-br100|\ + d240|\ db-wrt01|\ dir-300-b7|\ dir-320-b1|\ diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh index 5fb221380e..744ff3c2e6 100644 --- a/target/linux/ramips/base-files/etc/diag.sh +++ b/target/linux/ramips/base-files/etc/diag.sh @@ -108,6 +108,7 @@ get_status_led() { w502u) status_led="$board:blue:wps" ;; + d240|\ dap-1350|\ na930|\ pbr-m1|\ |