Define a CHAP access profile—for example, usb-modem-access-profile with a client (username) named usb-modem-user and the secret
(password) my-secret.
|
- In the J-Web interface, select Configuration>View
and Edit>Edit Configuration.
- Next to Access, click Configure or Edit.
- Next to Profile, click Add new
entry.
- In the Profile name box, type usb-modem-access-profile.
- Next to Client, click Add new entry.
- In the Name box, type usb-modem-user.
- In the Chap secret box, type my-secret.
- Click OK.
- Repeat Steps 5 through 8 for each client to be
included in the CHAP profile.
- Click OK until you return
to the Configuration page.
|
- From the [edit] hierarchy level, enter
edit access
- Enter
set profile usb-modem-access-profile client usb-modem-user
chap-secret my-secret
- Repeat Step 2 for each client to be included in
the CHAP profile.
|
Navigate to the appropriate dialer interface level in the configuration
hierarchy—for example, dl0 unit 0.
|
- On the Configuration page next to Interfaces,
click Edit.
- In the Interface name column, click dl0.
- Under Unit, in the Interface unit number column,
click 0.
|
From the [edit] hierarchy level, enter
edit interfaces dl0 unit 0
|
Configure CHAP on the dialer interface and specify a unique
profile name containing a client list and access parameters—for
example, usb-modem-access-profile.
Note:
Do not configure the passive option from the [edit
interfaces dl0 unit 0 ppp-options chap] hierarchy level.
|
- Next to Ppp options, click Configure.
- Next to Chap, click Configure.
- In the Access profile box, type usb-modem-access-profile.
- Click OK.
|
Enter
set ppp-options chap access-profile usb-modem-access-profile
|