Ways to call wds-start-network? (without and with profile list)

Martin Maurer martin.maurer at mmeacs.de
Mon Jun 17 08:19:19 UTC 2024


Hi,

Am 27.05.2024 um 18:50 schrieb Aleksander Morgado:
> Hey!
>
>> when I want to establish a connection. Can I just use:
>>
>> qmicli --device=/dev/cdc-wdm0 --device-open-proxy --wds-start-network="apn=internet.telekom,ip-type=4" --client-cid=$wds_cid --client-no-release-cid
>>
>>
>> Or do I need to create a 3gpp profile entry e.g. with
>>
>> qmicli --device=/dev/cdc-wdm0 --device-open-proxy --wds-create-profile=3gpp,apn=internet.telekom,pdp-type=IP,auth=NONE,username="",password=""
>>
>> -> Return e.g. "profile index 5" in my case
>>
>> and use the returned profile index number with
>>
>> qmicli --device=/dev/cdc-wdm0 --device-open-proxy --wds-start-network="3gpp-profile=5" --client-cid=$wds_cid --client-no-release-cid
>>
>> And when doing a wds-start-network in the future, I must search through profile list again to find the profile index again
>>
>> (because it could have changed or it was even be deleted and must be created again)
>>
>>
>> Shall both ways work?
>>
> They should work in the same way, yes. If you find any difference in
> behavior please let us know!


First variant only works, when certain fields (APN, PDP type) in profile 
list (default entry?) match parameter of start network.

No independance to profile list.

Otherwise connection establishment fails with "verbose call end reason 
(6,29): [3gpp] authentication-failed" or

"verbose call end reason (2,231): [internal] ip-version-mismatch".

(it is no problem of authentication mechanism NO, PAP, CHAP, or used 
username/password! When APN/PDP-Type is correct, connection works)

Same behaviour (100% reproducable) with RM520N-GL as well as SIMCOM SIM8260.


I requested two WDS values.

I wanted to do an IPv4 connection (only) via WDS number 1, and an IPv6 
connection (only) via WDS number 2.

Currently this is only a test. Later I want to use 2 different APNs, 
with PDP/IP-Types suitable for the selected APNs,

like a public APN and a non-public APN.


I wanted to avoid profile list at all with variant 1. But at least for 
now, this seems to be not possible.


Best regards,

Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libqmi-devel/attachments/20240617/3a9e57a0/attachment.htm>


More information about the libqmi-devel mailing list