![]() 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. Currently Im capturing and streaming all network traffic on my MikroTik routers outside interface to a remote sensor, namely a Raspberry Pi 4 with 4 GB. 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. 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). Letting the Raspberry Pi serve as a pass-through between two ethernet interfaces is a simpler and faster approach. You are going to need the following pieces of software: hostapd HostAPD is a user space daemon for access point and authentication servers. When connected to RB using the same g_ether module it only shows it in the /system resource usb again as RNDIS/Ethernet Gadget. Install the router software In order for the Raspberry Pi to act as a WiFi router and access point you need to install some extra software on the Raspberry. 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. I want install RouterOs on my RaspberryPi. 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. You can also install it on your PC (x86 hardware) and it turns it into a router with the most important features you will need, including routing, firewall, bandwidth management, wireless access point, backhaul link, hotspot gateway, VPN server, and more. ![]() ![]() ![]() Recently I've tried to connect Raspberry Pi Zero to my RB962UiGS (hap ac). RouterOS is the operating system for the MicroTik routerBoard hardware based on Linux kernel. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |