Re: nmcli connection add type gsm with PAP|CHAP ?



Thanks for advice and sorry for late reply, I executed like following and got error.
Is there something wrong? ppp.refuse-chap is valid for adding connection with type gsm?

---
$ nmcli con add con-name <name> type gsm ifname <ifname> apn <apn> user <user> password <pass> ppp.refuse-chap true
Error: Unexpected argument 'ppp.refuse-chap'
---

KJ

On Wed, Apr 19, 2017 at 10:18 PM, Dan Williams <dcbw redhat com> wrote:
On Tue, 2017-04-18 at 09:17 +0900, Kajio, Yoshinori wrote:
> Can I set PAP or CHAP with "nmcli connection add type gsm" ?
> If not, is there any way to set it?

You actually add a PPP setting to the connection, in which you can set
the "refuse-pap" or "refuse-chap" properties, which will cause pppd to
refuse those specific auth protocols. eg:

nmcli con add type gsm <other stuff> ppp.refuse-chap true

Dan


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]