Authentication: unspecified with Vodafone SIM
Vincent Palatin
vpalatin at chromium.org
Wed Mar 24 08:14:04 UTC 2021
On Wed, Mar 24, 2021 at 9:07 AM Vincent Palatin <vpalatin at chromium.org> wrote:
>
> On Wed, Mar 24, 2021 at 8:47 AM Becker, Tobias (VIVAVIS AG)
> <Tobias.Becker at vivavis.com> wrote:
> >
> > Hi guys,
> >
> >
> >
> > sorry, i forgot to specify the versions. I’m using ModemManager 1.16.2, libmbim 1.24.6.
> >
> >
> >
> > For our proprietary modemcontroller we had the solution to provide the PDP authentication information also in the first memory location, for which no APN was stored either.
> >
> > So i tried to set initial bearer settings, but without success:
> >
> > mmcli -m 1 --3gpp-set-initial-eps-bearer-settings='apn=myApn.com,ip-type=ipv4,allowed-auth=pap,user=myUser,password=myPasswd‘
> >
> > error: couldn't set initial EPS bearer properties: 'GDBus.Error:org.freedesktop.ModemManager1.Error.Core.Unsupported: LTE attach configuration is unsupported'
> >
> >
> >
> > So i’m still a little loss at a and try to figure it out.
>
> This means that the modem doesn't declare that it supports the CID
> `MBIM_CID_MS_BASIC_CONNECT_EXTENSIONS_LTE_ATTACH_STATUS` when
> answering to the MBIM 'device services' query (aka
> MBIM_CID_BASIC_CONNECT_DEVICE_SERVICES)
On your device, you can inspect the actual result by shutting down
ModemManager and running `mbimcli --query-device-services`
e.g.
```
$ mbimcli -d /dev/cdc-wdm0 --query-device-services
[/dev/cdc-wdm0] Device services retrieved:
Max DSS sessions: '1'
Services: (21)
Service: 'basic-connect'
UUID: [a289cc33-bcbb-8b4f-b6b0-133ec2aae6df]:
DSS payload: 0
Max DSS instances: 0
CIDs: device-caps (1),
subscriber-ready-status (2),
radio-state (3),
pin (4),
pin-list (5),
register-state (9),
home-provider (6),
signal-state (11),
visible-providers (8),
preferred-providers (7),
network-idle-hint (21),
packet-service (10),
ip-configuration (15),
connect (12),
device-services (16),
device-service-subscribe-list (19),
ip-packet-filters (23),
provisioned-contexts (13)
Service: 'sms'
UUID: [533fbeeb-14fe-4467-9f90-33a223e56c3f]:
DSS payload: 0
Max DSS instances: 0
CIDs: configuration (1),
read (2),
send (3),
delete (4),
message-store-status (5)
[...]
Service: 'ms-basic-connect-extensions'
UUID: [3d01dcc5-fef5-4d05-0d3a-bef7058e9aaf]:
DSS payload: 0
Max DSS instances: 0
CIDs: lte-attach-configuration (3),
lte-attach-status (4),
device-caps (6),
pco (9)
```
The last one for the service 'ms-basic-connect-extensions' is what you
are looking for.
>
> This is checked by ModemManager during Modem initialization.
> the detection is done there:
> https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/blob/master/src/mm-broadband-modem-mbim.c#L2353
>
>
> >
> > Von: ModemManager-devel [mailto:modemmanager-devel-bounces at lists.freedesktop.org] Im Auftrag von Becker, Tobias (VIVAVIS AG)
> > Gesendet: Montag, 15. März 2021 13:36
> > An: modemmanager-devel at lists.freedesktop.org
> > Betreff: Authentication: unspecified with Vodafone SIM
> >
> >
> >
> > Hi,
> >
> >
> >
> > I’ve got a problem related to a SIM of Vodafone and maybe authentication with pap.
> >
> >
> >
> > Actually we are using NetworkManager on our embedded device to create connections via ModemManager and gsm, that works fine with other SIM from e.g. t-mobile, but as this did not work with this card of Vodafone i tried to use the ModemManager directly and also had no success getting an IP-Address.
> >
> >
> >
> > The apn uses PAP authenticatio, according to the logs, I this maybe is the problem though it was specified:
> >
> >
> >
> > <<<<<< AuthProtocol = 'pap'
> >
> > allowed authentication: unspecified
> >
> >
> >
> >
> >
> > It works fine on the same hardware but with another Firmware that uses a proprietary modem controller speaking ppp instead of mbim to the modem.
> >
> >
> >
> >
> >
> > Logs are below and credentials are changed.
> >
> >
> >
> >
> >
> > root at user:~# mmcli -m 0 --create-bearer 'apn=test.test.com,ip-type=ipv4,allowed-auth=pap,user=myUser,password=myPassword'
> >
> > root at user:~# mmcli -m0 -c -b
> >
> >
> >
> > ModemManager[1247]: <debug> [1615802609.468714] [modem0/bearer5] user request to connect
> >
> > ModemManager[1247]: <debug> [1615802609.479032] [modem0/bearer5] connecting...
> >
> > ModemManager[1247]: <info> [1615802609.483994] [modem0] state changed (registered -> connecting)
> >
> > ModemManager[1247]: <debug> [1615802609.515150] [modem0/bearer5] launching connection with data port (net/wwan0)
> >
> > ModemManager[1247]: <debug> [1615802609.519567] [modem0/bearer5] activating packet service...
> >
> > ModemManager[1247]: [/dev/cdc-wdm0] Sent message...
> >
> > <<<<<< RAW:
> >
> > <<<<<< length = 52
> >
> > <<<<<< data = 03:00:00:00:34:00:00:00:3C:00:00:00:01:00:00:00:00:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:0A:00:00:00:01:00:00:00:04:00:00:00:00:00:00:00
> >
> > ModemManager[1247]: [/dev/cdc-wdm0] Sent message (translated)...
> >
> > <<<<<< Header:
> >
> > <<<<<< length = 52
> >
> > <<<<<< type = command (0x00000003)
> >
> > <<<<<< transaction = 60
> >
> > <<<<<< Fragment header:
> >
> > <<<<<< total = 1
> >
> > <<<<<< current = 0
> >
> > <<<<<< Contents:
> >
> > <<<<<< service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
> >
> > <<<<<< cid = 'packet-service' (0x0000000a)
> >
> > <<<<<< type = 'set' (0x00000001)
> >
> > <<<<<< Fields:
> >
> > <<<<<< PacketServiceAction = 'attach'
> >
> > ModemManager[1247]: [/dev/cdc-wdm0] Received message...
> >
> > >>>>>> RAW:
> >
> > >>>>>> length = 76
> >
> > >>>>>> data = 03:00:00:80:4C:00:00:00:3C:00:00:00:01:00:00:00:00:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:0A:00:00:00:00:00:00:00:1C:00:00:00:00:00:00:00:02:00:00:00:02:00:00:00:C0:B5:02:00:00:00:00:00:40:84:04:00:00:00:00:00
> >
> > ModemManager[1247]: [/dev/cdc-wdm0] Received message (translated)...
> >
> > >>>>>> Header:
> >
> > >>>>>> length = 76
> >
> > >>>>>> type = command-done (0x80000003)
> >
> > >>>>>> transaction = 60
> >
> > >>>>>> Fragment header:
> >
> > >>>>>> total = 1
> >
> > >>>>>> current = 0
> >
> > >>>>>> Contents:
> >
> > >>>>>> status error = 'None' (0x00000000)
> >
> > >>>>>> service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
> >
> > >>>>>> cid = 'packet-service' (0x0000000a)
> >
> > >>>>>> Fields:
> >
> > >>>>>> NwError = '0'
> >
> > >>>>>> PacketServiceState = 'attached'
> >
> > >>>>>> HighestAvailableDataClass = 'edge'
> >
> > >>>>>> UplinkSpeed = '177600'
> >
> > >>>>>> DownlinkSpeed = '296000'
> >
> > ModemManager[1247]: <debug> [1615802609.574138] [modem0/bearer5] packet service update:
> >
> > ModemManager[1247]: <debug> [1615802609.576761] [modem0/bearer5] state: 'attached'
> >
> > ModemManager[1247]: <debug> [1615802609.578055] [modem0/bearer5] data class: 'edge'
> >
> > ModemManager[1247]: <debug> [1615802609.583351] [modem0/bearer5] uplink: '177600' bps
> >
> > ModemManager[1247]: <debug> [1615802609.586522] [modem0/bearer5] downlink: '296000' bps
> >
> > ModemManager[1247]: <debug> [1615802609.588096] [modem0/bearer5] listing provisioned contexts...
> >
> > ModemManager[1247]: [/dev/cdc-wdm0] Sent message...
> >
> > <<<<<< RAW:
> >
> > <<<<<< length = 48
> >
> > <<<<<< data = 03:00:00:00:30:00:00:00:3D:00:00:00:01:00:00:00:00:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:0D:00:00:00:00:00:00:00:00:00:00:00
> >
> > ModemManager[1247]: [/dev/cdc-wdm0] Sent message (translated)...
> >
> > <<<<<< Header:
> >
> > <<<<<< length = 48
> >
> > <<<<<< type = command (0x00000003)
> >
> > <<<<<< transaction = 61
> >
> > <<<<<< Fragment header:
> >
> > <<<<<< total = 1
> >
> > <<<<<< current = 0
> >
> > <<<<<< Contents:
> >
> > <<<<<< service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
> >
> > <<<<<< cid = 'provisioned-contexts' (0x0000000d)
> >
> > <<<<<< type = 'query' (0x00000000)
> >
> > ModemManager[1247]: [/dev/cdc-wdm0] Received message...
> >
> > >>>>>> RAW:
> >
> > >>>>>> length = 52
> >
> > >>>>>> data = 03:00:00:80:34:00:00:00:3D:00:00:00:01:00:00:00:00:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:0D:00:00:00:00:00:00:00:04:00:00:00:00:00:00:00
> >
> > ModemManager[1247]: [/dev/cdc-wdm0] Received message (translated)...
> >
> > >>>>>> Header:
> >
> > >>>>>> length = 52
> >
> > >>>>>> type = command-done (0x80000003)
> >
> > >>>>>> transaction = 61
> >
> > >>>>>> Fragment header:
> >
> > >>>>>> total = 1
> >
> > >>>>>> current = 0
> >
> > >>>>>> Contents:
> >
> > >>>>>> status error = 'None' (0x00000000)
> >
> > >>>>>> service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
> >
> > >>>>>> cid = 'provisioned-contexts' (0x0000000d)
> >
> > >>>>>> Fields:
> >
> > >>>>>> ProvisionedContextsCount = '0'
> >
> > >>>>>> ProvisionedContexts = '{
> >
> > >>>>>> }'
> >
> > ModemManager[1247]: <debug> [1615802609.614274] [modem0/bearer5] provisioned contexts found (0):
> >
> > ModemManager[1247]: [/dev/cdc-wdm0] Sent message...
> >
> > <<<<<< RAW:
> >
> > <<<<<< length = 84
> >
> > <<<<<< data = 03:00:00:00:54:00:00:00:3E:00:00:00:01:00:00:00:00:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:0C:00:00:00:00:00:00:00:24:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:7E:5E:2A:7E:4E:6F:72:72:73:6B:65:6E:7E:5E:2A:7E:00:00:00:00
> >
> > ModemManager[1247]: [/dev/cdc-wdm0] Sent message (translated)...
> >
> > <<<<<< Header:
> >
> > <<<<<< length = 84
> >
> > <<<<<< type = command (0x00000003)
> >
> > <<<<<< transaction = 62
> >
> > <<<<<< Fragment header:
> >
> > <<<<<< total = 1
> >
> > <<<<<< current = 0
> >
> > <<<<<< Contents:
> >
> > <<<<<< service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
> >
> > <<<<<< cid = 'connect' (0x0000000c)
> >
> > <<<<<< type = 'query' (0x00000000)
> >
> > <<<<<< Fields:
> >
> > <<<<<< SessionId = '0'
> >
> > <<<<<< ActivationState = 'unknown'
> >
> > <<<<<< VoiceCallState = 'none'
> >
> > <<<<<< IpType = 'default'
> >
> > <<<<<< ContextType = '7e5e2a7e-4e6f-7272-736b-656e7e5e2a7e'
> >
> > <<<<<< NwError = '0'
> >
> > ModemManager[1247]: [/dev/cdc-wdm0] Received message...
> >
> > >>>>>> RAW:
> >
> > >>>>>> length = 84
> >
> > >>>>>> data = 03:00:00:80:54:00:00:00:3E:00:00:00:01:00:00:00:00:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:0C:00:00:00:00:00:00:00:24:00:00:00:00:00:00:00:03:00:00:00:00:00:00:00:00:00:00:00:B4:3F:75:8C:A5:60:4B:46:B3:5E:C5:86:96:41:FB:54:00:00:00:00
> >
> > ModemManager[1247]: [/dev/cdc-wdm0] Received message (translated)...
> >
> > >>>>>> Header:
> >
> > >>>>>> length = 84
> >
> > >>>>>> type = command-done (0x80000003)
> >
> > >>>>>> transaction = 62
> >
> > >>>>>> Fragment header:
> >
> > >>>>>> total = 1
> >
> > >>>>>> current = 0
> >
> > >>>>>> Contents:
> >
> > >>>>>> status error = 'None' (0x00000000)
> >
> > >>>>>> service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
> >
> > >>>>>> cid = 'connect' (0x0000000c)
> >
> > >>>>>> Fields:
> >
> > >>>>>> SessionId = '0'
> >
> > >>>>>> ActivationState = 'deactivated'
> >
> > >>>>>> VoiceCallState = 'none'
> >
> > >>>>>> IpType = 'default'
> >
> > >>>>>> ContextType = 'b43f758c-a560-4b46-b35e-c5869641fb54'
> >
> > >>>>>> NwError = '0'
> >
> > ModemManager[1247]: <debug> [1615802609.649846] [modem0/bearer5] session ID '0': deactivated
> >
> > ModemManager[1247]: <debug> [1615802609.651405] [modem0/bearer5] launching ipv4 connection with APN 'test.test.com'...
> >
> > ModemManager[1247]: [/dev/cdc-wdm0] Sent message...
> >
> > <<<<<< RAW:
> >
> > <<<<<< length = 192
> >
> > <<<<<< data = 03:00:00:00:C0:00:00:00:3F:00:00:00:01:00:00:00:00:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:0C:00:00:00:01:00:00:00:90:00:00:00:00:00:00:00:01:00:00:00:3C:00:00:00:28:00:00:00:64:00:00:00:16:00:00:00:7C:00:00:00:14:00:00:00:00:00:00:00:01:00:00:00:01:00:00:00:7E:5E:2A:7E:4E:6F:72:72:73:6B:65:6E:7E:5E:2A:7E:67:00:64:00:73:00:70:00:76:00:70:00:6E:00:2E:00:67:00:6F:00:65:00:72:00:6C:00:69:00:74:00:7A:00:2E:00:63:00:6F:00:6D:00:4C:00:6F:00:32:00:30:00:32:00:31:00:52:00:61:00:30:00:30:00:33:00:00:00:4C:00:6F:00:23:00:52:00:61:00:32:00:31:00:30:00:30:00:33:00
> >
> > ModemManager[1247]: [/dev/cdc-wdm0] Sent message (translated)...
> >
> > <<<<<< Header:
> >
> > <<<<<< length = 192
> >
> > <<<<<< type = command (0x00000003)
> >
> > <<<<<< transaction = 63
> >
> > <<<<<< Fragment header:
> >
> > <<<<<< total = 1
> >
> > <<<<<< current = 0
> >
> > <<<<<< Contents:
> >
> > <<<<<< service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
> >
> > <<<<<< cid = 'connect' (0x0000000c)
> >
> > <<<<<< type = 'set' (0x00000001)
> >
> > <<<<<< Fields:
> >
> > <<<<<< SessionId = '0'
> >
> > <<<<<< ActivationCommand = 'activate'
> >
> > <<<<<< AccessString = 'test.test.com'
> >
> > <<<<<< UserName = 'myUser'
> >
> > <<<<<< Password = 'myPassword'
> >
> > <<<<<< Compression = 'none'
> >
> > <<<<<< AuthProtocol = 'pap'
> >
> > <<<<<< IpType = 'ipv4'
> >
> > <<<<<< ContextType = '7e5e2a7e-4e6f-7272-736b-656e7e5e2a7e'
> >
> > ModemManager[1247]: [/dev/cdc-wdm0] Received message...
> >
> > >>>>>> RAW:
> >
> > >>>>>> length = 84
> >
> > >>>>>> data = 03:00:00:80:54:00:00:00:3F:00:00:00:01:00:00:00:00:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:0C:00:00:00:00:00:00:00:24:00:00:00:00:00:00:00:01:00:00:00:00:00:00:00:01:00:00:00:7E:5E:2A:7E:4E:6F:72:72:73:6B:65:6E:7E:5E:2A:7E:00:00:00:00
> >
> > ModemManager[1247]: [/dev/cdc-wdm0] Received message (translated)...
> >
> > >>>>>> Header:
> >
> > >>>>>> length = 84
> >
> > >>>>>> type = command-done (0x80000003)
> >
> > >>>>>> transaction = 63
> >
> > >>>>>> Fragment header:
> >
> > >>>>>> total = 1
> >
> > >>>>>> current = 0
> >
> > >>>>>> Contents:
> >
> > >>>>>> status error = 'None' (0x00000000)
> >
> > >>>>>> service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
> >
> > >>>>>> cid = 'connect' (0x0000000c)
> >
> > >>>>>> Fields:
> >
> > >>>>>> SessionId = '0'
> >
> > >>>>>> ActivationState = 'activated'
> >
> > >>>>>> VoiceCallState = 'none'
> >
> > >>>>>> IpType = 'ipv4'
> >
> > >>>>>> ContextType = '7e5e2a7e-4e6f-7272-736b-656e7e5e2a7e'
> >
> > >>>>>> NwError = '0'
> >
> > ModemManager[1247]: <debug> [1615802610.516395] [modem0/bearer5] session ID '0': activated (requested IP type: ipv4, activated IP type: ipv4, nw error: none)
> >
> > ModemManager[1247]: <debug> [1615802610.516844] [modem0/bearer5] querying IP configuration...
> >
> > ModemManager[1247]: [/dev/cdc-wdm0] Sent message...
> >
> > <<<<<< RAW:
> >
> > <<<<<< length = 108
> >
> > <<<<<< data = 03:00:00:00:6C:00:00:00:40:00:00:00:01:00:00:00:00:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:0F:00:00:00:00:00:00:00:3C:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00
> >
> > ModemManager[1247]: [/dev/cdc-wdm0] Sent message (translated)...
> >
> > <<<<<< Header:
> >
> > <<<<<< length = 108
> >
> > <<<<<< type = command (0x00000003)
> >
> > <<<<<< transaction = 64
> >
> > <<<<<< Fragment header:
> >
> > <<<<<< total = 1
> >
> > <<<<<< current = 0
> >
> > <<<<<< Contents:
> >
> > <<<<<< service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
> >
> > <<<<<< cid = 'ip-configuration' (0x0000000f)
> >
> > <<<<<< type = 'query' (0x00000000)
> >
> > <<<<<< Fields:
> >
> > <<<<<< SessionId = '0'
> >
> > <<<<<< IPv4ConfigurationAvailable = 'none'
> >
> > <<<<<< IPv6ConfigurationAvailable = 'none'
> >
> > <<<<<< IPv4AddressCount = '0'
> >
> > <<<<<< IPv4Address = '{
> >
> > <<<<<< }'
> >
> > <<<<<< IPv6AddressCount = '0'
> >
> > <<<<<< IPv6Address = '{
> >
> > <<<<<< }'
> >
> > <<<<<< IPv4Gateway = ''
> >
> > <<<<<< IPv6Gateway = ''
> >
> > <<<<<< IPv4DnsServerCount = '0'
> >
> > <<<<<< IPv4DnsServer = ''
> >
> > <<<<<< IPv6DnsServerCount = '0'
> >
> > <<<<<< IPv6DnsServer = ''
> >
> > <<<<<< IPv4Mtu = '0'
> >
> > <<<<<< IPv6Mtu = '0'
> >
> > ModemManager[1247]: [/dev/cdc-wdm0] Received message...
> >
> > >>>>>> RAW:
> >
> > >>>>>> length = 108
> >
> > >>>>>> data = 03:00:00:80:6C:00:00:00:40:00:00:00:01:00:00:00:00:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:0F:00:00:00:00:00:00:00:3C:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00
> >
> > ModemManager[1247]: [/dev/cdc-wdm0] Received message (translated)...
> >
> > >>>>>> Header:
> >
> > >>>>>> length = 108
> >
> > >>>>>> type = command-done (0x80000003)
> >
> > >>>>>> transaction = 64
> >
> > >>>>>> Fragment header:
> >
> > >>>>>> total = 1
> >
> > >>>>>> current = 0
> >
> > >>>>>> Contents:
> >
> > >>>>>> status error = 'None' (0x00000000)
> >
> > >>>>>> service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
> >
> > >>>>>> cid = 'ip-configuration' (0x0000000f)
> >
> > >>>>>> Fields:
> >
> > >>>>>> SessionId = '0'
> >
> > >>>>>> IPv4ConfigurationAvailable = 'none'
> >
> > >>>>>> IPv6ConfigurationAvailable = 'none'
> >
> > >>>>>> IPv4AddressCount = '0'
> >
> > >>>>>> IPv4Address = '{
> >
> > >>>>>> }'
> >
> > >>>>>> IPv6AddressCount = '0'
> >
> > >>>>>> IPv6Address = '{
> >
> > >>>>>> }'
> >
> > >>>>>> IPv4Gateway = ''
> >
> > >>>>>> IPv6Gateway = ''
> >
> > >>>>>> IPv4DnsServerCount = '0'
> >
> > >>>>>> IPv4DnsServer = ''
> >
> > >>>>>> IPv6DnsServerCount = '0'
> >
> > >>>>>> IPv6DnsServer = ''
> >
> > >>>>>> IPv4Mtu = '0'
> >
> > >>>>>> IPv6Mtu = '0'
> >
> > ModemManager[1247]: <debug> [1615802610.563771] [modem0/bearer5] IPv4 configuration available: 'none'
> >
> > ModemManager[1247]: <debug> [1615802610.565155] [modem0/bearer5] IPv6 configuration available: 'none'
> >
> > ModemManager[1247]: <debug> [1615802610.567114] [modem0/wwan0/net] port now connected
> >
> > ModemManager[1247]: <debug> [1615802610.568892] [modem0/bearer5] connected
> >
> > ModemManager[1247]: <info> [1615802610.572750] [modem0] state changed (connecting -> connected)
> >
> > ModemManager[1247]: [/dev/cdc-wdm0] Sent message...
> >
> > <<<<<< RAW:
> >
> > <<<<<< length = 48
> >
> > <<<<<< data = 03:00:00:00:30:00:00:00:41:00:00:00:01:00:00:00:00:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:14:00:00:00:00:00:00:00:00:00:00:00
> >
> > ModemManager[1247]: [/dev/cdc-wdm0] Sent message (translated)...
> >
> > <<<<<< Header:
> >
> > <<<<<< length = 48
> >
> > <<<<<< type = command (0x00000003)
> >
> > <<<<<< transaction = 65
> >
> > <<<<<< Fragment header:
> >
> > <<<<<< total = 1
> >
> > <<<<<< current = 0
> >
> > <<<<<< Contents:
> >
> > <<<<<< service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
> >
> > <<<<<< cid = 'packet-statistics' (0x00000014)
> >
> > <<<<<< type = 'query' (0x00000000)
> >
> > ModemManager[1247]: [/dev/cdc-wdm0] Received message...
> >
> > >>>>>> RAW:
> >
> > >>>>>> length = 48
> >
> > >>>>>> data = 03:00:00:80:30:00:00:00:41:00:00:00:01:00:00:00:00:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:14:00:00:00:1C:00:00:00:00:00:00:00
> >
> > ModemManager[1247]: [/dev/cdc-wdm0] Received message (translated)...
> >
> > >>>>>> Header:
> >
> > >>>>>> length = 48
> >
> > >>>>>> type = command-done (0x80000003)
> >
> > >>>>>> transaction = 65
> >
> > >>>>>> Fragment header:
> >
> > >>>>>> total = 1
> >
> > >>>>>> current = 0
> >
> > >>>>>> Contents:
> >
> > >>>>>> status error = 'OperationNotAllowed' (0x0000001c)
> >
> > >>>>>> service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
> >
> > >>>>>> cid = 'packet-statistics' (0x00000014)
> >
> > ModemManager[1247]: <debug> [1615802610.641941] [modem0/bearer5] reloading stats is unsupported by the device
> >
> >
> >
> > ModemManager[1247]: [/dev/cdc-wdm0] Sent message...
> >
> > <<<<<< RAW:
> >
> > <<<<<< length = 48
> >
> > <<<<<< data = 03:00:00:00:30:00:00:00:42:00:00:00:01:00:00:00:00:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:0B:00:00:00:00:00:00:00:00:00:00:00
> >
> > ModemManager[1247]: [/dev/cdc-wdm0] Sent message (translated)...
> >
> > <<<<<< Header:
> >
> > <<<<<< length = 48
> >
> > <<<<<< type = command (0x00000003)
> >
> > <<<<<< transaction = 66
> >
> > <<<<<< Fragment header:
> >
> > <<<<<< total = 1
> >
> > <<<<<< current = 0
> >
> > <<<<<< Contents:
> >
> > <<<<<< service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
> >
> > <<<<<< cid = 'signal-state' (0x0000000b)
> >
> > <<<<<< type = 'query' (0x00000000)
> >
> > ModemManager[1247]: [/dev/cdc-wdm0] Received message...
> >
> > >>>>>> RAW:
> >
> > >>>>>> length = 68
> >
> > >>>>>> data = 03:00:00:80:44:00:00:00:42:00:00:00:01:00:00:00:00:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:0B:00:00:00:00:00:00:00:14:00:00:00:1C:00:00:00:63:00:00:00:3C:00:00:00:02:00:00:00:FF:FF:00:00
> >
> > ModemManager[1247]: [/dev/cdc-wdm0] Received message (translated)...
> >
> > >>>>>> Header:
> >
> > >>>>>> length = 68
> >
> > >>>>>> type = command-done (0x80000003)
> >
> > >>>>>> transaction = 66
> >
> > >>>>>> Fragment header:
> >
> > >>>>>> total = 1
> >
> > >>>>>> current = 0
> >
> > >>>>>> Contents:
> >
> > >>>>>> status error = 'None' (0x00000000)
> >
> > >>>>>> service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
> >
> > >>>>>> cid = 'signal-state' (0x0000000b)
> >
> > >>>>>> Fields:
> >
> > >>>>>> Rssi = '28'
> >
> > >>>>>> ErrorRate = '99'
> >
> > >>>>>> SignalStrengthInterval = '60'
> >
> > >>>>>> RssiThreshold = '2'
> >
> > >>>>>> ErrorRateThreshold = '65535'
> >
> > ModemManager[1247]: <debug> [1615802631.339117] [modem0] signal quality updated (90)
> >
> > ModemManager[1247]: <debug> [1615802631.343177] [modem0] periodic signal quality and access technology checks scheduled
> >
> > ModemManager[1247]: [/dev/cdc-wdm0] Received message...
> >
> > >>>>>> RAW:
> >
> > >>>>>> length = 64
> >
> > >>>>>> data = 07:00:00:80:40:00:00:00:00:00:00:00:01:00:00:00:00:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:0B:00:00:00:14:00:00:00:1C:00:00:00:63:00:00:00:3C:00:00:00:02:00:00:00:FF:FF:00:00
> >
> > ModemManager[1247]: [/dev/cdc-wdm0] Received message (translated)...
> >
> > >>>>>> Header:
> >
> > >>>>>> length = 64
> >
> > >>>>>> type = indicate-status (0x80000007)
> >
> > >>>>>> transaction = 0
> >
> > >>>>>> Fragment header:
> >
> > >>>>>> total = 1
> >
> > >>>>>> current = 0
> >
> > >>>>>> Contents:
> >
> > >>>>>> service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
> >
> > >>>>>> cid = 'signal-state' (0x0000000b)
> >
> > >>>>>> Fields:
> >
> > >>>>>> Rssi = '28'
> >
> > >>>>>> ErrorRate = '99'
> >
> > >>>>>> SignalStrengthInterval = '60'
> >
> > >>>>>> RssiThreshold = '2'
> >
> > >>>>>> ErrorRateThreshold = '65535'
> >
> > ModemManager[1247]: <debug> [1615802660.075554] [modem0] received notification (service 'basic-connect', command 'signal-state')
> >
> > ModemManager[1247]: <debug> [1615802660.075886] [modem0] signal state indication: 28 --> 90%
> >
> > ModemManager[1247]: <debug> [1615802660.082037] [modem0] signal quality updated (90)
> >
> > ModemManager[1247]: [/dev/cdc-wdm0] Sent message...
> >
> > <<<<<< RAW:
> >
> > <<<<<< length = 48
> >
> > <<<<<< data = 03:00:00:00:30:00:00:00:43:00:00:00:01:00:00:00:00:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:0B:00:00:00:00:00:00:00:00:00:00:00
> >
> > ModemManager[1247]: [/dev/cdc-wdm0] Sent message (translated)...
> >
> > <<<<<< Header:
> >
> > <<<<<< length = 48
> >
> > <<<<<< type = command (0x00000003)
> >
> > <<<<<< transaction = 67
> >
> > <<<<<< Fragment header:
> >
> > <<<<<< total = 1
> >
> > <<<<<< current = 0
> >
> > <<<<<< Contents:
> >
> > <<<<<< service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
> >
> > <<<<<< cid = 'signal-state' (0x0000000b)
> >
> > <<<<<< type = 'query' (0x00000000)
> >
> > ModemManager[1247]: [/dev/cdc-wdm0] Received message...
> >
> > >>>>>> RAW:
> >
> > >>>>>> length = 68
> >
> > >>>>>> data = 03:00:00:80:44:00:00:00:43:00:00:00:01:00:00:00:00:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:0B:00:00:00:00:00:00:00:14:00:00:00:1C:00:00:00:63:00:00:00:3C:00:00:00:02:00:00:00:FF:FF:00:00
> >
> > ModemManager[1247]: [/dev/cdc-wdm0] Received message (translated)...
> >
> > >>>>>> Header:
> >
> > >>>>>> length = 68
> >
> > >>>>>> type = command-done (0x80000003)
> >
> > >>>>>> transaction = 67
> >
> > >>>>>> Fragment header:
> >
> > >>>>>> total = 1
> >
> > >>>>>> current = 0
> >
> > >>>>>> Contents:
> >
> > >>>>>> status error = 'None' (0x00000000)
> >
> > >>>>>> service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
> >
> > >>>>>> cid = 'signal-state' (0x0000000b)
> >
> > >>>>>> Fields:
> >
> > >>>>>> Rssi = '28'
> >
> > >>>>>> ErrorRate = '99'
> >
> > >>>>>> SignalStrengthInterval = '60'
> >
> > >>>>>> RssiThreshold = '2'
> >
> > >>>>>> ErrorRateThreshold = '65535'
> >
> > ModemManager[1247]: <debug> [1615802661.316879] [modem0] signal quality updated (90)
> >
> > ModemManager[1247]: <debug> [1615802661.322018] [modem0] periodic signal quality and access technology checks scheduled
> >
> > ModemManager[1247]: <debug> [1615802676.715219] [modem0] user request to connect modem
> >
> > ModemManager[1247]: <info> [1615802676.716254] [modem0] simple connect started...
> >
> > ModemManager[1247]: <debug> [1615802676.725831] [modem0] PIN: unspecified
> >
> > ModemManager[1247]: <debug> [1615802676.726330] [modem0] operator ID: unspecified
> >
> > ModemManager[1247]: <debug> [1615802676.728606] [modem0] allowed roaming: yes
> >
> > ModemManager[1247]: <debug> [1615802676.734015] [modem0] APN: test.test.com
> >
> > ModemManager[1247]: <debug> [1615802676.735092] [modem0] IP family: ipv4v6
> >
> > ModemManager[1247]: <debug> [1615802676.736967] [modem0] allowed authentication: unspecified
> >
> > ModemManager[1247]: <debug> [1615802676.738976] [modem0] User: myUser
> >
> > ModemManager[1247]: <debug> [1615802676.741380] [modem0] Password: myPassword
> >
> > ModemManager[1247]: <info> [1615802676.745879] [modem0] simple connect state (4/8): wait to get fully enabled
> >
> > ModemManager[1247]: <info> [1615802676.749119] [modem0] simple connect state (5/8): register
> >
> > ModemManager[1247]: <debug> [1615802676.751891] [modem0] already registered automatically in network '26202', automatic registration not launched...
> >
> > ModemManager[1247]: <info> [1615802676.757573] [modem0] simple connect state (6/8): bearer
> >
> > ModemManager[1247]: <debug> [1615802676.760097] [modem0] creating new bearer...
> >
> > ModemManager[1247]: <debug> [1615802676.762128] [modem0] creating MBIM bearer in MBIM modem
> >
> > ModemManager[1247]: <info> [1615802676.788022] [modem0] simple connect state (7/8): connect
> >
> > ModemManager[1247]: <debug> [1615802676.793913] [modem0/bearer6] connecting...
> >
> > ModemManager[1247]: <warn> [1615802676.813100] [modem0/bearer6] connection attempt #1 failed: No valid data port found to launch connection
> >
> > ModemManager[1247]: <info> [1615802676.819258] [modem0/bearer6] connection #1 finished: duration 0s, tx: 0 bytes, rx :0 bytes
> >
> > ModemManager[1247]: <debug> [1615802676.822628] [modem0] couldn't connect bearer: No valid data port found to launch connection
> >
> > ModemManager[1247]: <debug> [1615802676.862890] [modem0] user request to connect modem
> >
> > ModemManager[1247]: <info> [1615802676.869901] [modem0] simple connect started...
> >
> > ModemManager[1247]: <debug> [1615802676.874071] [modem0] PIN: unspecified
> >
> > ModemManager[1247]: <debug> [1615802676.877294] [modem0] operator ID: unspecified
> >
> > ModemManager[1247]: <debug> [1615802676.883406] [modem0] allowed roaming: yes
> >
> > ModemManager[1247]: <debug> [1615802676.886020] [modem0] APN: test.test.com
> >
> > ModemManager[1247]: <debug> [1615802676.888899] [modem0] IP family: ipv4
> >
> > ModemManager[1247]: <debug> [1615802676.891965] [modem0] allowed authentication: unspecified
> >
> > ModemManager[1247]: <debug> [1615802676.894210] [modem0] User: myUser
> >
> > ModemManager[1247]: <debug> [1615802676.896786] [modem0] Password: myPassword
> >
> > ModemManager[1247]: <info> [1615802676.897261] [modem0] simple connect state (4/8): wait to get fully enabled
> >
> > ModemManager[1247]: <info> [1615802676.902246] [modem0] simple connect state (5/8): register
> >
> > ModemManager[1247]: <debug> [1615802676.906143] [modem0] already registered automatically in network '26202', automatic registration not launched...
> >
> > ModemManager[1247]: <info> [1615802676.911101] [modem0] simple connect state (6/8): bearer
> >
> > ModemManager[1247]: <debug> [1615802676.912594] [modem0] Using already existing bearer at '/org/freedesktop/ModemManager1/Bearer/5'...
> >
> > ModemManager[1247]: <info> [1615802676.915045] [modem0] simple connect state (7/8): connect
> >
> > ModemManager[1247]: <debug> [1615802676.917646] [modem0] bearer at '/org/freedesktop/ModemManager1/Bearer/5' is already connected...
> >
> > ModemManager[1247]: <info> [1615802676.922573] [modem0] simple connect state (8/8): all done
> >
> > ModemManager[1247]: [/dev/cdc-wdm0] Sent message...
> >
> >
> >
> >
> >
> >
> >
> > root at user:~# mmcli -m 0
> >
> > --------------------------------
> >
> > General | path: /org/freedesktop/ModemManager1/Modem/0
> >
> > | device id: 199154bc43b7da5718047b9e12b22346c2a4da3b
> >
> > --------------------------------
> >
> > Hardware | manufacturer: Telit
> >
> > | model: FIH7160
> >
> > | firmware revision: 20.00.413
> >
> > | h/w revision: XMM7160_V1.2_HWID790_MBIM_NAND
> >
> > | supported: gsm-umts, lte
> >
> > | current: gsm-umts, lte
> >
> > | equipment id: 356611071920197
> >
> > --------------------------------
> >
> > System | device: /sys/devices/soc0/soc/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1/1-1.2
> >
> > | drivers: cdc_acm, cdc_mbim
> >
> > | plugin: telit
> >
> > | primary port: cdc-wdm0
> >
> > | ports: cdc-wdm0 (mbim), ttyACM0 (at), ttyACM1 (ignored),
> >
> > | ttyACM2 (ignored), ttyACM3 (at), ttyACM4 (ignored), ttyACM5 (ignored),
> >
> > | wwan0 (net)
> >
> > --------------------------------
> >
> > Status | unlock retries: sim-pin2 (3)
> >
> > | state: registered
> >
> > | power state: on
> >
> > | access tech: edge
> >
> > | signal quality: 93% (recent)
> >
> > --------------------------------
> >
> > Modes | supported: allowed: 2g; preferred: none
> >
> > | allowed: 4g; preferred: none
> >
> > | allowed: 2g, 4g; preferred: none
> >
> > | current: allowed: 2g, 4g; preferred: none
> >
> > --------------------------------
> >
> > Bands | supported: egsm, dcs, eutran-1, eutran-3, eutran-7, eutran-8, eutran-20
> >
> > | current: egsm, dcs, eutran-1
> >
> > --------------------------------
> >
> > IP | supported: ipv4, ipv6, ipv4v6
> >
> > --------------------------------
> >
> > 3GPP | imei: 356611071920197
> >
> > | enabled locks: fixed-dialing
> >
> > | operator id: 26202
> >
> > | operator name: Vodafone.de
> >
> > | registration: roaming
> >
> > --------------------------------
> >
> > 3GPP EPS | ue mode of operation: csps-1
> >
> > --------------------------------
> >
> > SIM | primary sim path: /org/freedesktop/ModemManager1/SIM/0
> >
> > --------------------------------
> >
> > Bearer | paths: /org/freedesktop/ModemManager1/Bearer/6
> >
> > | /org/freedesktop/ModemManager1/Bearer/5
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > I am a little at a loss because the authentication method is not specified and i do not get the IP-Address.
> >
> >
> >
> > Thanks in advance
> >
> >
> >
> > Tobias
> >
> >
> >
> >
> >
> > --
> >
> > Tobias Becker
> > Firmware Metering
> > Forschung & Entwicklung
> >
> > VIVAVIS AG | August-Thyssen-Str. 32 | 56070 Koblenz | Deutschland
> >
> >
> > T +49 261 9285 355
> > E Tobias.Becker at Vivavis.com | www.vivavis.com
> >
> > Vorstand | Executive Board: Prof. Dr. Clemens van Dinther (Vorsitzender), Harald Herrmann, Michael Schambach
> > Vorsitzender des Aufsichtsrates | Chairman of the supervisory board: Frank Düpre
> > Registergericht | Court of registration: Mannheim HRB 737454
> > Umsatzsteuer-ID | Tax-ID: DE 186497049
> > Steuer-Nr. | VAT: 31195/28312
> > WEEE-Registrierungsnr. | WEEE registration number: DE 22930508
> >
> > Unsere Datenschutzerklärung finden Sie auf unserer Homepage.
> > Our privacy policy can be found on our homepage.
> >
> > Immer up-to-date mit unserem Newsletter! Hier geht´s zur Anmeldung.
> > Always up-to-date with our newsletter! Click here to register.
> >
> >
> >
> >
> > Bevor Sie diese E-Mail ausdrucken, überlegen Sie bitte, ob dies wirklich erforderlich ist.
> > Please consider the environment before printing.
> >
> > _______________________________________________
> > ModemManager-devel mailing list
> > ModemManager-devel at lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel
More information about the ModemManager-devel
mailing list