Lenovo Newifi D1
The Lenovo Newifi D1 is a simultaneous dual band WIFI router with AC1200 WiFi - 300+867 Mbps (2.4 & 5 GHz) speeds. It contains internal antennas. The router features 2 Gbit LAN and one Gbit WAN port. It comes with 32 MB NOR ROM and a dual core MIPS CPU powered by 256 MB RAM, it also sports an SD card slot.
The Lenovo Newifi D1 is based on the MT7621 and received official support since OpenWrt 17.01.0(formerly LEDE)
Getting started with a new Device Page
- This is an empty template that suggests the information that should be present on a well-constructed Device Page. This means, that you have to fill it with life and information.
- There are several “fixme” tags with text on a light background (like this text) throughout this template. As you fill in the page, remove those tags so that people can judge its completeness.
- When there are no more “fixme” tags left, delete this one too, along with the
<WRAP>
that encloses it.
Keep the articles modular
- Please include only model specific information, omit bla,bla and put everything generic into separate articles
- If you have no time to write certain stuff, link to docs
- base-system should lead the way, do not explain this again
- DO NOT provide a complete howto here! Instead groom the general documentation.
Supported Versions
Hardware Highlights
Installation
Flash Layout
Lenovo Newifi D1 Flash Layout | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Layer0 | NOR flash memory Macronix MX25L25635F (m25p80 spi0.0: mx25l25635f) 32768 KiB Specs | |||||||||
Layer1 | mtd0 u-boot 192 KiB | mtd1 u-boot-env 64 KiB | mtd2 factory 64KiB | mtd3 firmware 32448 KiB | ||||||
Layer2 | mtd4 kernel ~1718 KiB | mtd5 rootfs ~30730 KiB | ||||||||
mountpoint | / |
|||||||||
Layer3 | mtd5 rootfs_data 28352 KiB | |||||||||
mountpoint | /rom | /overlay |
||||||||
filesystem | SquashFS | JFFS2 | ||||||||
Size in KiB | 192 KiB | 64 KiB | 64 KiB | ~1718 KiB | 28352 KiB (split depends on ROM size) |
Some sizes were approximated (prefixed with ~) since too many digits follow, these values were rounded up.
OEM easy installation
The instructions below are for Broadcom devices and only serve as an example.
Remove / modify them if they do not apply to this particular device!
This section deals with
- How you install OpenWrt from a device freshly opened
- The steps required such as reset to factory defaults if the device has already been configured
Note: Reset router to factory defaults if it has been previously configured.
- Browse to
http://192.168.1.1/Upgrade.asp
- Upload .bin file to router
- Wait for it to reboot
- Telnet to 192.168.1.1 and set a root password, or browse to
http://192.168.1.1
if LuCI is installed.
OEM installation using the TFTP method
Specific values needed for tftp
Enter values for “FILL-IN” below
Bootloader tftp server IPv4 address | FILL-IN |
---|---|
Bootloader MAC address (special) | FILL-IN |
Firmware tftp image | Latest OpenWrt release (NOTE: Name must contain “tftp”) |
TFTP transfer window | FILL-IN seconds |
TFTP window start | approximately FILL-IN seconds after power on |
TFTP client required IP address | FILL-IN |
Upgrading OpenWrt
These are generic instructions. Update with your router's specifics.
LuCI Web Upgrade Process
- Browse to
http://192.168.1.1/cgi-bin/luci/mini/system/upgrade/
LuCI Upgrade URL - Upload image file for sysupgrade to LuCI
- Wait for reboot
Terminal Upgrade Process
If you don't have a GUI (LuCI) available, you can alternatively upgrade via the command line. There are two command line methods for upgrading:
sysupgrade
mtd
Note: It is important that you put the firmware image into the ramdisk (/tmp) before you start flashing.
sysupgrade
- Login as root via SSH on 192.168.1.1, then enter the following commands:
cd /tmp wget http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc sysupgrade /tmp/xxx.abc
mtd
If sysupgrade
does not support this router, use mtd
.
- Login as root via SSH on 192.168.1.1, then enter the following commands:
cd /tmp wget http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc mtd write /tmp/xxx.abc linux && reboot
Debricking
Failsafe mode
Basic configuration
→ Basic configuration After flashing, proceed with this.
Set up your Internet connection, configure wireless, configure USB port, etc.
Specific Configuration
Network interfaces
The default network configuration is:
Interface Name | Description | Default configuration |
---|---|---|
lan | LAN & WiFi (bridge) | 192.168.1.1/24 |
vlan0 (eth0.0) | LAN ports (1 to 2) | None |
vlan1 (eth0.1) | WAN port | DHCP |
wlan0 | WiFi 2.4Ghz | Disabled |
wlan1 | WiFi 5Ghz | Disabled |
Switch Ports (for VLANs)
Please fill in real values for this device, then remove the EXAMPLEs
Numbers 0-3 are Ports 1-4 as labeled on the unit, number 4 is the Internet (WAN) on the unit, 5 is the internal connection to the router itself. Don't be fooled: Port 1 on the unit is number 3 when configuring VLANs. vlan0 = eth0.0, vlan1 = eth0.1 and so on.
Port | Switch port |
---|---|
CPU | 6 |
Internet (WAN) | 4 |
LAN 1 | Example 1 |
LAN 2 | Example 2 |
Buttons
The Lenovo Newifi D1 has the following buttons:
BUTTON | Event |
---|---|
reset | ? |
Pushing the reset button will reset your device to OpenWrt defaults.
LEDs
How to configure LEDs in general, see the LED section in the led_configuration.
The Lenovo Newifi D1 has 3 LEDs:
LED name | LED print | Internal name | Trigger | Added information |
---|---|---|---|---|
Red light | N/A | newifi-d1:red:status | N/A | It's possible to mix red/green/blue values to produce different colors |
Green light | N/A | newifi-d1:green:status | N/A | It's possible to mix red/green/blue values to produce different colors |
Blue light | N/A | newifi-d1:blue:status | N/A | It's possible to mix red/green/blue values to produce different colors |
You might find two additional LEDs, mt76-phy0
and mt76-phy1
these seem to be 2.4 and 5.0 WiFI respectively, but they had no effect when I set them to none
or default-on
.
SD slot
There's a SD/MMC slot at the side of the router, there's usually a sticker that might void your warranty, so beware before you access that slot.
This SD slot was tested with a very cheap 8GB card and works but required the following packages and their dependencies:
- kmod-mmc
- kmod-sdhci
- kmod-sdhci-mt7620
The SD slot can expand your storage and allow installing more packages, refer to Extroot configuration for setting it up.
Hardware
Info
Photos
Front:
Insert photo of front of the casing
Back:
Insert photo of back of the casing
Backside label:
Insert photo of backside label
Opening the case
Note: This will void your warranty!
Describe what needs to be done to open the device, e.g. remove rubber feet, adhesive labels, screws, ...
- To remove the cover and open the device, do a/b/c
Main PCB:
Insert photo of PCB
Serial
→ port.serial general information about the serial port, serial port cable, etc.
How to connect to the Serial Port of this specific device:
Insert photo of PCB with markings for serial port
Replace EXAMPLE by real values.
Serial connection parameters for Lenovo Newifi D1 @@Version@@ | EXAMPLE 115200, 8N1 |
---|
JTAG
→ port.jtag general information about the JTAG port, JTAG cable, etc.
How to connect to the JTAG Port of this specific device:
Insert photo of PCB with markings for JTAG port
Bootloader mods
Hardware mods
None so far.
Bootlogs
OEM bootlog
COPY HERE THE BOOTLOG WITH THE ORIGINAL FIRMWARE
OpenWrt bootlog
COPY HERE THE BOOTLOG ONCE OPENWRT IS INSTALLED AND RUNNING
Notes
Space for additional notes, links to forum threads or other resources.
- ...
Tags
Add tags below, then remove this fixme.