I am batch programming a bunch of 411’s and upgrading them from 3.x to 4.x during the process. After the unit reboots, it will automatically connect to the Internet.
My question is, is there a way to automate the license update from 3.x to 4.x via the command line without logging into Winbox?
This is not possible, because the update is not done by RouterOS, but by Winbox from the PC. Router doesn’t need internet connectivity to do the update,.
I assumed it needed internet access because when I do the updates via winbox it resolves the mikrotik.com site and pulls the new license. How is this done offline?
The client running Winbox pulls the license data from mikrotik.com, NOT the router. So you could have a laptop dual homed on the wire and wireless, with an internet connection on the wireless and a standalone router - and update the license. But because the client itself pushes the license you cannot script the license upgrade process. There is no process in the router itself that can upgrade a license from the router.