Is it possible to tell to send specific AT commands to the modem? I noticed that the router has the right drivers enabled for my modem but doesn't configure it correctly.
EDIT: After setting the modem into ECM mode, which then can use the CDC ECM driver, the modem works.
The only thing I wonder if MBIM would be better, if the router can configure the modem in that mode that is.. There's also RNDIS but it's not recommended to be used.
https://quickopen.readthedocs.io/en/latest/5-usb/UsbNet.html
EDIT2: Grepping the GPL code shows me that MBIM should work. However there's a bug in the router when it tries to load the module. Where would I forward my logs/report the bug? From a quick internet it could be that it is a bug in OpenWRT.
Here are a few of the relevant lines from dmesg:
[13402.328265] cdc_mbim: Unknown symbol cdc_ncm_bind_common (err 0)
[13402.335747] cdc_mbim: Unknown symbol cdc_ncm_rx_verify_nth16 (err 0)
[13402.343682] cdc_mbim: Unknown symbol cdc_ncm_unbind (err 0)
[13402.349673] cdc_mbim: Unknown symbol cdc_ncm_fill_tx_frame (err 0)
[13402.356013] cdc_mbim: Unknown symbol cdc_ncm_select_altsetting (err 0)
[13402.363142] cdc_mbim: Unknown symbol cdc_ncm_change_mtu (err 0)
[13402.369234] cdc_mbim: Unknown symbol cdc_ncm_rx_verify_ndp16 (err 0)