Hi,
I am trying to do a script that loads /ppp from a file (secrets.rsc)
:log info “reload_pppoe_secrets: start”
/ppp secret
/import secrets.rsc
:log info “reload_pppoe_secrets: end”
It is not working…
Any help?
Thanks!
Hi,
I am trying to do a script that loads /ppp from a file (secrets.rsc)
:log info “reload_pppoe_secrets: start”
/ppp secret
/import secrets.rsc
:log info “reload_pppoe_secrets: end”
It is not working…
Any help?
Thanks!
It would help tremendously if we saw the contents of “secrets.rsc” (or an example of what is in there)…
Best regards,
Christian Meis
Hi,
The file contains:
/ ppp secret
add name=“user1” service=any caller-id=“” password=“user1” profile=default
routes=“” limit-bytes-in=0 limit-bytes-out=0 comment=“” disabled=no
add name=“user2” service=any caller-id=“” password=“user2” profile=default
routes=“” limit-bytes-in=0 limit-bytes-out=0 comment=“” disabled=no
add name=“user3” service=any caller-id=“” password=“user3” profile=default
routes=“” limit-bytes-in=0 limit-bytes-out=0 comment=“” disabled=no
add name=“user4” service=any caller-id=“” password=“user4” profile=default
routes=“” limit-bytes-in=0 limit-bytes-out=0 comment=“” disabled=no
Thank you,
Chemichon