How to clear the SEC option for MSO5000/6000/7000 scopes:
This fix is thanks to abyrvalg.
The SEC option clears the lowest bit in a nonvolatile "Feature Register." If this bit is clear, the setup directories /setups,/data,/config, and /masks are remapped from persistent drive C: to ram drive /ram0, to prevent persistent storage of setup information.
If the SEC option is detected at startup, the Feature Register bit is cleared.
In order to permanently clear the SEC option, you must
1) clear the Feature Register (reset to 0xffff)
2) Remove the SEC option from the license file.
Using FTP and Telnet:
1) Telnet into the scope:
$ telnet <ipaddr> 5810
2) log in with panther/pictures
3) clear the feature register:
-> clearFeatureRegister()
Tffs Drive 0: Programing units 119 to 119
value = 1 = 0x1
4) copy the license file to /ram0:
-> cmd
[vxWorks]# cd bin
[vxWorks]# file copy license.lic /ram0
copying file license.lic -> /ram0/license.lic
5) FTP to the scope using another terminal or FTP program
$ ftp <ipaddr>
log in with panther/pictures
6) retrieve the license.lic file:
ftp> cd ram0
ftp> get license.lic
7) edit license.lic to remove the "SEC" line
8 ) put the license.lic file back on the scope:
ftp> put license.lic
9) from the telnet window, copy the edited license.lic file back to C:/bin:
[vxWorks]# file copy /ram0/license.lic license.lic
copying file /ram0/license.lic -> license.lic
10) Reboot the scope.
If you don't have an FTP client, but can capture text from the telnet program, you can use the following variant:
Using TELNET only:
1) Telnet into the scope:
$ telnet <ipaddr> 5810
2) log in with panther/pictures
3) clear the feature register:
-> clearFeatureRegister()
Tffs Drive 0: Programing units 119 to 119
value = 1 = 0x1
4) list the license.lic file
-> cmd
[vxWorks]# cd bin
[vxWorks]# cat license.lic
( the license.lic file is listed in the terminal window)
5) select and the license.lic file text from the terminal window and copy to the clipboard.
6) Paste the selection into an editor, remove the line containing the "SEC" option, and select the resulting text, and copy back to the clipboard.
7) re-write the license.lic file:
[vxWorks]# cat > license.lic
8 ) paste the edited license.lic file from the clipboard into the terminal
9) hit Ctrl-D to close and write the license.lic file
10) Reboot the scope.
If you don't have any licenses on the scope that you wish to preserve, the you can skip steps 4-10 in the above procedures. Just delete the license.lic file:
[vxWorks]# cd bin
[vxWorks]# rm license.lic
[vxWorks]# reboot
Dave