New summer (as I only use the modem-TO in my allotment and only use the allotment in the summer), new ISP - at last I thought I should try another one as the old one only provided UMTS but no LTE.
So I replaced the old SIM with the new one (which I beforehand checked in an older smartphone to be working well), changed the APN and added the PIN-code in /etc/config/network
and I thought I’d be done, but nothing happens:
''Pincode rejected''
/etc/config/network
config interface 'lte'
option ifname 'eth0.10'
option proto 'mbim'
option device '/dev/cdc-wdm0'
option autoconnect '0'
option apn 'web.vodafone.de'
option pin '<pin>'
syslog
May 24 22:39:22 Router kernel: [ 109.065045] usb 1-1: USB disconnect, device number 2
May 24 22:39:22 Router kernel: [ 109.070224] qcserial ttyUSB0: Qualcomm USB modem converter now disconnected from ttyUSB0
May 24 22:39:22 Router kernel: [ 109.078455] qcserial 1-1:1.0: device disconnected
May 24 22:39:22 Router kernel: [ 109.083751] qcserial ttyUSB1: Qualcomm USB modem converter now disconnected from ttyUSB1
May 24 22:39:22 Router kernel: [ 109.091951] qcserial 1-1:1.2: device disconnected
May 24 22:39:22 Router kernel: [ 109.097384] qcserial ttyUSB2: Qualcomm USB modem converter now disconnected from ttyUSB2
May 24 22:39:22 Router kernel: [ 109.105609] qcserial 1-1:1.3: device disconnected
May 24 22:39:22 Router kernel: [ 109.110454] cdc_mbim 1-1:1.12 wwan0: unregister 'cdc_mbim' usb-f1058000.usb-1, CDC MBIM
May 24 22:39:22 Router kernel: [ 116.811334] usb 1-1: new high-speed USB device number 3 using orion-ehci
May 24 22:39:22 Router kernel: [ 117.012126] usb 1-1: config 1 has an invalid interface number: 12 but max is 4
May 24 22:39:22 Router kernel: [ 117.019374] usb 1-1: config 1 has an invalid interface number: 13 but max is 4
May 24 22:39:22 Router kernel: [ 117.026626] usb 1-1: config 1 has an invalid interface number: 13 but max is 4
May 24 22:39:22 Router kernel: [ 117.033876] usb 1-1: config 1 has no interface number 1
May 24 22:39:22 Router kernel: [ 117.039114] usb 1-1: config 1 has no interface number 4
May 24 22:39:22 Router kernel: [ 117.046074] qcserial 1-1:1.0: Qualcomm USB modem converter detected
May 24 22:39:22 Router kernel: [ 117.052678] usb 1-1: Qualcomm USB modem converter now attached to ttyUSB0
May 24 22:39:22 Router kernel: [ 117.060085] qcserial 1-1:1.2: Qualcomm USB modem converter detected
May 24 22:39:22 Router kernel: [ 117.066592] usb 1-1: Qualcomm USB modem converter now attached to ttyUSB1
May 24 22:39:22 Router kernel: [ 117.073812] qcserial 1-1:1.3: Qualcomm USB modem converter detected
May 24 22:39:22 Router kernel: [ 117.080566] usb 1-1: Qualcomm USB modem converter now attached to ttyUSB2
May 24 22:39:22 Router kernel: [ 117.101908] cdc_mbim 1-1:1.12: cdc-wdm0: USB WDM device
May 24 22:39:22 Router kernel: [ 117.107533] cdc_mbim 1-1:1.12 wwan0: register 'cdc_mbim' at usb-f1058000.usb-1, CDC MBIM, <MAC>
Modem output
AT!GSTATUS?
!GSTATUS:
Current Time: 101 Temperature: 30
Reset Counter: 2 Mode: ONLINE
System mode: WCDMA PS state: Not attached
WCDMA band: WCDMA 2100
WCDMA channel: 10836
GMM (PS) state:DEREGISTERED NO IMSI
MM (CS) state: IDLE NO IMSI
WCDMA L1 state:L1M_PCH_SLEEP LAC: 10B9 (4281)
RRC state: DISCONNECTED Cell ID: 005E7250 (6189648)
RxM RSSI C0: -67 RxD RSSI C0: ---
RxM RSSI C1: --- RxD RSSI C1: ---
OK
Screenshot luci network
It seems that somehow PIN code does not work when entered via /etc/config/network
because when unlocking the SIM with AT-commands (AT+CLCK="SC",0,"<PIN>"
) and restarting the interface I get the following (which is the same if I do not have the Sim locked with PIN)
''Unknown error (NO_REGISTRATION)''
Syslog
May 24 21:11:31 Router netifd: Interface 'lte' is setting up now
May 24 21:11:31 Router netifd: lte (18036): mbim[18036] Reading capabilities
May 24 21:11:33 Router netifd: lte (18036): devicetype: 0003 - remote
May 24 21:11:33 Router netifd: lte (18036): cellularclass: 0001
May 24 21:11:33 Router netifd: lte (18036): voiceclass: 0001 - no-voice
May 24 21:11:33 Router netifd: lte (18036): simclass: 0002
May 24 21:11:33 Router netifd: lte (18036): dataclass: 003C
May 24 21:11:33 Router netifd: lte (18036): smscaps: 0003
May 24 21:11:33 Router netifd: lte (18036): controlcaps: 0001
May 24 21:11:33 Router netifd: lte (18036): maxsessions: 0008
May 24 21:11:33 Router netifd: lte (18036): deviceid: 359072062690124
May 24 21:11:33 Router netifd: lte (18036): firmwareinfo: SWI9X30C_02.20.03.00
May 24 21:11:33 Router netifd: lte (18036): hardwareinfo: MC7455
May 24 21:11:33 Router netifd: lte (18036): mbim[18036] Checking pin
May 24 21:11:33 Router netifd: lte (18036): mbim[18036] Checking subscriber
May 24 21:11:33 Router netifd: lte (18036): readystate: 0001 - initialized
May 24 21:11:33 Router netifd: lte (18036): simiccid: <ID>
May 24 21:11:33 Router netifd: lte (18036): subscriberid: <ID>
May 24 21:11:33 Router netifd: lte (18036): mbim[18036] Register with network
May 24 21:11:33 Router netifd: lte (18036): nwerror: 0000 - unknown
May 24 21:11:33 Router netifd: lte (18036): registerstate: 0007 - (null)
May 24 21:11:33 Router netifd: lte (18036): registermode: 0001 - automatic
May 24 21:11:33 Router netifd: lte (18036): availabledataclasses: 0000 - (null)
May 24 21:11:33 Router netifd: lte (18036): currentcellularclass: 0001 - gsm
May 24 21:11:33 Router netifd: lte (18036): provider_id: 26201
May 24 21:11:33 Router netifd: lte (18036): provider_name: Vodafone
May 24 21:11:33 Router netifd: lte (18036): roamingtext: (null)
May 24 21:11:33 Router netifd: lte (18036): mbim[18036] Subscriber registration failed
May 24 21:11:33 Router root: mbim bringup failed, retry in 15s
Modem output
AT!GSTATUS?
!GSTATUS:
Current Time: 2315 Temperature: 35
Reset Counter: 2 Mode: ONLINE
System mode: WCDMA PS state: Not attached
WCDMA band: WCDMA 2100
WCDMA channel: 10836
GMM (PS) state:DEREGISTERED LIMITED SERVICE
MM (CS) state: IDLE LIMITED SERVICE
WCDMA L1 state:L1M_PCH_SLEEP LAC: 10B9 (4281)
RRC state: DISCONNECTED Cell ID: 005E7250 (6189648)
RxM RSSI C0: -67 RxD RSSI C0: ---
RxM RSSI C1: --- RxD RSSI C1: ---
OK
Screenshot luci network
Any idea what I can do about that or what I misconfigured?
edit1: I checked the APN directly on the modem via AT-commands and it seems it is the old one from last year. So when entering the new one directly via AT-commands (AT+CGDCONT=1,"IP","web.vodafone.de"
), the connection comes up:
working
Syslog
May 24 21:42:43 Router netifd: Interface 'lte' is setting up now
May 24 21:42:43 Router netifd: lte (15412): mbim[15412] Reading capabilities
May 24 21:42:53 Router netifd: lte (15412): devicetype: 0003 - remote
May 24 21:42:53 Router netifd: lte (15412): cellularclass: 0001
May 24 21:42:53 Router netifd: lte (15412): voiceclass: 0001 - no-voice
May 24 21:42:53 Router netifd: lte (15412): simclass: 0002
May 24 21:42:53 Router netifd: lte (15412): dataclass: 003C
May 24 21:42:53 Router netifd: lte (15412): smscaps: 0003
May 24 21:42:53 Router netifd: lte (15412): controlcaps: 0001
May 24 21:42:53 Router netifd: lte (15412): maxsessions: 0008
May 24 21:42:53 Router netifd: lte (15412): deviceid: <ID>
May 24 21:42:53 Router netifd: lte (15412): firmwareinfo: SWI9X30C_02.20.03.00
May 24 21:42:53 Router netifd: lte (15412): hardwareinfo: MC7455
May 24 21:42:53 Router netifd: lte (15412): mbim[15412] Checking pin
May 24 21:42:53 Router netifd: lte (15412): mbim[15412] Checking subscriber
May 24 21:42:53 Router netifd: lte (15412): readystate: 0001 - initialized
May 24 21:42:53 Router netifd: lte (15412): simiccid: <ID>
May 24 21:42:53 Router netifd: lte (15412): subscriberid: <ID>
May 24 21:42:53 Router netifd: lte (15412): mbim[15412] Register with network
May 24 21:42:54 Router netifd: lte (15412): nwerror: 0000 - unknown
May 24 21:42:54 Router netifd: lte (15412): registerstate: 0003 - home
May 24 21:42:54 Router netifd: lte (15412): registermode: 0001 - automatic
May 24 21:42:54 Router netifd: lte (15412): availabledataclasses: 0020 - lte
May 24 21:42:54 Router netifd: lte (15412): currentcellularclass: 0001 - gsm
May 24 21:42:54 Router netifd: lte (15412): provider_id: 26202
May 24 21:42:54 Router netifd: lte (15412): provider_name: Vodafone
May 24 21:42:54 Router netifd: lte (15412): roamingtext: (null)
May 24 21:42:54 Router netifd: lte (15412): mbim[15412] Attach to network
May 24 21:42:54 Router netifd: lte (15412): nwerror: 0000 - unknown
May 24 21:42:54 Router netifd: lte (15412): packetservicestate: 0002 - attached
May 24 21:42:54 Router netifd: lte (15412): uplinkspeed: 50000000
May 24 21:42:54 Router netifd: lte (15412): downlinkspeed: 300000000
May 24 21:42:54 Router netifd: lte (15412): mbim[15412] Connect to network
May 24 21:42:54 Router netifd: lte (15412): sessionid: 0
May 24 21:42:54 Router netifd: lte (15412): activationstate: 0001 - activated
May 24 21:42:54 Router netifd: lte (15412): voicecallstate: 0000 - none
May 24 21:42:54 Router netifd: lte (15412): nwerror: 0000 - unknown
May 24 21:42:54 Router netifd: lte (15412): iptype: 0001 - ipv4
May 24 21:42:54 Router netifd: lte (15412): mbim[15412] Connected, obtain IP address and configure interface
May 24 23:42:54 Router kernel: [ 3965.378289] IPv6: ADDRCONF(NETDEV_UP): wwan0: link is not ready
May 24 23:42:54 Router kernel: [ 3965.384772] 8021q: adding VLAN 0 to HW filter on device wwan0
May 24 21:42:54 Router netifd: Interface 'lte' is now up
May 24 21:42:54 Router netifd: Network device 'wwan0' link is up
Interfaces
Modem
AT!GSTATUS?
!GSTATUS:
Current Time: 75 Temperature: 36
Reset Counter: 3 Mode: ONLINE
System mode: LTE PS state: Attached
LTE band: B1 LTE bw: 20 MHz
LTE Rx chan: 100 LTE Tx chan: 18100
LTE CA state: NOT ASSIGNED
EMM state: Registered Normal Service
RRC state: RRC Idle
IMS reg state: No Srv
PCC RxM RSSI: -53 RSRP (dBm): -79
PCC RxD RSSI: -44 RSRP (dBm): -71
Tx Power: 0 TAC: B447 (46151)
RSRQ (dB): -7.4 Cell ID: 030D7514 (51213588)
SINR (dB): 27.0
OK
So the necessary question is: why are the parameters from within /etc/config/network
not transferred to the MC7455? It worked in case of the first ISP/APN last year, but it didn’t update when I entered the new ISP/APN and a PIN (which I didn’t use last year).
Are the parameters somewhat stored within the modem? But if so - why are they not updated? Did maybe a update break it?