RUT 241 problems with manual APN and Static ip address

model RUT241 - version RUT2M_R_00.07.08.2
Im having troubles connecting with a APN that the Service provider created for the company, the problem im getting is the following:

Tue Aug 13 06:58:11 2024 daemon.info gsmd[2628]: Modem 1-1 [2c7c:0125] URC Event: EMM reject cause => ESM failure
Tue Aug 13 06:58:11 2024 daemon.info gsmd[2628]: Modem 1-1 [2c7c:0125] URC Event: ESM reject cause => Missing or unknown APN

from the provider side they told us we should not use any authentication for the APN, and we need to put a specific ip address from our RUT241.

this is what i get from the device:
root@RUT241:/etc/config# gsmctl -jPgCoftFKIvbq
Disconnected
attached
Registered, home
26288695
ISP ISP APN PERSONAL
70801
HSPA+
HSPA+ | WCDMA_1900 | 70801
Access tech: WCDMA | TDD mode: | MCC: 708 | MNC: 01 | UE state: 3
“neighbourcell”,“WCDMA”,512,-757,222,0,0,3,-32768,-
“neighbourcell”,“WCDMA”,512,-757,318,0,0,3,-32768,-
“neighbourcell”,“WCDMA”,512,-757,361,0,0,3,-32768,-
“neighbourcell”,“WCDMA”,512,-757,403,0,0,3,-32768,-
“neighbourcell”,“WCDMA”,512,-757,334,0,0,3,-32768,-
“neighbourcell”,“WCDMA”,512,-757,93,0,0,3,-32768,-
“neighbourcell”,“WCDMA”,512,-757,468,-860,-95,6,-32768,-
“neighbourcell”,“WCDMA”,512,-757,460,-840,-110,3,-32768,-
Inactive
WCDMA_1900
RSSI: -81
RSCP: -81
ECIO: -8

Hello,

Thanks for reaching out!

Can you please share the screenshot from the Status > Network > Mobile?
And also please run below command from the CLI and share the output.
logread | grep -i apn

Those informations will help us to understand & solve the issue!

Kind Regards,
Caner

hello Caner,
heres the command:

Tue Jun 18 07:47:46 2024 daemon.info mobifd: [gsm.modem0] Network notification received “Missing or unknown APN”
Tue Jun 18 07:47:55 2024 daemon.info mobifd: [gsm.modem0] Network notification received “Missing or unknown APN”
Tue Jun 18 07:47:55 2024 user.notice mobile.sh: QMI call error, reason type 3GPP: " Unknown or missing APN" “Call failed”
Tue Jun 18 07:47:55 2024 daemon.notice netifd: mob1s1a1 (29587): pdh4: QMI call error, reason type 3GPP: " Unknown or missing APN"
Tue Jun 18 07:47:55 2024 user.notice mobile.sh: QMI call error, reason type 3GPP: " Unknown or missing APN" “Call failed”
Tue Jun 18 07:48:06 2024 daemon.info mobifd: [gsm.modem0] Network notification received “Missing or unknown APN”
Tue Jun 18 07:48:09 2024 daemon.info mobifd: [gsm.modem0] Network notification received “Missing or unknown APN”
Tue Jun 18 07:48:20 2024 daemon.info mobifd: [gsm.modem0] Network notification received “Missing or unknown APN”
Tue Jun 18 07:48:30 2024 daemon.info mobifd: [gsm.modem0] Network notification received “Missing or unknown APN”
Tue Jun 18 07:48:45 2024 daemon.info mobifd: [gsm.modem0] Network notification received “Missing or unknown APN”
Tue Jun 18 07:48:56 2024 daemon.info gsmd[1733]: e => ESM failureModem 1-1 [2c7c:0125] URC Event: ESM reject cause => Missing or unknown APNModem 1-1 [2c7c:0125] URC Event: EMM reject cause => ESM failureModem 1-1 [2c7c:0125] URC Event: ESM reject cause => Missing or unknown APNModem 1-1 [2c7c:0125] URC Event: EMM reject cause => ESM failureModem 1-1 [2c7c:0125] URC Event: ESM reject cause => Missing or unknown APNModem 1-1 [2c7c:0125] URC Event: EMM reject cause => ESM failureModem 1-1 [2c7c:0125] URC Event: ESM reject cause => Missing or unknown APNModem 1-1 [2c7c:0125] URC Event: EMM reject cause => ESM failureModem 1-1 [2c7c:0125] URC Event: ESM reject cause => Missing or unknown APNModem 1-1 [2c7c:0125] URC Event: EMM reject cause => No EPS bearer context activatedModem 1-1 [2c7c:0125] URC Event: EMM reject cause => ESM failureModem 1-1 [2c7c:0125] URC Event: ESM reject cause => Missing or unknown APNModem 1-1 [2c7c:0125] URC Event: EMM reject cause => ESM failureModem 1-1 [2c7c:0125] URC Eve
Tue Jun 18 07:48:56 2024 daemon.info mobifd: [gsm.modem0] Network notification received “Missing or unknown APN”
Tue Jun 18 07:49:06 2024 daemon.info mobifd: [gsm.modem0] Network notification received “Missing or unknown APN”
Tue Jun 18 07:49:16 2024 daemon.info mobifd: [gsm.modem0] Network notification received “Missing or unknown APN”
Tue Jun 18 07:49:26 2024 daemon.info mobifd: [gsm.modem0] Network notification received “Missing or unknown APN”
Tue Jun 18 07:49:39 2024 daemon.info mobifd: [gsm.modem0] Network notification received “Missing or unknown APN”
Tue Jun 18 07:49:50 2024 daemon.info mobifd: [gsm.modem0] Network notification received “Missing or unknown APN”
Tue Jun 18 07:50:00 2024 daemon.info mobifd: [gsm.modem0] Network notification received “Missing or unknown APN”
Tue Jun 18 07:50:09 2024 daemon.info mobifd: [gsm.modem0] Network notification received “Missing or unknown APN”
Tue Jun 18 07:50:20 2024 daemon.info mobifd: [gsm.modem0] Network notification received “Missing or unknown APN”
Tue Jun 18 07:50:31 2024 daemon.info mobifd: [gsm.modem0] Network notification received “Missing or unknown APN”
Tue Jun 18 07:50:47 2024 daemon.info mobifd: [gsm.modem0] Network notification received “Missing or unknown APN”
Tue Jun 18 07:50:58 2024 daemon.info mobifd: [gsm.modem0] Network notification received “Missing or unknown APN”
Tue Jun 18 07:51:08 2024 daemon.info mobifd: [gsm.modem0] Network notification received “Missing or unknown APN”
Tue Jun 18 07:51:24 2024 daemon.info mobifd: [gsm.modem0] Network notification received “Missing or unknown APN”
root@RUT241:~#

and that what i get from the page from time to time like i show you in the commands before it register to the provider but the status it always Disconnected.

i also get the following information from the logs:
Tue Jun 18 15:16:22 2024 daemon.info mobifd: [gsm.modem0] -CFUN- Functionality: “Full”

Tue Jun 18 15:16:22 2024 daemon.info mobifd: [gsm.modem0] -COPS- Mode: “Auto”, operator: “CLARO XXX Claro”

Tue Jun 18 15:16:22 2024 daemon.info mobifd: [gsm.modem0] -CREG- Mode: “Enabled (with location information)”, status: “Searching”, LAC: “”, cell ID: “”, technology: “Unknown”

Tue Jun 18 15:16:22 2024 daemon.info mobifd: [gsm. modem0] -CGREG- Mode: “Enabled (with location information)”, status: “Searching”, LAC: “”, cell ID: “”, technology: “Unknown”

Tue Jun 18 15:16:22 2024 daemon.info mobifd: [gsm.modem0] -CEREG- Mode: “Enabled (with location information)”, status: “Not registered”, LAC: “”, cell ID: “”, technology: “Unknown”

Tue Jun 18 15:16:22 2024 daemon.info mobifd: [gsm.modem0] IP address on PDP context “1”: “0.0.0.0”

Tue Jun 18 15:16:23 2024 daemon.info mobifd: [gsm.modem0] Network notification received “ESM failure”

Tue Jun 18 15:16:23 2024 daemon.info mobifd: [gsm.modem0] Network notification received “Missing or unknown APN”

Tue Jun 18 15:16:25 2024 daemon.info mobifd: [gsm.modem0] IP address on PDP context “1”: “0.0.0.0”

Tue Jun 18 15:16:28 2024 daemon.info mobifd: [gsm.modem0] IP address on PDP context “1”: “0.0.0.0”

Tue Jun 18 15:16:31 2024 daemon.info mobifd: [gsm.modem0] IP address on PDP context “1”: “0.0.0.0”

Tue Jun 18 15:16:34 2024 daemon.info mobifd: [gsm.modem0] Network notification received “ESM failure”

Tue Jun 18 15:16:34 2024 daemon.info mobifd: [gsm.modem0] Network notification received “Missing or unknown APN”

Tue Jun 18 15:16:34 2024 daemon.info mobifd: [gsm.modem0] IP address on PDP context “1”: “0.0.0.0”

Tue Jun 18 15:16:34 2024 daemon.err mobifd: [gsm.modem0] Modem is not attached to PS

Tue Jun 18 15:16:34 2024 daemon.info mobifd: [gsm.modem0] Connection establishment timer set to “30s”

Tue Jun 18 15:16:34 2024 daemon.info mobifd: [gsm.modem0] Attempting to establish connection to operator with “60s” of timeout

Tue Jun 18 15:16:34 2024 daemon.info mobifd: [gsm.modem0] Connected to operator “CLARO XXX Claro”

Tue Jun 18 15:16:34 2024 daemon.info mobifd: [gsm.modem0] -CFUN- Functionality: “Full”

Tue Jun 18 15:16:34 2024 daemon.info mobifd: [gsm.modem0] -COPS- Mode: “Auto”, operator: “CLARO xxx Claro”

Tue Jun 18 15:16:34 2024 daemon.info mobifd: [gsm.modem0] -CREG- Mode: “Enabled (with location information)”, status: “Searching”, LAC: “”, cell ID: “”, technology: “Unknown”

Tue Jun 18 15:16:34 2024 daemon.info mobifd: [gsm.modem0] -CGREG- Mode: “Enabled (with location information)”, status: “Searching”, LAC: “”, cell ID: “”, technology: “Unknown”

Tue Jun 18 15:16:34 2024 daemon.info mobifd: [gsm.modem0] -CEREG- Mode: “Enabled (with location information)”, status: “Searching”, LAC: “”, cell ID: “”, technology: “Unknown”

from what i understand i get the connection to the provider but cant get the ip so the process from the quectel chip just restarts.

and on other time i get the ip address on the provider but the process cant advance any more because the test from the quectel chip wont pass.

Tue Jun 18 15:26:17 2024 user.notice netifd: uqmi -d /dev/cdc-wdm0 --timeout 6000 --set-client-id wds,22 --start-network --profile 1 --ip-family ipv4

Tue Jun 18 15:26:22 2024 daemon.notice netifd: mob1s1a1 (31881): pdh4: -2027653152

Tue Jun 18 15:26:22 2024 daemon.notice netifd: mob1s1a1 (31881): -2027653152

Tue Jun 18 15:26:23 2024 daemon.notice netifd: mob1s1a1 (31881): Setting up qmimux0

Tue Jun 18 15:26:23 2024 daemon.notice netifd: mob1s1a1 (31881): Setting dynamic MTU: 1500 on qmimux0

Tue Jun 18 15:26:23 2024 daemon.notice netifd: Interface ‘mob1s1a1’ is now up

Tue Jun 18 15:26:23 2024 daemon.notice netifd: Network device ‘wwan0’ link is up

Tue Jun 18 15:26:23 2024 daemon.notice netifd: mob1s1a1 (31881): Setting up qmimux0 V4 DCHP

Tue Jun 18 15:26:23 2024 daemon.notice netifd: Interface ‘mob1s1a1_4’ is enabled

Tue Jun 18 15:26:23 2024 daemon.notice netifd: Network device ‘qmimux0’ link is up

Tue Jun 18 15:26:23 2024 daemon.notice netifd: Interface ‘mob1s1a1_4’ has link connectivity

Tue Jun 18 15:26:23 2024 daemon.notice netifd: Interface ‘mob1s1a1_4’ is setting up now

Tue Jun 18 15:26:24 2024 daemon.notice netifd: mob1s1a1_4 (32456): udhcpc: started, v1.34.1

Tue Jun 18 15:26:24 2024 daemon.notice netifd: mob1s1a1_4 (32456): udhcpc: broadcasting discover

Tue Jun 18 15:26:24 2024 daemon.notice netifd: mob1s1a1_4 (32456): udhcpc: broadcasting select for x.x.x.x, server x.x.x.x

Tue Jun 18 15:26:24 2024 daemon.notice netifd: mob1s1a1_4 (32456): udhcpc: lease of x.x.x.x obtained from x.x.x.x, lease time 7200

Tue Jun 18 15:26:24 2024 user.notice firewall: Reloading firewall due to ifup of mob1s1a1 (wwan0)
l
Tue Jun 18 15:26:25 2024 daemon.info mobifd: Auto APN is disabled for ‘mob1s1a1’. Skipping Ping To DNS functionality

Tue Jun 18 15:26:25 2024 daemon.notice netifd: Interface ‘mob1s1a1_4’ is now up

Tue Jun 18 15:26:25 2024 daemon.info mobifd: Connection setup completed for ‘mob1s1a1’

Tue Jun 18 15:26:25 2024 daemon.info mobifd: Connection setup completed for modem: ‘gsm.modem0’

Tue Jun 18 15:26:25 2024 daemon.info dnsmasq[2954]: reading /tmp/resolv.conf.d/resolv.conf.auto

Tue Jun 18 15:26:25 2024 daemon.info dnsmasq[2954]: using nameserver 216.230.147.90#53

Tue Jun 18 15:26:25 2024 daemon.info dnsmasq[2954]: using nameserver 216.230.128.3#53

Tue Jun 18 15:26:25 2024 daemon.info dnsmasq[2954]: using only locally-known addresses for test

Tue Jun 18 15:26:25 2024 daemon.info dnsmasq[2954]: using only locally-known addresses for onion

Tue Jun 18 15:26:25 2024 daemon.info dnsmasq[2954]: using only locally-known addresses for localhost

Tue Jun 18 15:26:25 2024 daemon.info dnsmasq[2954]: using only locally-known addresses for local

Tue Jun 18 15:26:25 2024 daemon.info dnsmasq[2954]: using only locally-known addresses for invalid

Tue Jun 18 15:26:25 2024 daemon.info dnsmasq[2954]: using only locally-known addresses for bind

Tue Jun 18 15:26:25 2024 daemon.info dnsmasq[2954]: using only locally-known addresses for lan

Tue Jun 18 15:26:25 2024 daemon.info mobifd: [gsm.modem0] Network notification received “No EPS bearer context activated”

Tue Jun 18 15:26:26 2024 daemon.info mobifd: [gsm.modem0] Network notification received “ESM failure”

Tue Jun 18 15:26:26 2024 daemon.info mobifd: [gsm.modem0] Network notification received “Missing or unknown APN”

Tue Jun 18 15:26:29 2024 daemon.info dnsmasq[2954]: read /etc/hosts - 12 names

Tue Jun 18 15:26:29 2024 daemon.info dnsmasq[2954]: read /tmp/hosts/dhcp.cfg01411c - 4 names

Tue Jun 18 15:26:29 2024 daemon.info dnsmasq-dhcp[2954]: read /etc/ethers - 0 addresses

Tue Jun 18 15:26:31 2024 user.notice firewall: Reloading firewall due to ifup of mob1s1a1_4 (qmimux0)

Tue Jun 18 15:26:34 2024 daemon.info dnsmasq[2954]: read /etc/hosts - 12 names

Tue Jun 18 15:26:34 2024 daemon.info dnsmasq[2954]: read /tmp/hosts/dhcp.cfg01411c - 4 names

Tue Jun 18 15:26:34 2024 daemon.info dnsmasq-dhcp[2954]: read /etc/ethers - 0 addresses

Tue Jun 18 15:26:36 2024 kern.info Mobile data connected (internal modem)

Tue Jun 18 15:26:36 2024 kern.info Joined LTE network (internal modem)

Tue Jun 18 15:26:36 2024 kern.info Connected to CLARO xxx Claro operator (internal modem)

Tue Jun 18 15:26:37 2024 daemon.info mobifd: [gsm.modem0] Network notification received “ESM failure”

Tue Jun 18 15:26:37 2024 daemon.info mobifd: [gsm.modem0] Network notification received “Missing or unknown APN”

Tue Jun 18 15:26:44 2024 daemon.notice netifd: mob1s1a1 (32434): Mobile connection lost!

Tue Jun 18 15:26:44 2024 daemon.notice netifd: Interface ‘mob1s1a1’ has lost the connection

Tue Jun 18 15:26:44 2024 daemon.notice netifd: Network device ‘wwan0’ link is down

Tue Jun 18 15:26:45 2024 daemon.notice netifd: mob1s1a1 (695): Stopping network mob1s1a1

Tue Jun 18 15:26:45 2024 daemon.notice netifd: mob1s1a1 (695): Stopping network on /dev/cdc-wdm0!

Tue Jun 18 15:26:45 2024 user.notice netifd: uqmi -s -d /dev/cdc-wdm0 -t 3000 --set-client-id wds,22 --stop-network 0xFFFFFFFF --autoconnect

Tue Jun 18 15:26:45 2024 daemon.notice netifd: mob1s1a1 (695): “No effect”

Tue Jun 18 15:26:46 2024 daemon.notice netifd: mob1s1a1 (695): Releasing client-id 22 on /dev/cdc-wdm0

Tue Jun 18 15:26:46 2024 user.notice netifd: uqmi -s -d /dev/cdc-wdm0 -t 3000 --set-client-id wds,22 --release-client-id wds

Tue Jun 18 15:26:47 2024 daemon.notice netifd: mob1s1a1 (695): Command failed: Not found

Tue Jun 18 15:26:47 2024 daemon.notice netifd: Network device ‘qmimux0’ link is down

Tue Jun 18 15:26:47 2024 daemon.notice netifd: Interface ‘mob1s1a1_4’ has link connectivity loss

Tue Jun 18 15:26:47 2024 daemon.info mobifd: [gsm.modem0] Network notification received “ESM failure”

Tue Jun 18 15:26:47 2024 daemon.info mobifd: [gsm.modem0] Network notification received “Missing or unknown APN”

Tue Jun 18 15:26:49 2024 daemon.notice netifd: Interface ‘mob1s1a1_4’ is disabled

Tue Jun 18 15:26:49 2024 daemon.notice netifd: mob1s1a1 (695): Command failed: Permission denied

Tue Jun 18 15:26:49 2024 daemon.notice netifd: Interface ‘mob1s1a1’ is now down

Hello,

“Missing or unknown APN” error is there.Can you please check with your operator if your sim card has custom APN or not?

Kind Regards,
Caner

Yes we have a custom APN and that is configure on the mobile interface manually.

Hello,

I can see the below error on the logs, multiple times.
[sm.modem0] Network notification received *Missing or unknown APN
Which basically means there is some issue within the APN itself? Can you please double check with your operator if they enabled the service of your sim card, if there is different authentication,etc,…

Kind Regards,
Caner

This topic was automatically closed after 15 days. New replies are no longer allowed.