Community discussions

MikroTik App
 
ejmerkel
newbie
Topic Author
Posts: 33
Joined: Wed Jun 03, 2009 8:26 pm

Command line update 3.x key to 4.x key

Thu Jun 03, 2010 5:46 pm

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?

Thanks,
Eric
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6697
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Re: Command line update 3.x key to 4.x key

Fri Jun 04, 2010 11:11 am

Currently there is no way to do it by script.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26968
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: Command line update 3.x key to 4.x key

Fri Jun 04, 2010 11:23 am

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,.
 
ejmerkel
newbie
Topic Author
Posts: 33
Joined: Wed Jun 03, 2009 8:26 pm

Re: Command line update 3.x key to 4.x key

Fri Jun 04, 2010 12:26 pm

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?
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: Command line update 3.x key to 4.x key

Fri Jun 04, 2010 4:13 pm

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.
 
ejmerkel
newbie
Topic Author
Posts: 33
Joined: Wed Jun 03, 2009 8:26 pm

Re: Command line update 3.x key to 4.x key

Fri Jun 04, 2010 4:33 pm

Makes sense. Thanks for clarifying that!
 
changeip
Forum Guru
Forum Guru
Posts: 3833
Joined: Fri May 28, 2004 5:22 pm

Re: Command line update 3.x key to 4.x key

Sun Jun 06, 2010 11:37 pm

sounds like a nice addition to the dude... this will be a major issue once routerboard licenses are required to be renewed (is that going to happen?)
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26968
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: Command line update 3.x key to 4.x key

Mon Jun 07, 2010 7:36 am

sounds like a nice addition to the dude... this will be a major issue once routerboard licenses are required to be renewed (is that going to happen?)
it's already needed if you want to upgrade to v4 and have a 1234-123 type SoftID.