In the gemalto plugin (static void gemalto_post_sim(struct ofono_modem
*modem)) or maybe something sooner in startup phase I would like to
implement AT^SGAUTH

> AT^SGAUTH specifies the authentication protocol, password and user
name to be
> given if a Packet Domain network requires authentication and the
subscriber
> uses AT+CGACT for PDP context activation.

Because connecting with lte to this private APN must be done with radius
authentication.
Hard coding does the trick, but what would be the correct ofono way to
execute the following:

g_at_chat_send(data->app, "AT^SGAUTH=1,2,\"xxx\",\"xxx\"",NULL, NULL,
NULL, g_free);

substituting xxx with username and password.

PS gprs context 1 has correct values for:
[context1]
Name=gprs
AccessPointName=private.apn
Username=xxx
Password=xxx
AuthenticationMethod=chap
Type=internet
Protocol=ip


Regards,
Mark

Please consider the environment before printing this email. This e-mail, and 
any files transmitted with it, is confidential and is intended solely for the 
use of the person or entity to whom it is addressed. If you have received this 
e-mail in error, please notify the sender and delete it from your records. On 
all our offers, sales and deliveries our General Terms of Delivery are 
applicable, excluding all other Terms and Conditions. Our terms have been 
deposited at the Chamber of commerce Eindhoven (The Netherlands), reference 
number 17065041, a copy of these terms is enclosed with all quotations, a 
hardcopy also can be send on your request. You can find our General Terms 
online at 
https://www.intemo.com/wp-content/uploads/2018/05/FHI-Algemene-Leveringsvoorwaarden-2014-ENGELS.pdf
 Op al onze aanbiedingen, verkopen en leveringen zijn, met uitsluiting van alle 
andere voorwaarden, onze algemene voorwaarden van toepassing. Deze zijn 
gedeponeerd bij de Kamer van Koophandel te Eindhoven ond
 er nummer 17065041. Bij iedere offerte hoe ook verzonden zijn de algemene 
voorwaarden bijgevoegd, een kopie kan op aanvraag ook per post worden 
toegezonden. U kunt onze algemene voorwaarden online inzien op 
https://www.intemo.com/wp-content/uploads/2018/05/FHI-Algemene-Leveringsvoorwaarden-2014-NEDERLANDS.pdf
_______________________________________________
ofono mailing list
[email protected]
https://lists.ofono.org/mailman/listinfo/ofono

Reply via email to