Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Magic device support #1

Closed
SteveAyre opened this issue Oct 20, 2018 · 9 comments
Closed

Magic device support #1

SteveAyre opened this issue Oct 20, 2018 · 9 comments

Comments

@SteveAyre
Copy link

Are there any plans to add support for the Magic 1 (homeplug) and Magic 2 (g.hn) devices?

@Molkenbur
Copy link

Molkenbur commented Nov 5, 2018

Hi Steve,

good to see, that somebody is interested in this ;-).
For clarification: Both devolo Magic devices are based on the g.hn standard. Magic 1 are SISO devices and Magic 2 are MIMO devices. But they are all interoperable.
Our dLAN devices are based on HomePlug; the latest (1200) are HomePlug AV2 devices.
Currently there is no need to support the community with g.hn firmware, because it is located in a separate flash which is indepentend from the OpenWrt firmware.
One more hint: The Magic 2 WiFi is very close to dLAN 1200+ WiFi ac. Magic 1 WiFi is different and support for OpenWrt is not planned yet.

Regards,
Thomas

@SteveAyre
Copy link
Author

Thanks for the correction.

@Rjevski
Copy link

Rjevski commented Nov 9, 2019

@Molkenbur thanks for the info. I have some questions as I'm considering replacing my dLAN 1200 ac WiFi access points with the Magic 2 ones.

You mention that the firmware for the G.hn modem is on a separate flash; does it mean it works independently from the main firmware, or does it still need the firmware to be loaded at boot time like it's currently done with the AC 1200 WiFi (so needs to extract some files from the official firmware and include them in the OpenWrt image)?

Does the G.hn modem need any configuration utilities, or can it all be done in hardware (via a dedicated push button, etc) independently from the main firmware?

The OpenWrt tech data page mentions that it works with the 1200 Wi-Fi ac image; can you confirm? Does the image work out of the box or is some customisation required?

Finally, if you have any details on this, how is the Wi-Fi chip and/or antenna design on the Magic 2 different from the 1200 ac one? Mine currently top out at 180Mbps on the wireless interface (and I can get 300mbps over the power line), would the Wi-Fi speed also potentially increase, or is the wireless part identical to the ac 1200 one? And does the stock firmware support 802.11r and 802.11k? That was my main reason for using OpenWrt on my 1200 ac ones, as otherwise roaming was so slow (I have 4 of them in the house) I would still get "dead" zones where the phones keep trying to use a far away AP instead of roaming, and when they do the data stream drops momentarily so it's not ideal for voice calls.

Thanks!

@opechunka
Copy link

Hi,
I tried to build openwrt for Magic 2 WiFi MT3081 taking as an example dLAN pro 1200+ WiFi ac.
But the first problem, Magic 2 WiFi MT3081 OEM firmware doesn't have any *.NVM and *.pib files.
Also it doesn't contain any 3081 files. I just found some ethloader.img and firmware.img.

How to build openWRT for Magic 2 WiFi taking into account the above? Please advise.

@bong1991
Copy link
Contributor

Hi @opechunka,

The WiFi component in the Magic 2 WiFi 1-1 is identical to that in the dLAN 1200+ WiFi ac. This means you can use the image for the dLAN 1200+ WiFi ac to set up the device as an Access Point, but the PLC interface won't be functional.

devolo Magic WiFi devices include the necessary firmware image and configuration to boot the G.hn chip. Unfortunately, the tools and files required for this process cannot be open-sourced at this time.

Best regards,
Thomas

@opechunka
Copy link

opechunka commented Aug 12, 2024

Hi @bong1991 ,

Thank you for reply. I've managed to run it as WiFi AP. But the problem and goal is PLC. It's a pity that all is closed and the only way is to spent a lot of time on reverse engenering.

I see that some guys managed to run PLC on Magic 2 WiFi Next. It looks like no other choise but go their way.

https://forum.openwrt.org/t/installing-openwrt-on-devolo-magic-2-wifi-next/129725

Thanks once more for reaction.

@jschwartzenberg
Copy link

Hi @bong1991

devolo Magic WiFi devices include the necessary firmware image and configuration to boot the G.hn chip. Unfortunately, the tools and files required for this process cannot be open-sourced at this time.

I managed to get the tools and scripts as provided by Devolo in delos_magic-2-wifi-next_6.0.1_2023-09-06.bin to work with the latest OpenWRT.

Using patchelf I patched the binaries to use the new loader and library filenames. Furthermore I patched the shell scripts to allow them to work on the regular OpenWRT.

All-together this means I now have a set of ipk files that can be installed on regular OpenWRT to provide G.hn support on the Devolo Magic 2 WiFi next. Would it be possible to work together to get this into an official package feed?

I can probably go through to the same process to get the MIPS version of these packages for the original Devolo Magic 2 WiFi.

@bong1991
Copy link
Contributor

Hi @jschwartzenberg

I will try to see what I can do here. I guess it's mainly a topic of license and so on. However, I cannot make any promises here.

@jschwartzenberg
Copy link

Hi @jschwartzenberg

I will try to see what I can do here. I guess it's mainly a topic of license and so on. However, I cannot make any promises here.

That would be great! Thank you so much! If useful we could have a conference call in which I elaborate more on how I got it running. I see Devolo has the same solution for chatting and calling that I have at work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants