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. And OpenWrt routes between the two networks. The br-lan interface is connected to the inside lxdbr0 virtual network. 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. The router container (which is running OpenWrt) has both eth1 (aka WAN) and br-lan (aka LAN) interfaces. 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). When connected to RB using the same g_ether module it only shows it in the /system resource usb again as RNDIS/Ethernet Gadget. Raspberry Pi as a Router introduction Networking Tutorial OpenWRT - Raspberry Pi as Router - CPU, Wireguard, OpenVPN, WiFi Throughput & Speedtest Van Tech Corner 16.1K subscribers 28,610. 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. 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. 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. Recently I've tried to connect Raspberry Pi Zero to my RB962UiGS (hap ac).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |