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
https://drive.google.com/file/d/1CLhG8q8J5wFs6OABotCcVxnX0xo_q1kx/view?usp=sharing
[Environment]
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
[topology]
https://drive.google.com/file/d/1EKxOpTce0VCt75hRt-KlTweoAWdP3b_f/view?usp=sharing
prerequisites:
- 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.
https://drive.google.com/file/d/1Tchwmt51BpkgWkqNJK_UGozUo89UtBfB/view?usp=sharing
(3)Cell Phone link to wifi router
(4)Execute chromcast or airplay to wifi display.