Issue Connecting to Network
Paul Harvey
jhebus at googlemail.com
Tue Aug 13 08:16:03 UTC 2019
Hi all,
I am relatively new to this, so please excuse silly mistakes.
I have a PCEngines APU2, and a EC21-J LTE modem and a sim card. I am trying
to connect to the network. In case it is relevant, i'm in Japan.
The following explains in more details, but bascically i am not able to
connect to the network. I don't know why, and i don't know how to go about
debugging. Any and all help appreciated. I removed the phone numbers and
passwords...
I can see the modem and the sim card is being read:
$ sudo mmcli -m 1
--------------------------------
General | dbus path: /org/freedesktop/ModemManager1/Modem/1
| device id: b0f974be664b5de29807bacd72562cec57bc102a
--------------------------------
Hardware | manufacturer: QUALCOMM INCORPORATED
| model: QUECTEL Mobile Broadband Module
| revision: EC21JFAR06A02M4G
| h/w revision: 10000
| supported: lte
| current: lte
| equipment id: 866522040026011
--------------------------------
System | device:
/sys/devices/pci0000:00/0000:00:13.0/usb1/1-1/1-1.3
| drivers: option1, qmi_wwan
| plugin: Quectel
| primary port: cdc-wdm0
| ports: ttyUSB0 (qcdm), ttyUSB2 (at), cdc-wdm0
(qmi),
| wwp0s19u1u3i4 (net), ttyUSB3 (at)
--------------------------------
Numbers | own: ************
--------------------------------
Status | lock: sim-pin2
| unlock retries: sim-pin (3), sim-pin2 (3), sim-puk (10),
sim-puk2 (10)
| state: enabled
| power state: on
| signal quality: 0% (cached)
--------------------------------
Modes | supported: allowed: 4g; preferred: none
| current: allowed: 4g; preferred: none
--------------------------------
Bands | supported: eutran-1, eutran-3, eutran-8, eutran-18,
eutran-19
| current: eutran-1, eutran-3, eutran-8, eutran-18,
eutran-19
--------------------------------
IP | supported: ipv4, ipv6, ipv4v6
--------------------------------
3GPP | imei: 866522040026011
--------------------------------
3GPP EPS | ue mode of operation: csps-2
--------------------------------
SIM | dbus path: /org/freedesktop/ModemManager1/SIM/1
Also, i can scan for networks
# qmicli --device /dev/cdc-wdm0 --nas-network-scan
[/dev/cdc-wdm0] Successfully scanned networks
Network [0]:
MCC: '440'
MNC: '10'
Status: 'available, home, not-forbidden, preferred'
Description: 'DOCOMO'
Network [1]:
MCC: '440'
MNC: '52'
Status: 'available, roaming, forbidden, not-preferred'
Description: '440 52'
Network [2]:
MCC: '440'
MNC: '50'
Status: 'available, roaming, forbidden, not-preferred'
Description: 'KDDI'
Network [3]:
MCC: '440'
MNC: '51'
Status: 'available, roaming, forbidden, not-preferred'
Description: 'KDDI'
Network [4]:
MCC: '440'
MNC: '20'
Status: 'current-serving, roaming, forbidden, not-preferred'
Description: 'SoftBank'
Network [0]:
MCC: '440'
MNC: '10'
RAT: 'lte'
Network [1]:
MCC: '440'
MNC: '52'
RAT: 'lte'
Network [2]:
MCC: '440'
MNC: '50'
RAT: 'lte'
Network [3]:
MCC: '440'
MNC: '51'
RAT: 'lte'
Network [4]:
MCC: '440'
MNC: '20'
RAT: 'lte'
Network [0]:
MCC: '440'
MNC: '10'
MCC with PCS digit: 'no'
Network [1]:
MCC: '440'
MNC: '52'
MCC with PCS digit: 'no'
Network [2]:
MCC: '440'
MNC: '50'
MCC with PCS digit: 'no'
Network [3]:
MCC: '440'
MNC: '51'
MCC with PCS digit: 'no'
Network [4]:
MCC: '440'
MNC: '20'
MCC with PCS digit: 'no'
When i try to connect i get the following:
# qmi-network /dev/cdc-wdm0 start
Loading profile at /etc/qmi-network.conf...
APN: ****
APN user: ****
APN password: ****
qmi-proxy: no
Checking data format with 'qmicli -d /dev/cdc-wdm0 --wda-get-data-format
'...
Device link layer protocol retrieved: raw-ip
Getting expected data format with 'qmicli -d /dev/cdc-wdm0
--get-expected-data-format'...
Expected link layer protocol retrieved: raw-ip
Device and kernel link layer protocol match: raw-ip
Starting network with 'qmicli -d /dev/cdc-wdm0
--wds-start-network=apn='***' --client-no-release-cid '...
error: couldn't start network: QMI protocol error (14): 'CallFailed'
call end reason (3): generic-no-service
verbose call end reason (3,2001): [cm] no-service
Saving state at /tmp/qmi-network-state-cdc-wdm0... (CID: 20)
error: network start failed, no packet data handle
Clearing state at /tmp/qmi-network-state-cdc-wdm0...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libqmi-devel/attachments/20190813/1884c5fc/attachment.html>
More information about the libqmi-devel
mailing list