APN Authentication: allowed-auth=pap|chap

Amol Lad Amol.Lad at 4rf.com
Wed Jun 29 05:48:43 UTC 2022


Hi,

An APN support "PAP" authentication with a username and password. In mmcli -simple-connect, we can specify "allowed-auth", key/value pair. I'm finding that if "allowed-auth=pap" then APN connects OK but if "allowed-auth=pap|chap", following error is returned:

info 2022-06-29T03:51:34+00:00 : <info>  [modem0] state changed (registered -> connecting)
warning 2022-06-29T03:51:36+00:00 : <warn>  [modem0/bearer1] connection attempt #1 failed: InvalidUserNamePwd

Please advise if "allowed-auth=pap|chap" is supposed to work or passing multiple authentication type has some other significance? I am under the impression that if APN supports PAP then allowed-auth=pap|chap should also work

Amol

-------------- next part --------------
Hi,

An APN support "PAP" authentication with a username and password. In mmcli -simple-connect, we can specify "allowed-auth", key/value pair. I'm finding that if "allowed-auth=pap" then APN connects OK but if "allowed-auth=pap|chap", following error is returned:

info 2022-06-29T03:51:34+00:00 : <info>  [modem0] state changed (registered -> connecting)
warning 2022-06-29T03:51:36+00:00 : <warn>  [modem0/bearer1] connection attempt #1 failed: InvalidUserNamePwd

Please advise if "allowed-auth=pap|chap" is supposed to work or passing multiple authentication type has some other significance? I am under the impression that if APN supports PAP then allowed-auth=pap|chap should also work

Amol



More information about the ModemManager-devel mailing list