Jump to content
bironhudo

Nokia vSR 13.0.* license on EVE

Recommended Posts

I have not noticed before the vSR image I downloaded from Internet had a wildcard 13.0.* license:

 

00000000-0000-0000-0000-000000000000 lACwArxxPh3AACQAJAYKNk55QyofTkd6KUp0JHQ8LzweTnopOA9+YkVqNRcDAAUAAAAAAAUAHAAWbPlUAAAAAAAAAAAAAAAAf+rkVQAAAADAAEAAZCshaWUcUVdKETdefGQoJzJGBWo5enFSJhopaR5jaTcHPhEJeA8Icx0SE3McZntfGXUvDVEMGnhadEArAQApADAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMAAAAAAEABYAVGlNT1MtW0JDXS0xMy4wLioAAADAABwAUGs1GnxiS3QxCE0rRkwNMnxPYTJ7KGkQBgAMAAEAAQAAAAAAAgAiAEFMQ0FURUwtTFVDRU5UIDc3NTAgU1JPUy12U0lNAAAAwAAwACMQJjAIOHVXYXIhdl9UDylabEV7TgJKB1VCWHIkNVgYDz82QwkVPX4PInhiDwBdAWtQREttQVJLRThKWnhCdkIzNkIyQmIyMzRwd3VaZzc1K2NqMGZRZnNXa0JEQTFXK3Z1TVBaY0lSaUVNK0swQTBOb1FSTjRiQVZCREJBTUx4MS96S0pGckJkSVlmSEdOM0FKaWJPT0hIYm0wRUdvRzJyYXdSeHNuN1NRajdhQ0VjOFlJMlVoY1dTUEZIZDBUaTJIVnh6RXJxdVd6cHhaU3FaYWxGWGpPa2c1UlVqYnBuSzZiM0FKeWZVOG1qbW0ydSs2RGY5a1hDYytHQ0txZm0zVzZ0VXNFUjN3U2IvQk83WkdZa2ltMjBtbUhTUWhaNnBmaDJWMTJ6YjJseU1FdUJpeHJTMVB3ejA5d1FrYmZKZC9xWWwrdUxmUTEvK2lub1FDQktsMkZtSUU2ZFlDYjFvRGc1WVlNdlpQbzRmRndzSzZQVnRwdXM1MGpMMDdMMThrQjhyUT09AAAAAA== # ALCATEL-LUCENT 7750 SROS-vSIM(TiMOS-[bC]-13.0.*)

 

So you can run any 13.0 vSR without rebooting by tricking EVE to start qemu on Mar 7th, 2015. The following is the show license output:

A:vRR# show system license

 

===============================================================================

Current License

===============================================================================

License status : monitoring, valid license record

Time remaining : 153 days

-------------------------------------------------------------------------------

License name : ALCATEL-LUCENT 7750 SROS-vSIM

License uuid : 00000000-0000-0000-0000-000000000000

License desc :

License prod : Virtual-SIM

License sros : TiMOS-[bC]-13.0.*

Current date : WED APR 01 00:01:42 UTC 2015

Issue date : FRI MAR 06 08:57:58 UTC 2015

Start date : n/a

End date : MON AUG 31 23:59:59 UTC 2015

 

I've managed to trick vSR qemu VM by changing the file /opt/unetlab/html/includes/__lab.php portion:

if ( $n['template'] == "timos" ) {

if (isset($node -> attributes() -> timos_line)) { #TimosLine

$n['timos_line'] = (string) $node -> attributes() -> timos_line;

} else {

$n['timos_line'] = "TIMOS:slot=1 chassis=SR-12 card=iom-xp mcm/1=mcm-xp mda/1=m10-1gb-sfp-b5";

}

if (isset($node -> attributes() -> management_address)) { #management_address

$n['management_address'] = (string) $node -> attributes() -> management_address;

}

if (isset($node -> attributes() -> timos_license)) { #management_address

$n['timos_license'] = (string) $node -> attributes() -> timos_license;

}

if (!isset($node -> attributes() -> qemu_options)) { #TimosLine

$n['qemu_options'] = ' -machine type=pc,accel=kvm -enable-kvm -serial mon:stdio -nographic -nodefconfig -nodefaults -rtc base=2015-03-10';

}

}

 

If you have a better way to do that, please let me know because the above change is lost every time EVE is updated.

Edited by bironhudo
  • Like 1
  • Thanks 3

Share this post


Link to post
Share on other sites

I tried with 13.0R1 as this image has license file cf3:/lic.txt

 

I tried configuring GNS3 Qemu VM instead of EVE-NG and it works fine:

 

A:vRR# show version

TiMOS-B-13.0.R1 both/i386 ALCATEL SR 7750 Copyright © 2000-2015 Alcatel-Lucent.

All rights reserved. All use subject to applicable license agreements.

Built on Fri Feb 27 21:10:57 PST 2015 by builder in /rel13.0/b1/R1/panos/main

A:vRR# show system license

 

===============================================================================

Current License

===============================================================================

License status : monitoring, valid license record

Time remaining : 175 days

-------------------------------------------------------------------------------

License name : ALCATEL-LUCENT 7750 SROS-vSIM

License uuid : 00000000-0000-0000-0000-000000000000

License desc :

License prod : Virtual-SIM

License sros : TiMOS-[bC]-13.0.*

Current date : TUE MAR 10 00:02:49 UTC 2015

Issue date : FRI MAR 06 08:57:58 UTC 2015

Start date : n/a

End date : MON AUG 31 23:59:59 UTC 2015

===============================================================================

A:vRR#

 

A:vRR# file dir

 

 

Volume in drive cf3 on slot A is SROS VM.

 

Volume in drive cf3 on slot A is formatted as FAT32

 

Directory of cf3:\

 

05/20/2015 11:28a <DIR> .ssh/

05/20/2015 11:48a 555 bof.cfg

02/27/2015 09:24p 196 bof.cfg.1

05/20/2015 11:49a 3816 config.cfg

02/27/2015 09:24p 0 config.cfg.1

05/20/2015 11:47a 1010 lic.txt

02/27/2015 09:24p 100 nvram.dat

03/10/2015 12:01a 317 nvsys.info

03/10/2015 12:01a 1 restcntr.txt

02/27/2015 09:24p <DIR> syslinux/

02/27/2015 09:24p <DIR> timos/

8 File(s) 5995 bytes.

3 Dir(s) 896430080 bytes free.

 

Press any key to continue (Q to quit)

  • Like 1

Share this post


Link to post
Share on other sites

I've managed to trick vSR qemu VM by changing the file /opt/unetlab/html/includes portion:

 

what php file was modified ?

 

here's what i have (or i missundersood)

 

 

drwxr-xr-x 4 root root 4096 Jun 12 00:06 .

drwxr-xr-x 10 root root 4096 Jun 12 00:06 ..

-rw-r--r-- 1 root root 5966 Oct 25 2017 api_authentication.php

-rw-r--r-- 1 root root 4258 Oct 25 2017 api_configs.php

-rw-r--r-- 1 root root 6803 Nov 25 2017 api_folders.php

-rw-r--r-- 1 root root 25573 Oct 25 2017 api_labs.php

-rw-r--r-- 1 root root 5241 Oct 25 2017 api_networks.php

-rw-r--r-- 1 root root 28685 Jun 11 22:54 api_nodes.php

-rw-r--r-- 1 root root 6160 Oct 25 2017 api_pictures.php

-rw-r--r-- 1 root root 5970 Oct 25 2017 api_status.php

-rw-r--r-- 1 root root 4511 Oct 25 2017 api_textobjects.php

-rw-r--r-- 1 root root 4005 Oct 25 2017 api_topology.php

-rw-r--r-- 1 root root 10551 Oct 25 2017 api_uusers.php

-rw-r--r-- 1 root root 39952 Oct 25 2017 cli.php

-rw-r--r-- 1 root root 84 Nov 11 2017 config.php.distribution

-rw-r--r-- 1 root root 37224 Jan 22 2018 functions.php

-rw-r--r-- 1 root root 14 Oct 25 2017 .htaccess

-rw-r--r-- 1 root root 7464 Apr 23 2018 init.php

-rw-r--r-- 1 root root 7190 Oct 25 2017 __interfc.php

-rw-r--r-- 1 root root 51751 Oct 25 2017 __lab.php

-rw-r--r-- 1 root root 21214 Oct 30 2017 messages_en.php

-rw-r--r-- 1 root root 15307 Oct 25 2017 messages_zh.php

-rw-r--r-- 1 root root 8172 Oct 25 2017 __network.php

-rw-r--r-- 1 root root 141181 Apr 22 2018 __node.php

-rw-r--r-- 1 root root 37772 Oct 25 2017 Parsedown.php

-rw-r--r-- 1 root root 5155 Oct 25 2017 __picture.php

drwxr-xr-x 6 root root 4096 Jun 12 00:06 Slim

drwxr-xr-x 2 root root 4096 Jun 12 00:06 Slim-Extras

-rw-r--r-- 1 root root 4298 Oct 25 2017 __textobject.php

Share this post


Link to post
Share on other sites

Thanks for the license file, best way to run the Nokia vSR is get the OVA file of 13.04 and import it in vmware workstation (preferably 14.x versions, 15.x versions have some weird issue, ping between devices don't work), change the date in VM's BIOS and disable time sync in VM's options under "VMware tools". Save the license file in CF3 and configure bof with file location, reboot the vSR and you are good to go.

 

A:vSR01# show bof

===============================================================================

BOF (Memory)

===============================================================================

primary-image cf3: imos\i386-both.tim

primary-config cf3:\config.cfg

license-file cf3:\license.txt

autonegotiate

duplex full

speed 100

wait 3

persist off

no li-local-save

no li-separate

no fips-140-2

console-speed 115200

===============================================================================

 

A:vSR01# show system license

 

===============================================================================

Current License

===============================================================================

License status : monitoring, valid license record

Time remaining : 169 days 14 hours

-------------------------------------------------------------------------------

License name : ALCATEL-LUCENT 7750 SROS-vSIM

License uuid : 00000000-0000-0000-0000-000000000000

License desc :

License prod : Virtual-SIM

License sros : TiMOS-[bC]-13.0.*

Current date : SUN MAR 15 09:59:23 UTC 2015

Issue date : FRI MAR 06 08:57:58 UTC 2015

Start date : n/a

End date : MON AUG 31 23:59:59 UTC 2015

===============================================================================

 

A:vSR01# show time

Sun Mar 15 10:08:26 UTC 2015

Share this post


Link to post
Share on other sites

hi baddriod

 

can you please explain a little bit more step by step the procedure if possible with commands as not all of us know this OS

 

thanks

Share this post


Link to post
Share on other sites

Hi all,

 

 

can someone upload that image with license anywhere?

 

 

Thanks and appreciate it.

Share this post


Link to post
Share on other sites

Hi all,

 

 

can someone upload that image with license anywhere?

 

 

Thanks and appreciate it.

 

secondig the request

Share this post


Link to post
Share on other sites
On 10/3/2018 at 3:10 PM, bironhudo said:

I have not noticed before the vSR image I downloaded from Internet had a wildcard 13.0.* license:

 

00000000-0000-0000-0000-000000000000 lACwArxxPh3AACQAJAYKNk55QyofTkd6KUp0JHQ8LzweTnopOA9+YkVqNRcDAAUAAAAAAAUAHAAWbPlUAAAAAAAAAAAAAAAAf+rkVQAAAADAAEAAZCshaWUcUVdKETdefGQoJzJGBWo5enFSJhopaR5jaTcHPhEJeA8Icx0SE3McZntfGXUvDVEMGnhadEArAQApADAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMAAAAAAEABYAVGlNT1MtW0JDXS0xMy4wLioAAADAABwAUGs1GnxiS3QxCE0rRkwNMnxPYTJ7KGkQBgAMAAEAAQAAAAAAAgAiAEFMQ0FURUwtTFVDRU5UIDc3NTAgU1JPUy12U0lNAAAAwAAwACMQJjAIOHVXYXIhdl9UDylabEV7TgJKB1VCWHIkNVgYDz82QwkVPX4PInhiDwBdAWtQREttQVJLRThKWnhCdkIzNkIyQmIyMzRwd3VaZzc1K2NqMGZRZnNXa0JEQTFXK3Z1TVBaY0lSaUVNK0swQTBOb1FSTjRiQVZCREJBTUx4MS96S0pGckJkSVlmSEdOM0FKaWJPT0hIYm0wRUdvRzJyYXdSeHNuN1NRajdhQ0VjOFlJMlVoY1dTUEZIZDBUaTJIVnh6RXJxdVd6cHhaU3FaYWxGWGpPa2c1UlVqYnBuSzZiM0FKeWZVOG1qbW0ydSs2RGY5a1hDYytHQ0txZm0zVzZ0VXNFUjN3U2IvQk83WkdZa2ltMjBtbUhTUWhaNnBmaDJWMTJ6YjJseU1FdUJpeHJTMVB3ejA5d1FrYmZKZC9xWWwrdUxmUTEvK2lub1FDQktsMkZtSUU2ZFlDYjFvRGc1WVlNdlpQbzRmRndzSzZQVnRwdXM1MGpMMDdMMThrQjhyUT09AAAAAA== # ALCATEL-LUCENT 7750 SROS-vSIM(TiMOS-[bC]-13.0.*)

 

So you can run any 13.0 vSR without rebooting by tricking EVE to start qemu on Mar 7th, 2015. The following is the show license output:

A:vRR# show system license

 

===============================================================================

Current License

===============================================================================

License status : monitoring, valid license record

Time remaining : 153 days

-------------------------------------------------------------------------------

License name : ALCATEL-LUCENT 7750 SROS-vSIM

License uuid : 00000000-0000-0000-0000-000000000000

License desc :

License prod : Virtual-SIM

License sros : TiMOS-[bC]-13.0.*

Current date : WED APR 01 00:01:42 UTC 2015

Issue date : FRI MAR 06 08:57:58 UTC 2015

Start date : n/a

End date : MON AUG 31 23:59:59 UTC 2015

 

I've managed to trick vSR qemu VM by changing the file /opt/unetlab/html/includes/__lab.php portion:

if ( $n['template'] == "timos" ) {

if (isset($node -> attributes() -> timos_line)) { #TimosLine

$n['timos_line'] = (string) $node -> attributes() -> timos_line;

} else {

$n['timos_line'] = "TIMOS:slot=1 chassis=SR-12 card=iom-xp mcm/1=mcm-xp mda/1=m10-1gb-sfp-b5";

}

if (isset($node -> attributes() -> management_address)) { #management_address

$n['management_address'] = (string) $node -> attributes() -> management_address;

}

if (isset($node -> attributes() -> timos_license)) { #management_address

$n['timos_license'] = (string) $node -> attributes() -> timos_license;

}

if (!isset($node -> attributes() -> qemu_options)) { #TimosLine

$n['qemu_options'] = ' -machine type=pc,accel=kvm -enable-kvm -serial mon:stdio -nographic -nodefconfig -nodefaults -rtc base=2015-03-10';

}

}

 

If you have a better way to do that, please let me know because the above change is lost every time EVE is updated.

this file looks very odd on my deployment. It has a lot of text. Should that be removed and your text be pasted? In any case, there is an error.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...