Hello,
Recently I've tried to connect Raspberry Pi Zero to my RB962UiGS (hap ac). The mini computer (rPi) has only one micro usb interface connected directly to it's cpu which gives the possibility to configure it as usb host/otg. The rPi uses dwc2 overlay to control the otg/host functionality and g_ether for the usb interface communication, there are other possibilities as well like g_serial and g_multi. When using g_ether and when connected to PC, the PC detects it as RNDIS/Ethernet Gadget and you can assign address, share internet connection to it and so on. When connected to RB using the same g_ether module it only shows it in the /system resource usb again as RNDIS/Ethernet Gadget. Reading about RouterOS usb support I've decided to change the configuration a little bit using g_multi and configfs(linux virtual filesystem used to configure g_multi and others alike). I've configured the rPi to use cdc_ecm using g_multi and configfs and there you go - RouterOS detected it as LTE interface, but sadly there is not much you can do with it since it's not actual LTE. Then I've decided using the same configuration to add static ip address to rPi's usb0 interface and dnsmasq for dhcp server with the idea to set dhcp client on the lte interface on RouterOS side, but I hit another wall - now the lte interface is gone, RouterOS still detects it in /system resource usb.
So my question is: Is there any way I can connect raspberry pi using usb and why lte interface was gone after adding dhcp server on the rPi side?
tl;dr:
raspberry pi with g_multi module and configfs cdc_emc configuration --> routeros lte interface (what can be done with it since its no real lte interface)?
raspberry pi with g_multi module and configfs cdc_emc configuration and dhcp server and static address --> routeros NO lte interface (any reason why?)
raspberry pi using usb interface -- routeros how?