Send script?

Michael Ducharme mducharme at gmail.com
Tue Aug 14 22:38:29 EDT 2018


You can push a config file to the Mikrotik by naming the file with
extension .alter, the commands you put in that file will be executed as
though you typed them in the router.

On Thu, Aug 9, 2018 at 11:42 AM Dan Morphis <dan at milkcarton.com> wrote:

> Comments below:
>
> On Thu, Aug 9, 2018 at 8:59 AM, John Babineaux <
> john.babineaux at reach4com.com> wrote:
>
>> Sorry about that.
>>
>>
>>
>> I want to send a terminal command like
>>
>> /tool fetch url="http://www.***.com" mode=http
>>
>> To the router to make it download a file or something to that extent.
>>
>> I don’t fully understand if I can do that do that or how I would
>> provision it.
>>
>
> I believe you can do this via the mtik API. You will need to explicitly
> enable it.
>
> You can use TR069 to send files to the CPE. The types of files you can
> send are:
>
>
> What the mtik can do with a vendor config file, I have no clue. If it
> treats it as a script/etc...
>
>>
>>
>> I have routers in the field that someone decided to change the Admin
>> password on the router therefore I have lost access to it but I have it
>> calling back to GenieACS
>>
>> I would like to push a password change so I can get access back to it.
>>
>
> If the CPE exposes those values via TR069, its entirely possible. I
> enforce a complex password for the GUI via our TR069 server (and do not
> allow customers/techs/etc) access to the GUI.
>
>
> You will need to hookup a test device and experiment.
>
> -dan
> _______________________________________________
> Users mailing list
> Users at lists.genieacs.com
> http://lists.genieacs.com/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20180814/0c1680d7/attachment.html>


More information about the Users mailing list