MNC number of Sim setting can not be set correctly

Subject of the issue

APN settings was done manually. However, Autopi Dongle can not connect to the Internet.

Your environment

4G/LTE Edition

Steps to reproduce

After inserting the SIM card and turning on the power

Expected behaviour

Guess that the APN setting is not completed

Actual behaviour

When confirming the setting with QMI.system_info, I confirmed that MCC, MNC number setting was not done.
Please tell me how to change MCC, MNC number settings.

Kimikimi

Hi kimihiro

Did you go through these troubleshooting steps?

Additionally can you post the response of these two commands?

cmd.run 'qmi-manager down'
cmd.run 'qmi-manager up'

Best regards
/Malte

Hi malte
I confirmed “trableshooting”. The following is the result.

AutoPi.io Cloud Terminal - Use with caution. Type ‘help’ for help.
local user @ Local device $ cmd.run “lsusb”
|-
Bus 001 Device 003: ID 2c7c:0125
Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
local user @ Local device $ cmd.run “qmi-manager status”
‘[ERROR] QMI network not connected’
local user @ Local device $ cmd.run “qmi-manager down”
Timeout has occurred
To increase timeout (in seconds): _timeout=60
local user @ Local device $ cmd.run “qmi-manager up”
Timeout has occurred
To increase timeout (in seconds): _timeout=60

The following is results of qmi.system_info
The value of MNC is not the value 20, but the value 10 is the correct.

[/dev/cdc-wdm0] Successfully got system info:\n\t
WCDMA service:\n\t\t
Status: ‘limited’\n\t\t
True Status: ‘limited’\n\t\t
Preferred data path: ‘no’\n\t\t
Domain: ‘none’\n\t\t
Service capability: ‘cs-ps’\n\t\t
Roaming status: ‘on’\n\t\t
Forbidden: ‘no’\n\t\t
Location Area Code: ‘xxxxx’\n\t\t
Cell ID: ‘xxxxxxxx’\n\t\t
MCC: ‘440’\n\t\t
MNC: ‘20’\n\t\t
HS call status: ‘hsdpa-hsupa-unsupported’\n\t\t
HS service: ‘hsdpa-hsupa-unsupported’\n\t\t
Primary scrambling code: ‘206’\n\t\t
Cell broadcast support: ‘on’\n\t\t
Call barring status (CS): ‘emergency-only’\n\t\t
Call barring status (PS): ‘emergency-only’\n\t\t
Cipher Domain: ‘none’\n\t
LTE service:\n\t\t
Status: ‘none’\n\t\t
True Status: ‘none’\n\t\t
Preferred data path: ‘no’\n\t
SIM reject info: ‘unavailable’

Thankyou advance

Hi Kimikimi

The MCC and MNC values are embedded on the SIM card, and can and should not be changed by the user.
You do have to input the correct APN for the SIM card to connect to the LTE network, so can you confirm that you have set the APN correctly based on the provider you are using?

From the MNC and MCC values, the presets has the following APN value specified: “plus.acs.jp”
Have you tried that?

Can you try to run the commands again?
And if they keep timing out, can you try to increase the timeout, like so?

cmd.run 'qmi-manager down' $timeout=120
cmd.run 'qmi-manager up' $timeout=120

Can you confirm that the SIM card is inserted correctly? If possible, can you send a photo of the orientation of the card?

Best regards
/Malte

Hi malte
I confirmed “trableshooting”. The following is the result.

local user@Local device $ cmd.run ‘qmi-manager down’ _timeout=120
|-
Loading profile at /etc/qmi-network.conf…
APN: plus.4g
APN user: plus
APN password: 4g
IP type: 4
qmi-proxy: no
Network already stopped
Clearing state at /tmp/qmi-network-state-cdc-wdm0…
Connection down

local user@Local device $ cmd.run ‘qmi-manager up’ _timeout=120

error: couldn’t create client for the ‘uim’ service: CID allocation failed in
the CTL client: Transaction timed out
[WARN] Command failed with exit code 1: qmicli --device-open-qmi --device
/dev/cdc-wdm0 --uim-get-card-status | grep -q “Card state: ‘present’”
[WARN] Command failed with exit code 1: qmicli --device-open-qmi --device
/dev/cdc-wdm0 --uim-get-card-status | grep -q “Card state: ‘present’”
[WARN] Command failed with exit code 1: qmicli --device-open-qmi --device
/dev/cdc-wdm0 --uim-get-card-status | grep -q “Card state: ‘present’”
[WARN] Command failed with exit code 1: qmicli --device-open-qmi --device
/dev/cdc-wdm0 --uim-get-card-status | grep -q “Card state: ‘present’”
[ERROR] No SIM card present

Send pictures of the orientation of the SIM card below.
P_20181020_114304

Also I will send the value of APN
P_20181020_114329

Even if I insert a different SIM card for testing, the values of MMC and MNC will not change. It is always fixed with MMC 440, MNC 20.

Thenkyou Advance
Kimikimi

Hi Kimikimi

The error is that the sim card is not inserted correctly.
Please see the guide here: https://www.autopi.io/getting-started

Best regards
/Malte