[How To] Add WiFi display device (MagicLink) to a OpenWrt router via USB

Use MagciLink to let router visible and WiFi display(chromecast & airplay mirror) over USB network host for RNDIS.
I find a USB-to-HDMI cable MagciLink, which could do mirror display from PC to display device by using USB gadget ether

WiFi router: TPLink TL-WR902AC V3 with openwrt
[openwrt FW]:https://openwrt.org/toh/hwdata/tp-link/tp-link_tl-wr902ac_v3
Install TPLink TL-WR902AC V3 with openwrt



  • Set default user & passward to root/root.
  • Install modules
opkg update
opkg install kmod-usb-net kmod-usb-net-cdc-ether 
opkg install kmod-usb-net-rndis usb-modeswitch 
opkg install kmod-usb-dwc2 kmod-usb-net-ipheth 
opkg install luci-mod-rpc
  • Add usb0 to Lan interface.

(2)Plug MagickLink to openwrt wifi AP router usb port.

(3)Cell Phone link to wifi router
(4)Execute chromcast or airplay to wifi display.


Is this required, or would "Set root's password to a secure password" be appropriate?

1 Like

It's not necessary. It's just a accident.
I found MagicLink to use CGI command to get AP info with username(root)&password(root).

This seems very interesting, thanks for sharing it!
Can you stream any content (video and audio) from iOS over AirPlay?

1 Like

This device support Apple airplay.


Again, many thanks for sharing this info!

Great thing.

Probably worth mentioning that no all USB to HDMI adapters support mirroring. Some are just for power, so worth checking before buying.

Anyone know if this would work for most USB to HDMI display adapter, or just only work for magiclink?