Hi, Im trying to export CHR config in eve-ng lab but look like not working with 7.2.3 and 6.49.6 any idea?
What more specifically does not work, like “system export” or something else?
eve-ng have a option to export configuration form nodes or use exported configuration for new nodes.
The idea is when you add a new node (chr) to add node configuration as well on boot “stratup config”!
This not work
export: right click on mikrotik chr node > “export cfg” .. this export none sense characters
exmaple:
/export[7D[m[36m/[m[35mexport[m
may/26/2022 16:07:29 by RouterOS 7.2.3
software id =
[m[36m/interface[m [m[36mwireless[m [m[36msecurity-profiles
[m[35mset[m [m[33m[[m [m[35mfind[m [m[32;1mdefault[m[33m=[myes [m[33m][m [m[32msupplicant-identity[m[33m=[mMikroTik
[m[36m/port
[m[35mset[m 0 [m[32mname[m[33m=[mserial0
[m[36m/ip[m [m[36mdhcp-client
[m[35madd[m [m[32minterface[m[33m=[mether1
[m[36m/system[m [m[36midentity
[m[35mset[m [m[32mname[m[33m=[mTEST_IDENTITY
“Sartup config” not add any config to mikrotik node as well
I will check with eve-ng forum as well, but if someone have idea …
Actually none sense config work !!!
However I believe the problem is in “new password” prompt since in order eve-ng to apply stratup config
- first boot reset config to default
- reboot
- apply startup config
I just control+c (very quick) “new password” prompt and startup config was added !
yep “new password>” prompt is the issue for startup config.
I will contact eve-ng folks, look like they automatically skip “terms and conditions y/n” prompt probably they can fix this as well
for none sense configuration export – no idea
anyway
This should normally work with v6 thus I suspect EVE need some modifications of the api scripts to run properly using v7.
I found the problem and report it ot eve-ng
The problem is in eve-ng config_mikrotik.py script + mikrotik routeros new future for "new password> " prompt on first boot (in both 6.49.6 and 7.2.3)
I will try to solved it as well, this is python script nothing complicated ..
Will make update when I have more info
The problem is solved with new script for eve-ng
https://github.com/NikolayDachev/eve-ng
Still checking how to contribute it in eve-ng community
for more info: https://www.eve-ng.net/forum/viewtopic.php?f=3&t=20324
Please report issues with it via GitHub
Regards,