Hi,
I am trying to connect a Inseego FX2000 5G (cellular) router to a Raspberry Pi 4B running OpenWRT 22.03.3. The FX2000 has been changed from router to the 5G modem, using the "IP Pass-through" mode. Currently, the pass-through is set to the Gigabit Ethernet port on the FX2000, and it's working great. The device connected to the Gigabit Ethernet port of the FX2000 receives a public IP from T-Mobile. The FX2000 is not doing any NAT because it's set to the "IP Pass-through" mode, effectively becoming a 5G-to-Ethernet bridge (or modem, if you wish).
The task I'm working on right now is to try to get the OpenWRT to initialize the USB connection to the Inseego FX2000 as a network interface in OpenWRT. Once this works, I will try to switch the "IP Pass-through" mode in the FX2000 from the GibabitEthernet port to the USB port. Hopefully, this will pass the public IP that T-Mobile hands to my FX2000 straight to the USB-based network interface in OpenWRT, and I can make interface to become the "wan" interface.
The problem I'm facing is that even thought the FX2000 is recognized as a USB device, the network interface doesn't get set up for this USB connection.
I've read documentation on the FX2000, and it says that RNDIS is used to emulate Ethernet via its USB port. So, I followed the OpenWRT wiki article on setting up a RNDIS device in OpenWRT.
This is what I see in dmesg:
[ 778.082658] usb 2-1: new SuperSpeed Gen 1 USB device number 3 using xhci_hcd
[ 778.116949] usb 2-1: New USB device found, idVendor=1410, idProduct=b020, bcdDevice= 4.14
[ 778.125141] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 778.132301] usb 2-1: Product: M2100
[ 778.135802] usb 2-1: Manufacturer: Novatel Wireless
[ 778.140674] usb 2-1: SerialNumber: 7fffffff
[ 778.152765] usb 2-1: Enable of device-initiated U1 failed.
[ 778.158991] usb 2-1: Enable of device-initiated U2 failed.
[ 778.172932] cdc_ether 2-1:1.0 eth1: register 'cdc_ether' at usb-0000:01:00.0-1, CDC Ethernet Device, 00:15:ff:11:67:07
[ 778.188779] usb 2-1: Enable of device-initiated U1 failed.
[ 778.195161] usb 2-1: Enable of device-initiated U2 failed.
All the packages that this article calls for are installed:
root@OpenWrt:~# opkg list-installed kmod-usb-net-rndis
kmod-usb-net-rndis - 5.10.161-1
root@OpenWrt:~# opkg list-installed usb-modeswitch
usb-modeswitch - 2022-02-24-3c8595a4-1
root@OpenWrt:~# opkg list-installed kmod-mii
kmod-mii - 5.10.161-1
root@OpenWrt:~# opkg list-installed kmod-usb-net-rndis
kmod-usb-net-rndis - 5.10.161-1
root@OpenWrt:~# opkg list-installed kmod-usb-net
kmod-usb-net - 5.10.161-1
root@OpenWrt:~# opkg list-installed kmod-usb-net-cdc-ether
kmod-usb-net-cdc-ether - 5.10.161-1
Any help will be greatly appreciated. Thank you!