Table of Contents

Devolo Magic 2 WiFi next

Under Construction!
This page is currently under construction. You can edit the article to help completing it.

The Devolo Magic 2 WiFi next ARM version of the Devolo Magic 2 WiFi, which was a MIPS device. It combines 802.11ac WiFi with G.hn powerline networking and two gigabit LAN ports.

FIXME Any text with a light background (like this one) provides instructions for creating the Details Page. When you have filled in correct/useful information (instead of any template that's there) remove the instructions, as well as the <WRAP> that encloses it.

Devolo Magic 2 WiFi next

FIXME

Getting started with a new Device Page

  1. 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.
  2. 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.
  3. 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

FIXME

  1. The tables below are automatically generated, once the correct filters for Brand and Model are set.
  2. If the tables below show information for Devolo Magic 2 WiFi next , everything is OK and you can delete this text and the <WRAP> that encloses it.
  3. If the tables below contain “Nothing found”, it means that either
    1. the dataentry page for Devolo Magic 2 WiFi next is missing. Please create a new dataentry page first, then reload this page. The tables should then contain $something. If they do, delete this text and the <WRAP> that encloses it.
    2. filters are not set correctly. Most common reason for “Nothing found”: The dataentry does not contain a Version, but we are filtering here for version → Please edit this section and adjust the filters with the proper Brand, Model and Version. In case the dataentry does not contain a version, delete the line filter : Versions~. Just try, it's easy. The tables should then contain $something. If they do, delete this text and the <WRAP> that encloses it.
  4. If the tables still contain “Nothing found”: Don't panic, calm down, take a deep breath and contact a wiki admin (tmomas) for help.

Experimental Versions

None at this time.

Hardware Highlights

Installation

Flash Layout

OpenWRT:

dev:    size   erasesize  name
mtd0: 00040000 00010000 "SBL1"
mtd1: 00020000 00010000 "MIBIB"
mtd2: 00060000 00010000 "QSEE"
mtd3: 00010000 00010000 "CDT"
mtd4: 00010000 00010000 "DDRPARAMS"
mtd5: 00010000 00010000 "APPSBLENV"
mtd6: 00080000 00010000 "APPSBL"
mtd7: 00010000 00010000 "ART"
mtd8: 01a80000 00010000 "firmware"
mtd9: 00350000 00010000 "kernel"
mtd10: 0173aec8 00010000 "rootfs"
mtd11: 012f0000 00010000 "rootfs_data"

ODM firmware (based on OpenWRT 15.05):

dev:    size   erasesize  name
mtd0: 00040000 00010000 "0:SBL1"
mtd1: 00020000 00010000 "0:MIBIB"
mtd2: 00060000 00010000 "0:QSEE"
mtd3: 00010000 00010000 "0:CDT"
mtd4: 00010000 00010000 "0:DDRPARAMS"
mtd5: 00010000 00010000 "0:APPSBLENV"
mtd6: 00080000 00010000 "0:APPSBL"
mtd7: 00010000 00010000 "0:ART"
mtd8: 00400000 00010000 "0:HLOS"
mtd9: 01a80000 00010000 "rootfs"
mtd10: 00930000 00010000 "rootfs_data"

OEM easy installation

See the commit message that adds device support It might be possible to sysupgrade straight from Devolo's firmware, but this is untested. To gain shell access make the modification as described here to the exported configuration tarball and reupload it: https://forum.openwrt.org/t/installing-openwrt-on-devolo-magic-2-wifi-next/129725/11

OEM installation using the TFTP method

See the commit message that adds device support

Upgrading OpenWrt

generic.sysupgrade

LuCI Web Upgrade Process

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:

Note: It is important that you put the firmware image into the ramdisk (/tmp) before you start flashing.

sysupgrade

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.

cd /tmp
wget http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc
mtd write /tmp/xxx.abc linux && reboot

Debricking

generic.debrick

Failsafe mode

failsafe_and_factory_reset

Basic configuration

Basic configuration After flashing, proceed with this.
Set up your Internet connection, configure wireless, configure USB port, etc.

Specific Configuration

G.hn

The following OpenWRT packages are required for G.hn, when building a new image, it is recommended to enable these in `make menuconfig`:

  1. Enable flock, it can be found under: Utilities → flock
  2. Enable libcap, it can be found under: Libraries → libcap
  3. Enable ebtables, it can be found under: Network → Firewall → ebtables-nft
  4. Enable ethtool, Network → ethtool-full

Furthermore packages from the ODM firmware are required:

delos-base-files
delos-device-name
devolo-shared-configlayer
dlan2-fw-flashless-2400-ac
dlan2-tools
ghn-flashless
ghn-host
libssp
posix-timezone-db

These packages need to be derived from the firmware image that is distributed by Devolo. Scripts to generate these packages are here for now: https://github.com/jschwartzenberg/openwrt/tree/devolo-magic

After generating and installing the above packages:

  1. Reboot the device
  2. Configure G.hn:
uci set ghn.ghn.disabled=0
uci set ghn.ghn.interface=ghn
uci set ghn.settings.device_name=<name of your device, example: devolo-123>
uci set ghn.settings.domain_name=<domain of your G.hn network, copy from another G.hn peer>
uci set ghn.settings.password=<password of your G.hn network, copy from another G.hn peer>
uci set ghn.settings.pairing_secured=1
uci set ghn.settings.pairing_completed=1
uci set ghn.settings.powermask_profile=mimo_full
uci set ghn.settings.dslcoex_enable=0
uci set ghn.settings.force_node=0
uci set ghn.ghn.device_name_initialized=1
uci commit
  1. Enable and start the service:
/etc/init.d/ghn-host enable
/etc/init.d/ghn-host start

G.hn networking should be up and running!

Network interfaces

The default network configuration is:

Interface Name Description Default configuration
br-lan LAN & G.hn 192.168.1.1/24
lan1 (eth0 swp5) LAN port 2 bridged
lan2 (eth0 swp3) LAN port 1 bridged
ghn (eth0 swp4) G.hn powerline bridged

Switch Ports (for VLANs)

FIXME 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
Internet (WAN) EXAMPLE 4
LAN 1 EXAMPLE 3
LAN 2 EXAMPLE 2
LAN 3 EXAMPLE 1
LAN 4 EXAMPLE 0

Buttons

The Devolo Magic 2 WiFi next has the following buttons:

BUTTON Event
Reset reset
Powerline ghn
WiFi wifi

Hardware

Info

FIXME

  1. This table is automatically generated, once the correct filters for Brand and Model are set.
  2. If you see “Nothing.” instead of a table, please edit this section and adjust the filters with the proper Brand and Model. Just try, it's easy.
  3. If you still don't see a table here, or a table filled with '¿': Is there already a Techdata page available for Devolo Magic 2 WiFi next ? If not: Create one.
  4. If you see a table with the desired device data, everything is OK and you can delete this text and the <WRAP> that encloses it.
  5. If it still doesn't work: Don't panic, calm down, take a deep breath and contact a wiki admin (tmomas) for help.

---- datatemplatelist dttpllist ---- template: meta:template_datatemplatelist cols : Brand, Model, Versions, Device Type, Availability, Supported Since Commit_git, Supported since Rel, Supported current Rel, Unsupported, Bootloader, CPU, Target, CPU MHz, Flash MBs, RAM MB, Switch, Ethernet 100M ports_, Ethernet Gbit ports_, Comments network ports_, Modem, VLAN, WLAN 2.4GHz, WLAN 5.0GHz, WLAN Hardwares, WLAN Comments_, Detachable Antennas_, USB ports_, SATA ports_, Comments USB SATA ports_, Serial, JTAG, LED count, Button count, Power supply, Device Techdata_pageid, Forum topic URL_url, wikidevi URL_url, OEM Device Homepage URL_url, Firmware OEM Stock URL_url, Firmware OpenWrt Install URL_url, Firmware OpenWrt Upgrade URL_url, Comments_ filter : Brand=Devolo filter : Model=Magic 2 WiFi next filter : Versions=


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!

FIXME 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

FIXME Replace EXAMPLE by real values.

Serial connection parameters
for Devolo Magic 2 WiFi next @@Version@@
EXAMPLE 115200, 8N1, 3.3V

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

bootloader

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

Tags

FIXME Add tags below, then remove this fixme.

How to add tags