Hello, as outlined in my previous topic, I have quite basic knowledge (though firm logical thinking) about networking and linux so I will need some help with configuring my x86 OpenWrt machine. I have connected a usb 4G modem EP06-E and I am in the process of making it function. I have already tested it under Windows on a different machine so I know it works if it is configured properly (i.e. no hardware issues with the modem whatsoever). Following the manufacturer's guide, it says I will need to modify the linux kernel in order to install the drivers for the modem.
"In order to recognize the module, the module’s VID and PID information as below need to be added to the
And... it is at the very beginning that I am struggling to find a way to open the kernel. I have connected the router via ssh to my laptop. Can you please assist me with this? I know the solution might not be as simple as I expect it to be, but then again, I couldn't really find the appropriate guides for my case. I would like to point out that I have already expanded the space on my OpenWrt installation so storage is no issue.
Those IDs should already be compiled into the OpenWrt kmods. It will not be necessary to modify any source code. Install these packages:
opkg install uqmi kmod-usb-serial-option
This will bring in several others as dependencies, and be sufficient to operate the modem in qmi mode, using an interface proto qmi block in /etc/config/network. If you use LuCI, install luci-proto-qmi. Generally you won't use modemmanager and usb-modeswitch is for pluggable dongle type modems.
Hello. I have installed the mentioned packages but the system still won't see the 4G modem. it is plugged indeed using usb connection as the modem is connected to an adapter card connected via a usb cable. I rebooted, then installed modemmanager and usb-modeswitch and I still cannot see the device.
the closest to a powered usb hub I have is a thunderbolt hub but when plugged through it, I still do not see the device. I have used said hub to connect display output from integrated graphics directly from the x86 router so it is definitely recognised. It's the modem that is the problem. After installing Quectel's drivers on Windows, it worked for a whole day with my sim card in it without a hitch. Not sure what is going on, but this is also the second adapter I am using, as the previous one had issues with not recognising the sim card (I think due to interference, as the slot was too close to the antenna on the module) - but at least the modem could still be seen, under Windows.
I changed the usb cable. I can now see the device. Wow. I guess I can write the previous cable off. No visible damage to it, it also has all the pins so idk what happened there. I can also see it in LuCI. It's config time. I guess I will be able to take it from here. It's the messy driver part that was difficult. Thank you very much to all! I will be back in a few days as I also have a miniPCIe ax card (connected via a m2 to miniPCIe adapter) to install too haha. But I will open another thread when I am finished with the 4G modem. And only if I cannot troubleshoot it myself.