Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revisionBoth sides next revision
toh:devolo:magic_2_wifi_next [2024/10/13 13:56] – Created from the form at meta:create_new_device_page jschwarttoh:devolo:magic_2_wifi_next [2024/10/13 14:39] – initial page with G.hn instructions jschwart
Line 1: Line 1:
 ====== Devolo Magic 2 WiFi next ====== ====== Devolo Magic 2 WiFi next ======
- 
-/* This template is intended to be used via https://openwrt.org/meta/create_new_device_page ONLY.  */ 
-/* DO NOT CREATE NEW DEVICEPAGES VIA COPY & PASTE! */ 
-/* USE https://openwrt.org/meta/create_new_device_page */ 
  
 {{page>meta:infobox:construction&noheader&nofooter&noeditbtn}} {{page>meta:infobox:construction&noheader&nofooter&noeditbtn}}
  
-//Write a short, relevant description of the device. Include a technical overview, but avoid marketing buzzwords/useless stuffTwo to four sentences is about rightA picture is good, too. Edit the page to see how to add pictures.//+//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.//
  
 <WRAP BOX> <WRAP BOX>
Line 17: Line 13:
 /*****/ /*****/
  
-{{media:example:genericrouter1.png?200|Generic Router}}+{{media:example:devolo-magic-wifi-eu-front-1478x1000rfzfdviymps7b.png?200|Devolo Magic 2 WiFi next}}
  
 <WRAP BOX> <WRAP BOX>
Line 106: Line 102:
 } --> } -->
  
- 
--> [[docs:guide-user:installation:generic.flashing|Install OpenWrt (generic explanation)]] 
- 
-FIXME Please add the installation procedure here. 
  
 ==== Flash Layout ==== ==== Flash Layout ====
-<WRAP BOX> +OpenWRT: 
-FIXME //[[:docs:techref:flash.layout#discovery_how_to_find_out|Find out flash layout]], then add the flash layout table here (copy, paste, modify the [[docs:techref:flash.layout#partitioning_of_the_flash|example]]).//+``` 
 +dev   size   erasesize  name 
 +mtd000040000 00010000 "SBL1" 
 +mtd100020000 00010000 "MIBIB" 
 +mtd200060000 00010000 "QSEE" 
 +mtd300010000 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" 
 +```
  
-Please check out the article [[docs:techref:flash.layout|Flash layout]]. It contains examples and explanations that describe how to document the flash layout. +ODM firmware (based on OpenWRT 15.05): 
-</WRAP>+``` 
 +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 ==== ==== OEM easy installation ====
  
-<WRAP BOX> +See the [[https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=d3c88811942a9dc9bbb01ca0443ae9cd790d1988|commit message that adds device support]] 
-FIXME //The instructions below are for Broadcom devices and only serve as an example.//\\ +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]]
-**//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 ''<nowiki>http://192.168.1.1/Upgrade.asp</nowiki>'' +
-  * Upload .bin file to router +
-  * Wait for it to reboot +
-  * Telnet to 192.168.1.1 and set a root password, or browse to ''<nowiki>http://192.168.1.1</nowiki>'' if LuCI is installed. +
-</WRAP>+
  
 ==== OEM installation using the TFTP method ==== ==== OEM installation using the TFTP method ====
  
-->  [[docs:guide-user:installation:generic.flashing.tftp]] +See the [[https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=d3c88811942a9dc9bbb01ca0443ae9cd790d1988|commit message that adds device support]]
- +
-=== Specific values needed for tftp === +
- +
-<WRAP BOX> +
- +
-FIXME Enter values for "FILL-IN" below +
- +
-^ Bootloader tftp server IPv4 address  | FILL-IN   | +
-^ Bootloader MAC address (special)     | FILL-IN   | +
-^ Firmware tftp image                  | [[:downloads|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                                        | +
- +
-</WRAP>+
  
 ===== Upgrading OpenWrt ===== ===== Upgrading OpenWrt =====
 ->  [[docs:guide-user:installation:generic.sysupgrade]] ->  [[docs:guide-user:installation:generic.sysupgrade]]
- 
-<WRAP BOX> 
- 
-FIXME These are generic instructions. Update with your router's specifics. 
  
 ==== LuCI Web Upgrade Process ==== ==== LuCI Web Upgrade Process ====
Line 198: Line 186:
 mtd write /tmp/xxx.abc linux && reboot mtd write /tmp/xxx.abc linux && reboot
 </code> </code>
- 
-</WRAP> 
  
 ===== Debricking ===== ===== Debricking =====
Line 212: Line 198:
  
 ===== Specific Configuration ===== ===== Specific Configuration =====
 +====== G.hn ======
  
-<WRAP BOX+The following OpenWRT packages are required for G.hn, when building a new image, it is recommended to enable these in `make menuconfig`: 
-FIXME Please fill in real values for this device, then remove the EXAMPLEs+ 
 +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 
 +``` 
 +3. 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 ==== ==== Network interfaces ====
 The default network configuration is: The default network configuration is:
 ^ Interface Name   ^ Description                  ^ Default configuration    ^ ^ Interface Name   ^ Description                  ^ Default configuration    ^
-| br-lan           EXAMPLE LAN & WiFi           EXAMPLE 192.168.1.1/24   +| br-lan           | LAN & G.hn                   | 192.168.1.1/24           
-vlan0 (eth0.0  EXAMPLE LAN ports (1 to 4)   EXAMPLE None             +lan1 (eth0 swp5) | LAN port 2                   bridged                  
-vlan1 (eth0.1  EXAMPLE WAN port             EXAMPLE DHCP             +lan2 (eth0 swp3) | LAN port 1                   bridged                  
-wl0              EXAMPLE WiFi                 EXAMPLE Disabled         | +ghn  (eth0 swp4) G.hn powerline               bridged                  |
- +
-</WRAP>+
  
 ==== Switch Ports (for VLANs) ==== ==== Switch Ports (for VLANs) ====
Line 241: Line 270:
  
 ==== Buttons ==== ==== Buttons ====
--> [[docs:guide-user:hardware:hardware.button]] on howto use and configure the hardware button(s). 
-Here, we merely name the buttons, so we can use them in the above Howto. 
- 
-<WRAP BOX> 
-FIXME Please fill in real values for this device, then remove the EXAMPLEs 
- 
 The Devolo Magic 2 WiFi next has the following buttons: The Devolo Magic 2 WiFi next has the following buttons:
  
 ^ BUTTON                       ^ Event   ^ ^ BUTTON                       ^ Event   ^
-EXAMPLE Reset                |  reset  | +| Reset                        |  reset  | 
-EXAMPLE Secure Easy Setup    |   ses   | +Powerline                    |   ghn   | 
-EXAMPLE No buttons at all.         |+WiFi                          wifi   |
  
-</WRAP> 
  
 ===== Hardware ===== ===== Hardware =====
Line 340: Line 362:
  
 ===== Notes ===== ===== Notes =====
-//Space for additional notes, links to forum threads or other resources.// +  * [[https://forum.openwrt.org/t/installing-openwrt-on-devolo-magic-2-wifi-next|forum thread]]
- +
-  * ...+
  
 ===== Tags ===== ===== Tags =====
  • Last modified: 2024/10/13 14:46
  • by jschwart