Add a new "AuthMethod" property to select between "pap" and "chap" PPP
authentication, defaulting to "chap" (i.e.: previous behaviour).
Signed-off-by: Philip Paeps
---
doc/connman-api.txt|4 ++
drivers/atmodem/gprs-context.c | 14 +++
include/gprs-context.h |6 +
Make the authentication method configurable, CHAP or PAP, defaulting to
CHAP (i.e.: previous behaviour).
Implementation details:
o If PAP is configured, we NAK the CHAP authentication protocol option
in LCP configuration requests and suggest PAP instead. This works
around the amusing requ
Signed-off-by: Philip Paeps
---
include/gprs-provision.h |1 +
plugins/mbpi.c | 32
plugins/provision.c |1 +
src/gprs.c |2 ++
4 files changed, 36 insertions(+)
diff --git a/include/gprs-provision.h b/include/gprs-provi
Some operators require PAP authentication instead of the more prevalent CHAP.
This is particularly true in the case of private APNs for machine to machine
communication.
These patches add support for PAP in the PPP library and glue for configuring
and provisioning contexts to use it. The default