05-30-2002 07:44 AM - edited 03-08-2019 10:48 PM
I have been searching all over cisco's website for an answer on how to get the binary file on my cd to the tmp directory on the sensor. All the documentation states is that I need to copy the binary file IDSk9-sp-3.1-1-S23.bin to the /tmp directory on the target sensor. They never state the command that executes this process. I was wondering what command on the sensor gets this bin file from the cd-rom to the /tmp directory?
Chris
05-30-2002 08:32 AM
IDSk9-sp-3.1-1-S22.bin has been replaced with IDSk9-sp-3.1-2-S23.bin
I am assuming you just had a typo in your post.
It was posted on CCO. You can download it to your desktop from CCO.
Then ftp to your sensor, cd to the /tmp directory, and put the file onto the sensor.
This is the usual method people use.
If you have downloaded the file and created your own CD for it then you can
1) place the CD into the sensor.
2) login as user root
3) execute df -k on the sensor to determine what device is used by the hard disk
You should see several lines (one for each partition)
# df -k
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c0t0d0s0 246274 17708 203939 8% /
/dev/dsk/c0t0d0s6 492544 199216 244074 45% /usr
/proc 0 0 0 0% /proc
fd 0 0 0 0% /dev/fd
mnttab 0 0 0 0% /etc/mnttab
/dev/dsk/c0t0d0s3 246274 19787 201860 9% /var
swap 563844 8 563836 1% /var/run
swap 563844 8 563836 1% /tmp
/dev/dsk/c0t0d0s5 246274 1510 220137 1% /opt
/dev/dsk/c0t0d0s7 2560807 326495 2183096 14% /usr/nr/var
each partition is a slice on the harddisk.
In most cases the / partition will be on /dev/dsk/c0t0d0s0.
In this case the "s0" is slice 0 of the disk "c0t0d0".
4) now cd to the /dev/dsk directory
5) execute ls
# ls
c0t0d0p0 c0t0d0s1 c0t0d0s15 c0t0d0s7 c1t0d0p3 c1t0d0s12 c1t0d0s4
c0t0d0p1 c0t0d0s10 c0t0d0s2 c0t0d0s8 c1t0d0p4 c1t0d0s13 c1t0d0s5
c0t0d0p2 c0t0d0s11 c0t0d0s3 c0t0d0s9 c1t0d0s0 c1t0d0s14 c1t0d0s6
c0t0d0p3 c0t0d0s12 c0t0d0s4 c1t0d0p0 c1t0d0s1 c1t0d0s15 c1t0d0s7
c0t0d0p4 c0t0d0s13 c0t0d0s5 c1t0d0p1 c1t0d0s10 c1t0d0s2 c1t0d0s8
c0t0d0s0 c0t0d0s14 c0t0d0s6 c1t0d0p2 c1t0d0s11 c1t0d0s3 c1t0d0s9
You should see several entries that are for your harddrive "c0t0d0" ending with p# or s#.
Then you should see several entries that are for your cdrom drive ending with p# or s#. In the example above the cdrom drive would be "c1t0d0", but may differ on your system.
6) now we need to mount the cdrom drive using slice 0 "s0" of the cdrom drive "c1t0d0". we will mount it onto the /mnt directory.
the command we use is:
mount -F hsfs /dev/dsk/c1t0d0s0 /mnt
7) if the cd was created correctly and the mount command works then you should be able to cd to the /mnt directory, and execute ls to see your file.
8) if you made the cd with the file executable then you can execute the file from right there. if the file is not executable then copy it it to the /tmp directory "cp ./IDSk9-sp-3.1-2-S23.bin /tmp" then follow the other instructions for installation.
05-30-2002 02:09 PM
Thanks for your help on this I have followed all the steps, but this ids sensor keeps changing my bin file name to idsk9-~1.bin and I get an error that tells me that the name of the file has been changed from its original format. Is there something I need to be doing different.
Chris
05-31-2002 07:10 AM
If you created the CD from a windows box (or ftp'd from a windows box).
Then it could be that the windows box changed the name of the file.
Try copying the file to the /tmp directory of the sensor and then use the mv command to rename it to the original filename.
mv ./idsk9-~1.bin ./IDSk9-sp-3.1-2-S23.bin
05-31-2002 08:05 AM
That worked, thanks for your help on this. You guys are a big help to me.
06-05-2002 01:37 AM
Nice work.. thanks..
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide