what is the meaning of this? Is there any reason why you are setting periodic-inform-interval=30s every 5 seconds? This part does not make any sense. At least without further comment. Why not simply set periodic-inform-interval=5s?
###Lower polling interval
/system script
add name=Inter owner=admin policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive source="/tr069-client set periodic-inform-interval=30s"
/system scheduler
add name=UnitID on-event=identity policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon start-time=startup
/system scheduler
add interval=5s name=Poll on-event=Inter start-time=startup
14.04 is rather old version, and the FreeACS installation script seems to work only for sql5.5, and it does not work with 16.04 (LTS) or current Ubuntu version.
What other "better" options do you need?I will configure the GenieACS server to test. But I think MK needs to develop the TR069-client better.
I also understand that FreeACS is not evolving as much as we want.juliokato, currently 16.04 is LTS version, and it is possible to find 14.04, but I'm not sure about the security for 3 years old version and applications.
What other "better" options do you need?I will configure the GenieACS server to test. But I think MK needs to develop the TR069-client better.
AVsystem and Friendlytech have been very forthcoming. They are commercial solutions, but they are updated often.
Is there anyone, who has successfully got MikrtoTik CPE to work with GenieACS?
As i have two problems right now:
1.Not all device parameters are showing up, for example the summary page shows a lot of blank fields, while expanded view shows the default forced parameters.
I read that some tweaking could be needed on the server side, as maybe the parameter expression could be different.
2.As mentioned on http://wiki.mikrotik.com/wiki/Manual:TR069-client ,ive been trying to push a script to the CPE using "3.Vendor configuration file", which is simply a /.txt file containing a working ROS Terminal command, with file extension changed to .alter, when i push the file, it shows that the operation was succesful, however, no changes to the CPE`s config are made.
Hello, TheKitchen, change this parameter and you do not need to use the script to fix the periodic interval.Hello,
Good question! I noticed when the Mikrotik would connect to FreeACS the periodic inform interval would keep getting changed for some reason. I tried making some changes to the default profile in FreeACS and disabling the parameter all together but the periodic interval kept changing. The script was more of a dirty work around to keep setting the periodic inform interval back to 30 seconds, not a Mikrotik problem I think, ill edit the post once I fix the problem.
This is what i'm seeing from the syslog in freeacs:
Added unit parameter Device.ManagementServer.PeriodicInformInterval with value 87020
ProvMsg: Written to CPE: Device.ManagementServer.PeriodicInformInterval = 87020
Thank you!Hello, TheKitchen, change this parameter and you do not need to use the script to fix the periodic interval.Hello,
Good question! I noticed when the Mikrotik would connect to FreeACS the periodic inform interval would keep getting changed for some reason. I tried making some changes to the default profile in FreeACS and disabling the parameter all together but the periodic interval kept changing. The script was more of a dirty work around to keep setting the periodic inform interval back to 30 seconds, not a Mikrotik problem I think, ill edit the post once I fix the problem.
This is what i'm seeing from the syslog in freeacs:
Added unit parameter Device.ManagementServer.PeriodicInformInterval with value 87020
ProvMsg: Written to CPE: Device.ManagementServer.PeriodicInformInterval = 87020
I had the same problem in the parameters - the issue is that the GenieACS default looks for "InternetGatewayDevice" and MikroTik uses "Device" - you need to go into index_parameters.yml and summary_parameters.yml in the genieacs-gui config directory, remove "InternetGateway" from "InternetGatewayDevice" and restart the GUI.Is there anyone, who has successfully got MikrtoTik CPE to work with GenieACS?
As i have two problems right now:
1.Not all device parameters are showing up, for example the summary page shows a lot of blank fields, while expanded view shows the default forced parameters.
I read that some tweaking could be needed on the server side, as maybe the parameter expression could be different..
I was having this problem and just found a solution - make sure that your FS_IP is set properly in the config file. My default was 192.168.0.1 so the device was trying to download the file from the wrong URL.2.As mentioned on http://wiki.mikrotik.com/wiki/Manual:TR069-client ,ive been trying to push a script to the CPE using "3.Vendor configuration file", which is simply a /.txt file containing a working ROS Terminal command, with file extension changed to .alter, when i push the file, it shows that the operation was succesful, however, no changes to the CPE`s config are made.
Hello it work with tomcat 8 on Ubuntu 17 server if you want you just have edit the script for new versions of MySQL java tomcat 8 etc
also should thing like sstp interface show up on it can get show all other information like wireless lan adapter Ethernet etc but not sstp adapter server maybe that not exposed via tr069?
For my ubuntu 17 it works, no idea about 16.04
Do share if it works for you.For my ubuntu 17 it works, no idea about 16.04
Well then it should work on 16.04. I'll try it
Use the Banding Maker if you have access toCan a MikroTik staff member clarify:
1. Does pushing down a config file of type .overwrite also replace the default config (like it does with NetInstall)? I assume not, but just thought I would ask. If it does, great.
2. If it does not, could you add a means of replacing the factory-default config without NetInstall? Maybe a config file of extension .default which doesn't change the config of the device, but instead just replaces the factory default config? One thing that has me a bit worried is that if we use NetInstall to implement the TR-069 settings, we can't really change that factory default later once the router is deployed to the user. For me, a factory default is something that *might* need to change slightly over time (ex. we might change ACS platforms and need to change the ACS URL in the factory default so that when a user resets it goes to the new ACS, not the old one, or the certificate may change, etc.). I don't want to have to get the devices back again at the office and reflash them if we need to revise our factory-default config.
Thanks
Do share if it works for you.For my ubuntu 17 it works, no idea about 16.04
Well then it should work on 16.04. I'll try it
I had some issues with adding the address via the parameters, also i would like to understand the mechanism of the script file pushing as i mentioned in my previous post, as probably defining a script file, for the router and applying it would be easier than configuring each individual parameter, as it would utilize the same RouterOS language and it would be easier for configurators to create these config files.Did you try to add the IP address with AddObject RPC "Device.IP.Interface.{i}.IPv4Address.{i}."?
In the document standard TR-181 issue 2 it is described how to build NetworkStack. https://www.broadband-forum.org/technic ... ent-11.pdf
A big thank you for clarifying, this was really helpful.1) CPE <-------- Download RPC ------ ACS
2) CPE parses URL and TYPE from Download RPC
3) CPE HTTP GET file from URL
4) Depending on TYPE different steps are performed
4.1) "1 Firmware Upgrade Image" CPE downloads another XML file which contains extra download links, because standard Download RPC only allows 1 URL. Then packages are downloaded and installed
4.2) "3 Vendor Configuration File" CPE downloads script file directly from URL.
If script's file name ends with ".alter" in URL, then script is executed as regular script (ROS extension)
Otherwise ROS configuration is reset and script executed after that. (standartish behaviour). NOTE- must be careful when only want to "alter".
4.3) "X MIKROTIK Factory Configuration File" overwrite default configuration with provided script (affects factory reset)
A big thank you for clarifying, this was really helpful.1) CPE <-------- Download RPC ------ ACS
2) CPE parses URL and TYPE from Download RPC
3) CPE HTTP GET file from URL
4) Depending on TYPE different steps are performed
4.1) "1 Firmware Upgrade Image" CPE downloads another XML file which contains extra download links, because standard Download RPC only allows 1 URL. Then packages are downloaded and installed
4.2) "3 Vendor Configuration File" CPE downloads script file directly from URL.
If script's file name ends with ".alter" in URL, then script is executed as regular script (ROS extension)
Otherwise ROS configuration is reset and script executed after that. (standartish behaviour). NOTE- must be careful when only want to "alter".
4.3) "X MIKROTIK Factory Configuration File" overwrite default configuration with provided script (affects factory reset)
Tried to push the script.alter file containing the ros commands and it worked, the ip address was added in a second, great!
I also do suspect that by the time i first tried this my genieacs-fs was configured improperly, however now i know the main differences
Worked for me too, using Ubuntu 16.04.3. I installed the required Mysql version (5.6).Do share if it works for you.For my ubuntu 17 it works, no idea about 16.04
Well then it should work on 16.04. I'll try it
Yup it worked.
Worked for me too, using Ubuntu 16.04.3. I installed the required Mysql version (5.6).Do share if it works for you.For my ubuntu 17 it works, no idea about 16.04
Well then it should work on 16.04. I'll try it
Yup it worked.
hello guys, i have a little update on my experimental acs server using GenieACS in my local network:
As for now i have configured a working GenieACS server that with the correct data model, and edited the index page so it hows the relevant info about my devices.
TR069 parameter editing via ACS server is pretty handy as it allows to change a lot of easy things, however i require a little bit more.
I want the ACS for example to add an IP address to the CPE, which i didnt find to be working correctly via setting the parameters, so i want to send the CPE a file that executes some terminal commands in ROS.
Maybe someone can clarify this, as the i understand from the MTik wiki, that the for example the firmware upgrade is done via uploading .xml file via 1.Firmware Upgrade Image that contains the url of the package file which will then be downloaded by the CPE.
How is it with altering the config? Should i also make an .xml and upload it as a 3.Vendor Configuration File pointing to the script file or can i upload my "script.alter" file directly in stead of the xml?
Hope someone can help on how to correctly execute scripts remotely.
Just checking in if came right with this? I tried the genieacs and freeacs on lts 18.04.2 and cant for life of me get it right and got to certain point then either ruby just having issues with genie and cant remember what freeacs complained about.Thanks for the guide. I'm going to try it with the most recent LTS version Ubuntu.
I've tested all kinds of provision with freeacs and posted some step-by-step howto with screens. In Russian. There are some few tricky things about software upgrade but in general all works like a charm with freeacs.Just checking in if came right with this? I tried the genieacs and freeacs on lts 18.04.2 and cant for life of me get it right and got to certain point then either ruby just having issues with genie and cant remember what freeacs complained about.Thanks for the guide. I'm going to try it with the most recent LTS version Ubuntu.
Think an update to this guide is necessary.
A working Step by Step guide for installing Genieacs with Gui on a ubuntu server is available on youtube https://youtu.be/9nPLRkH7UFI !Just checking in if came right with this? I tried the genieacs and freeacs on lts 18.04.2 and cant for life of me get it right and got to certain point then either ruby just having issues with genie and cant remember what freeacs complained about.Thanks for the guide. I'm going to try it with the most recent LTS version Ubuntu.
Think an update to this guide is necessary.