I have a Quectel EC25-E and a sim card but for some reason it's failing to connect, the apn details are correct. I've added interface 4G via luci using QMI Cellular mode. I see permission denied when one of the commands tries to run.
This is the real issue. "Permission denied" a "usual annoyance".
Pls, provide /etc/config/network
(i.e. via cat /etc/config/network)
It looks like modem can not register to cell provider.
You don't need to manually add 464xlat interface, everything is automatic as I recall. I don't have a similar configuration myself at the moment, sorry.
What is currently in your /etc/config/network ?
Will be good to check the system log right after the mobile connection is established.
Thu Feb 2 13:43:27 2023 daemon.notice netifd: 4g (23073): Stopping network 4g
Thu Feb 2 13:43:27 2023 daemon.notice netifd: 4g (23073): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "4g" } (Permission denied)
Thu Feb 2 13:43:27 2023 daemon.notice netifd: Interface '4g' is now down
Thu Feb 2 13:43:27 2023 daemon.notice netifd: Interface '4g' is setting up now
Thu Feb 2 13:43:27 2023 daemon.info dnsmasq[1]: reading /tmp/resolv.conf.d/resolv.conf.auto
Thu Feb 2 13:43:27 2023 daemon.info dnsmasq[1]: using nameserver 10.30.0.1#53
Thu Feb 2 13:43:27 2023 daemon.info dnsmasq[1]: using nameserver 10.196.8.6#53
Thu Feb 2 13:43:27 2023 daemon.info dnsmasq[1]: using only locally-known addresses for test
Thu Feb 2 13:43:27 2023 daemon.info dnsmasq[1]: using only locally-known addresses for onion
Thu Feb 2 13:43:27 2023 daemon.info dnsmasq[1]: using only locally-known addresses for localhost
Thu Feb 2 13:43:27 2023 daemon.info dnsmasq[1]: using only locally-known addresses for local
Thu Feb 2 13:43:27 2023 daemon.info dnsmasq[1]: using only locally-known addresses for invalid
Thu Feb 2 13:43:27 2023 daemon.info dnsmasq[1]: using only locally-known addresses for bind
Thu Feb 2 13:43:27 2023 daemon.info dnsmasq[1]: using only locally-known addresses for lan
Thu Feb 2 13:43:28 2023 daemon.info dnsmasq[1]: read /etc/hosts - 4 addresses
Thu Feb 2 13:43:28 2023 daemon.info dnsmasq[1]: read /tmp/hosts/dhcp.cfg01411c - 2 addresses
Thu Feb 2 13:43:28 2023 daemon.info dnsmasq[1]: read /tmp/hosts/odhcpd - 1 addresses
Thu Feb 2 13:43:28 2023 daemon.info dnsmasq-dhcp[1]: read /etc/ethers - 0 addresses
Thu Feb 2 13:43:28 2023 daemon.notice netifd: 4g (23091): Waiting for SIM initialization
Thu Feb 2 13:43:28 2023 daemon.notice netifd: 4g (23091): Failed to parse message data
Thu Feb 2 13:43:28 2023 daemon.notice netifd: 4g (23091): PIN verification is disabled
Thu Feb 2 13:43:28 2023 daemon.notice netifd: 4g (23091): Device does not support 802.3 mode. Informing driver of raw-ip only for wwan0 ..
Thu Feb 2 13:43:28 2023 daemon.notice netifd: 4g (23091): Waiting for network registration
Thu Feb 2 13:43:30 2023 daemon.notice netifd: 4g (23091): Starting network 4g
Thu Feb 2 13:43:30 2023 daemon.notice netifd: 4g (23091): Setting up wwan0
Thu Feb 2 13:43:30 2023 daemon.notice netifd: Interface '4g' is now up
Thu Feb 2 13:43:30 2023 daemon.notice netifd: Network device 'wwan0' link is up
Thu Feb 2 13:43:30 2023 daemon.info dnsmasq[1]: reading /tmp/resolv.conf.d/resolv.conf.auto
Thu Feb 2 13:43:30 2023 daemon.info dnsmasq[1]: using nameserver 2a00:23ee:0:8000::5#53
Thu Feb 2 13:43:30 2023 daemon.info dnsmasq[1]: using nameserver 2a00:23ee:0:8000::6#53
Thu Feb 2 13:43:30 2023 daemon.info dnsmasq[1]: using nameserver 10.30.0.1#53
Thu Feb 2 13:43:30 2023 daemon.info dnsmasq[1]: using nameserver 10.196.8.6#53
Thu Feb 2 13:43:30 2023 daemon.info dnsmasq[1]: using only locally-known addresses for test
Thu Feb 2 13:43:30 2023 daemon.info dnsmasq[1]: using only locally-known addresses for onion
Thu Feb 2 13:43:30 2023 daemon.info dnsmasq[1]: using only locally-known addresses for localhost
Thu Feb 2 13:43:30 2023 daemon.info dnsmasq[1]: using only locally-known addresses for local
Thu Feb 2 13:43:30 2023 daemon.info dnsmasq[1]: using only locally-known addresses for invalid
Thu Feb 2 13:43:30 2023 daemon.info dnsmasq[1]: using only locally-known addresses for bind
Thu Feb 2 13:43:30 2023 daemon.info dnsmasq[1]: using only locally-known addresses for lan
Thu Feb 2 13:43:30 2023 user.notice firewall: Reloading firewall due to ifup of 4g (wwan0)
Thu Feb 2 13:43:30 2023 daemon.info dnsmasq[1]: read /etc/hosts - 4 addresses
Thu Feb 2 13:43:30 2023 daemon.info dnsmasq[1]: read /tmp/hosts/dhcp.cfg01411c - 2 addresses
Thu Feb 2 13:43:30 2023 daemon.info dnsmasq[1]: read /tmp/hosts/odhcpd - 2 addresses
Thu Feb 2 13:43:30 2023 daemon.info dnsmasq-dhcp[1]: read /etc/ethers - 0 addresses
Thu Feb 2 13:43:31 2023 user.notice firewall: Reloading firewall due to ifupdate of 4g (wwan0)
Can you change this to option pdptype 'ipv4v6' as EE UK is dualstack 464xlat, and you are being given the ipv4 cgnat name servers and the ipv6 name server.
I have mine set to ipv4 only and it connects without issue, but mine is a business sim data only.
root@OpenWrt:/# ping 1.1.1.1
PING 1.1.1.1 (1.[ 258.392352] [nat46] Could not translate v4->v6
1.1.1): 56 data bytes
[ 259.397936] [nat46] Could not translate v4->v6
[ 260.402313] [nat46] Could not translate v4->v6
[ 261.406786] [nat46] Could not translate v4->v6
[ 262.411244] [nat46] Could not translate v4->v6
[ 263.415631] [nat46] Could not translate v4->v6
[ 264.419998] [nat46] Could not translate v4->v6
[ 265.424377] [nat46] Could not translate v4->v6
[ 266.428939] [nat46] Could not translate v4->v6
[ 267.433483] [nat46] Could not translate v4->v6
[ 268.437968] [nat46] Could not translate v4->v6
[ 269.442544] [nat46] Could not translate v4->v6
[ 270.447041] [nat46] Could not translate v4->v6
[ 271.451533] [nat46] Could not translate v4->v6
[ 272.456017] [nat46] Could not translate v4->v6
Done a bit more on this now when setting to IPV6 i'm able to ping ipv4 ip's
root@OpenWrt:/# ping 1.1.1.1
PING 1.1.1.1 (1.1.1.1): 56 data bytes
64 bytes from 1.1.1.1: seq=0 ttl=52 time=67.249 ms
64 bytes from 1.1.1.1: seq=1 ttl=52 time=29.127 ms
But http/s to websites that only run on ipv4 fail.