PAP-CHAP authentication

Hello all,

does Legato support PAP-CHAP authentication?
I only see:
LE_MDC_AUTH_NONE
LE_MDC_AUTH_PAP
LE_MDC_AUTH_AUTH.

Hi AE_1,
Do you mean your operator required PAP+CHAP together? Would you please share more info?

Because per understanding, operator normally require PDP auth as 1) none or 2) PAP or 3) CHAP, so the same is supported in Legato:
https://docs.legato.io/18_01/le__mdc__interface_8h.html#ae9758eecfab89fbc1bc01341393a7723
Also during authentication, the authentication method is communicated, either none or PAP or CHAP is used.

Maybe you can try using “cm” tool to test and verify that operator SIM?

cm data auth < none/pap/chap > < username > < password >

https://docs.legato.io/18_01/toolsTarget_cm.html#toolsTarget_cm_data

Thx

solved. Both can be comined in source code LE_MDC_AUTH_PAP | LE_MDC_AUTH_CHAP