Hello I have
Aerohive AP350 router with OpenWrt 19.07.3, r11063-85e04e9f46
Huawei K5150 LTE modem
On windows 7 modem works as a network interface, and no problems with it.
When I plug it into router the purpure indicator blinking that indicates 4G connection.
dmesg->
usb 1-1: new high-speed USB device number 3 using fsl-ehci
lsusb ->
Bus 001 Device 002: ID 12d1:1f16 Huawei Technologies Co., Ltd. K5150 LTE modem (Mass Storage Mode)
What shoul I do to use modem as a WAN interface?
UPD. When LED is blinking its not connected, its says that network has been found – modem could connect
I followed that instruction. And after that new devices appeared. But it didn't work.
root@OpenWrt:~# lsusb -t
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=fsl-ehci/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=, 480M
opkg install kmod-usb-net-rndis usb-modeswitch
reboot
root@OpenWrt:~# lsusb -t
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=fsl-ehci/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Communications, Driver=, 480M
|__ Port 1: Dev 2, If 1, Class=CDC Data, Driver=, 480M
|__ Port 1: Dev 2, If 2, Class=Mass Storage, Driver=, 480M
I'm not completely understand how it works, so tryed a lot of instructions.
So finally I found solution (start connection manually)-
root@OpenWrt:~# mbim-network /dev/cdc-wdm0 start
Loading profile at /etc/mbim-network.conf...
APN: internet
APN auth protocol: unset
APN user: unset
APN password: unset
mbim-proxy: no
Querying subscriber ready status 'mbimcli -d /dev/cdc-wdm0 --query-subscriber-re ady-status --no-close '...
[/dev/cdc-wdm0] Subscriber ready status retrieved: Ready state: 'initialized' Su bscriber ID: '255072000488097' SIM ICCID: '8938007200004930972F' Ready info: 'no ne' Telephone numbers: (0) 'unknown' [/dev/cdc-wdm0] Session not closed: TRID: ' 4'
Saving state at /tmp/mbim-network-state-cdc-wdm0... (TRID: 4)
Querying registration state 'mbimcli -d /dev/cdc-wdm0 --query-registration-state --no-open=4 --no-close '...
error: operation failed: Transaction timed out
[/dev/cdc-wdm0] Session not closed: TRID: '5'
Saving state at /tmp/mbim-network-state-cdc-wdm0... (TRID: 5)
Attaching to packet service with 'mbimcli -d /dev/cdc-wdm0 --attach-packet-servi ce --no-open=5 --no-close '...
error: operation failed: Transaction timed out
Saving state at /tmp/mbim-network-state-cdc-wdm0... (TRID: 6)
Starting network with 'mbimcli -d /dev/cdc-wdm0 --connect=apn='internet' --no-op en=6 --no-close '...
error: operation failed: Transaction timed out
Network start failed
[/dev/cdc-wdm0] Session not closed: TRID: '7'
Saving state at /tmp/mbim-network-state-cdc-wdm0... (TRID: 7)
Network connection is succsessful, even despite the 'Network start failed' .
Maybe it didn't work because it needs more time than I aspected.
I will try restart router and be more patience.
Thank you for help!
UPD. unfortunately connection doesn't start autommaticaly. I will try to Hard Reset the device, maybe it will help.
unplug dongle.. reboot.. logread -f re-plug dongle.. and post output here if you can.. you should read something like cdc_ether 1-1:1.0 eth1: register (with the above packages installed if you already did an hard reset)