BASH
Configurare email
Configurare software
Hardware
Linux
Linux Mint
Linux Ubuntu
MIKROTIK
Pentru tonti
Securitate
VMWARE
Windows
mikrotik :: mikrotik update
You should do regular updates, no matter what other security layers are in place.
Using WebFig:
Go to System / Packages and click Check for Updates.
If any package found, you should also update the RouterBOARD. Go to System / RouterBOARD and click Upgrade. You should reboot the router afterwards.
Using command line:
/system package update check-for-updates
if any found, use:
/system package update install
and then
/system routerboard upgrade
Using scheduler and assuming Email sending is configured already:
Create a script named "update" containing:
:local varIdentity [/system identity get name] :local varDate [/system clock get date] :local varTime [/system clock get time] /system package update check-for-updates once :delay 3s; :if ( [get status] = "New version is available") do={ install /tool e-mail send from="Router Admin on $varIdentity" \ to=someaccount@camscape.ro \ subject="Updates installed on $varIdentity" \ body="Updates installed on router on $varDate $varTime" } :if ( [get status] = "System is already up to date") do={ /tool e-mail send from="Router Admin on $varIdentity " \ to=someaccount@camscape.ro \ subject="No updates needed on $varIdentity" \ body="There are no updates needed on router on $varDate $varTime" }
Create a scheduler (System / Scheduler) named Update that starts today, start time 03:00:00 and interval 23:59:59 . On event specify:
/system script run update