Hello everyone,
I'm having some issues with my LT4120 modem. I'm running Manjaro with the 5.2 kernel.
The device wasn't being detected properly, but that was fixed after applying UDEV rules. My device details:
~> mmcli -m 0
-----------------------------------
General | dbus path: /org/freedesktop/ModemManager1/Modem/0
| device id: (hidden)
-----------------------------------
Hardware | manufacturer: HP
| model: HP lt4120 Snapdragon X5 LTE
| firmware revision: T77W595.F0.0.0.6.6.GC.029 1 [Jul 06 2016 23:00:00]
| carrier config: GCF
| carrier config revision: 0202001D
| h/w revision: V055
| supported: gsm-umts, lte
| current: gsm-umts, lte
| equipment id: 354577090146159
-----------------------------------
System | device: /sys/devices/pci0000:00/0000:00:14.0/usb1/1-2
| drivers: qmi_wwan
| plugin: Generic
| primary port: cdc-wdm0
| ports: cdc-wdm0 (qmi), wwp0s20f0u2c3 (net)
-----------------------------------
Status | lock: sim-pin2
| unlock retries: sim-pin (3), sim-puk (10), sim-pin2 (3), sim-puk2 (10)
| state: registered
| power state: on
| access tech: lte
| signal quality: 77% (recent)
-----------------------------------
Modes | supported: allowed: 2g; preferred: none
| allowed: 3g; preferred: none
| allowed: 4g; preferred: none
| allowed: 2g, 3g; preferred: 3g
| allowed: 2g, 3g; preferred: 2g
| allowed: 2g, 4g; preferred: 4g
| allowed: 2g, 4g; preferred: 2g
| allowed: 3g, 4g; preferred: 3g
| allowed: 3g, 4g; preferred: 4g
| allowed: 2g, 3g, 4g; preferred: 4g
| allowed: 2g, 3g, 4g; preferred: 3g
| allowed: 2g, 3g, 4g; preferred: 2g
| current: allowed: 2g, 3g, 4g; preferred: 4g
-----------------------------------
Bands | supported: egsm, dcs, pcs, g850, utran-1, utran-4, utran-5, utran-8,
| utran-2, eutran-1, eutran-2, eutran-3, eutran-4, eutran-5, eutran-7
| eutran-8, eutran-12, eutran-13, eutran-17, eutran-20
| current: egsm, dcs, pcs, g850, utran-1, utran-4, utran-5, utran-8,
| utran-2, eutran-1, eutran-2, eutran-3, eutran-4, eutran-5, eutran-7
| eutran-8, eutran-12, eutran-13, eutran-17, eutran-20
-----------------------------------
IP | supported: ipv4, ipv6, ipv4v6
-----------------------------------
3GPP | imei: (hidden)
| operator id: (hidden)
| operator name: (hidden)
| registration: (hidden)
-----------------------------------
SIM | dbus path: /org/freedesktop/ModemManager1/SIM/0
-----------------------------------
Bearer | dbus path: /org/freedesktop/ModemManager1/Bearer/0
In modemmanager I can see that I am getting an IP address. But NetworkManager's DHCP refuses to find it:
jul 10 09:03:38 hplap ModemManager[723]: <info> Modem /org/freedesktop/ModemManager1/Modem/0: state changed (disconnecting -> registered)
jul 10 09:03:38 hplap ModemManager[723]: <info> Simple connect state (5/8): Register
jul 10 09:03:38 hplap ModemManager[723]: <info> Simple connect state (6/8): Bearer
jul 10 09:03:38 hplap ModemManager[723]: <info> Simple connect state (7/8): Connect
jul 10 09:03:38 hplap ModemManager[723]: <info> Modem /org/freedesktop/ModemManager1/Modem/0: state changed (registered -> connecting)
jul 10 09:03:39 hplap ModemManager[723]: <info> QMI IPv4 Settings:
jul 10 09:03:39 hplap ModemManager[723]: <info> Address: redacted but valid
jul 10 09:03:39 hplap ModemManager[723]: <info> Gateway: redacted but valid
jul 10 09:03:39 hplap ModemManager[723]: <info> DNS #1: redacted but valid
jul 10 09:03:39 hplap ModemManager[723]: <info> DNS #2: redacted but valid
jul 10 09:03:39 hplap ModemManager[723]: <info> MTU: 1500
jul 10 09:03:39 hplap ModemManager[723]: <info> Modem /org/freedesktop/ModemManager1/Modem/0: state changed (connecting -> connected)
jul 10 09:03:39 hplap ModemManager[723]: <info> Simple connect state (8/8): All done
jul 10 09:03:54 hplap ModemManager[723]: <info> Modem /org/freedesktop/ModemManager1/Modem/0: state changed (connected -> disconnecting)
It seems to loop over connecting and then disconnecting again. If we look at NetworkManager there's a different story:
jul 10 09:03:39 hplap NetworkManager[727]: <info> [1562742219.4123] dhcp4 (wwp0s20f0u2c3): activation: beginning transaction (timeout in 15 seconds)
jul 10 09:03:39 hplap NetworkManager[727]: <info> [1562742219.4116] device (cdc-wdm0): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed')
jul 10 09:03:39 hplap NetworkManager[727]: <info> [1562742219.4103] device (cdc-wdm0): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
jul 10 09:03:39 hplap NetworkManager[727]: <info> [1562742219.4060] modem["cdc-wdm0"]: modem state changed, 'connecting' --> 'connected' (reason: user-requested)
jul 10 09:03:38 hplap NetworkManager[727]: <info> [1562742218.8940] modem["cdc-wdm0"]: modem state changed, 'registered' --> 'connecting' (reason: user-requested)
jul 10 09:03:38 hplap NetworkManager[727]: <info> [1562742218.8935] modem["cdc-wdm0"]: modem state changed, 'disconnecting' --> 'registered' (reason: user-requested)
jul 10 09:03:38 hplap NetworkManager[727]: <info> [1562742218.6414] modem["cdc-wdm0"]: modem state changed, 'connected' --> 'disconnecting' (reason: user-requested)
jul 10 09:03:38 hplap NetworkManager[727]: <info> [1562742218.6393] device (cdc-wdm0): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
jul 10 09:03:38 hplap NetworkManager[727]: <info> [1562742218.6392] device (cdc-wdm0): Activation: starting connection 'mifi' (a68ddf66-7bf1-4125-aea0-02002222971b)
jul 10 09:03:38 hplap NetworkManager[727]: <info> [1562742218.6387] policy: auto-activating connection 'mifi' (a68ddf66-7bf1-4125-aea0-02002222971b)
jul 10 09:03:38 hplap NetworkManager[727]: <info> [1562742218.6369] device (cdc-wdm0): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')
jul 10 09:03:38 hplap NetworkManager[727]: <warn> [1562742218.6361] device (cdc-wdm0): Activation: failed for connection 'mifi'
jul 10 09:03:38 hplap NetworkManager[727]: <info> [1562742218.6338] device (cdc-wdm0): state change: ip-config -> failed (reason 'ip-config-unavailable', sys-iface-state: 'managed')
jul 10 09:03:38 hplap NetworkManager[727]: <info> [1562742218.6332] dhcp4 (wwp0s20f0u2c3): state changed timeout -> done
jul 10 09:03:38 hplap NetworkManager[727]: <info> [1562742218.6331] dhcp4 (wwp0s20f0u2c3): canceled DHCP transaction, DHCP client pid 3052
jul 10 09:03:38 hplap NetworkManager[727]: <info> [1562742218.5680] dhcp4 (wwp0s20f0u2c3): state changed unknown -> timeout
jul 10 09:03:38 hplap NetworkManager[727]: <warn> [1562742218.5679] dhcp4 (wwp0s20f0u2c3): request timed out
jul 10 09:03:31 hplap dhclient[3052]: DHCPDISCOVER on wwp0s20f0u2c3 to 255.255.255.255 port 67 interval 12
jul 10 09:03:23 hplap dhclient[3052]: DHCPDISCOVER on wwp0s20f0u2c3 to 255.255.255.255 port 67 interval 8
I've tried both dhclient and dhcpcd. I'm not really sure where to look next. I've searched the internet but haven't found this issue mentioned somewhere.
Thank you for thinking along.