The fastest way to do it :
# mkdosfs -C floppydisk.img 1440
# mount -o loop floppydisk.img /media/cdrom
# cp /path/to/files/* /media/cdrom/
# umount /media/cdrom
note: assuming /media/cdrom path is exists (most likely so), and you have root access.
credit: http://untitledfinale.wordpress.com/2007/10/09/create-mount-and-copy-floppy-disks-images-under-linux/
When the RemedySPI is not running, and you can’t start it anymore, it might be caused by an unmatched password of opc_adm inside remspi configuration.
Check the remspi log :
tail /var/opt/OV/log/remspi/remspi.log
If you found anywhere in the log says :
05/28/2009 11:05:25 [ERROR] (remspisrv-16080): Can’t connect to ITO as user ‘opc_adm’: ‘No login’. Not a typewriter (SPI215-51)
then most likely the opc_adm user had changed his password.
To fix it, modify the REMSPI_ITO_ADMIN_PASSWD value inside configuration file
/etc/opt/OV/share/conf/remspi/remspi.cfg
The encrypted password has to be generated manually, using
/opt/OV/bin/remspi/remspipasswd <password>
I really hate uppercase when it comes to filenames. It’s really simple to translate words to lowercase using perl’s “tr”.
my @FILES=`ls /path/to/bignames`;
foreach my $line (@FILES){
$line=trim($line);
if ($line ne "" && $line !~ /^./ && $line =~ /[A-Z]+/) {
my $smalline = $line;
$smalline =~ tr/[A-Z]/[a-z]/;
$out=`mv -v $line $smalline`;
}
and this is the complete rename-to-lowercase script.
Please read terms of use before downloading the script(s)
I always forget this 
/var/opt/OV/share/databases/OpC/mgd_node/customer/
This is the path to the place where you can put your own scripts to be used in templates. Depends on the target system, you have to put the correct version of scripts under the correct operating system.
I did it in Centos 5.2 and RHEL 5.
see http://www.virtualbox.org/ticket/203
I was really miss a great tool to see installed devices in linux, lspci, that I couldn’t find in solaris. Doing some googling-job, i found a similar tool with lspci.. well this one actually can gives me a more detail (or complicated) than lspci. To see them Issue the command:
# prtconf -v
This will give you a very detailed report of devices attached to the machine. don’t use -v (verbose) if you hates the verbosity
Confused? Use this cool script to get a more readable output using the prtconf as its stdin (read the note on its header).
Custsomer is a king, they said. Well that’s true on a lot of cases. Lately the customer wants us to change all the templates we have built for 3 years! That’s mean I have to change hundreds of template group in which there are up to 40 monitors inside them. Doing it from the motif GUI seems going to broke my wrist. At least i might have to buy a new mouse because of those thousands clicks per second.
OVO has been shipped with some useful console tools, especially for managing the templates. I used these tools to help me do the job:
- /opt/OV/bin/OpC/utils/opcnode : to get info and manage nodes data, including assigned templates, assigning and de-assign templates, etc.
- /opt/OV/bin/OpC/utils/opctempl : to download, upload, and modify templates
It doesn’t give much help if I do it by hand, so I write some scripts using those tools :
- gettemplates.pl : to download templates and save it under each node names they are assigned to. It required one argument, the node list file. The downloaded templates will be used for other scripts. At the moment it only support monitor scripts under one group (because that’s all I needed at the moment).
- modsevup.pl : to mass change a particular severity inside template. The script taking three arguments : template name, severity before, and severity after.
- modtextup.pl : to change the text of notifications inside a template. It will take two arguments: template name and message text.
- addnormal.pl : to add normal condition into the template. Just modify the script as you needed.
- standardise.pl : this is just the concatenation of modsevup.pl modtextup.pl and addnormal.pl. It will add normal condition
All of them will show you the changes that has made to the original file, and you will be prompted if you would to directly upload it to the OVO or not .
Download them and modify as you like, but please keep the attribution attached, or, you can always click the orange button on the bottom right side
.
have you ever found that when you do a quick search in synaptics, you know the packages is there but they doesn’t show up in the search result? This probably a bug, but there’s workaround for this.
# update-apt-xapian-index -f
Download :
ftp://ftp.sunfreeware.com/pub/freeware/intel/10/sudo-1.7.1-sol10-x86-local.gz
ftp://ftp.sunfreeware.com/pub/freeware/intel/10/libiconv-1.11-sol10-x86-local.gz
ftp://ftp.sunfreeware.com/pub/freeware/intel/10/libintl-3.4.0-sol10-x86-local.gz
ftp://ftp.sunfreeware.com/pub/freeware/intel/10/libgcc-3.4.6-sol10-x86-local.gz
Install :
# gzip -d *
# pkgadd -d sudo-1.7.1-sol10-x86-local
# pkgadd -d libiconv-1.11-sol10-x86-local
# pkgadd -d libintl-3.4.0-sol10-x86-local
# pkgadd -d libgcc-3.4.6-sol10-x86-local
Configure:
# vi /usr/local/etc/sudoers
why use sunfreeware.com?