Firewall-1

Re: [FW-1] SPLAT R60 or R61 - Mount USB Pen Drive

Subject: Re: [FW-1] SPLAT R60 or R61 - Mount USB Pen Drive
From: Mark Halsall <Mark.Halsall AT CADRE DOT NET>
To: FW-1-MAILINGLIST AT AMADEUS.US.CHECKPOINT DOT COM
Date: Tue, 18 Jul 2006 15:03:00 -0400
He's not installing anything extra. This is all built in to Splat. 

It doesn't seem to work under R60, but I've had pretty good luck under
R61.

The quick and dirty way to mount the flash drive is to skip step 5, and
issue the command:

tail -f /var/log/messages

Then, insert the USB drive, and watch the console messages to see if it
is recognized. As mentioned, it'll probably be /dev/sda1. Issue the
command:

mount <drive> /mnt/usbstick

where <drive> is the device assigned to the USB drive. Normally it'll
read:

mount /dev/sda1 /mnt/usbstick


-Mark 
 
-----Original Message-----


If you try to install any additional software on the SPLAT box, you will
void the
  TAC support from Checkpoint.
   
  cisco4ng

Chris McGill <Chris.McGill AT PHOENIX.CO DOT UK> wrote:
  1. Log in to expert mode.
2. Verify that you have the needed kernel modules loaded. type lsmod |
more
3. By default, Red Hat loads usb-uhci and usbcore on startup. But you'll
need to load an 
additional module called usb-storage in order to get a flash drive
working. To do this, 
simply type:

modprobe usb-storage 

4. Next, we'll need to define a mount point for the USB flash drive,
which includes a directory 
for the mount point. So go to the /mnt sub-directory and create this
sub-directory.

cd /mnt
mkdir /usbstick 

5. Now we need to edit a file called fstab, which lives in the /etc
directory. This file defines storage devices and the location of their
mount-points.

Open the file using gedit, emacs or your text editor of choice. Its
contents will look like this:


LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda3 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0 

We need to add a line to this file that reads:

/dev/sda1 /mnt/usbstick vfat user,noauto,umask=0 0 0 

You can copy/paste the above line directly into your fstab file. 


he "sda1" represents the device name that the kernel gives the USB flash
drive when it gets plugged in.

Once you've added this line to the fstab file, save it and close your
text editor.

Now we're almost ready to plug in your USB flash drive. Open a second
terminal window and type:

tail -s 3 -f /var/log/messages 

This command will poll the kernel's message log every three seconds, and
displays the latest messages the kernel has spat out. This is a useful
debug tool to make sure the USB flash drive has been enumerated, and
assigned a device name. Generally, the device name will be:

/dev/sda1 

Now, go ahead and plug your flash drive into the USB port. 


NOTE: I have not tried this yet, on SPLAT, I am unsure if the secure
locked down nature of SPLAT will allow this to work. This is all I can
offer at present, let me know how you get on. Thanks






-----Original Message-----
From: Mailing list for discussion of Firewall-1 on behalf of Jeremy R
Morrill
Sent: Tue 18/07/2006 17:07
To: FW-1-MAILINGLIST AT AMADEUS.US.CHECKPOINT DOT COM
Subject: [FW-1] SPLAT R60 or R61 - Mount USB Pen Drive

Has anyone successfully mounted a USB pen drive under SPLAT R60 or R61?
I have to pre-build several SPLAT boxes using the upgrade_import method
and it would be a real time saver not having to connect these devices to
the network to get the upgrade_export file. None of these devices have a
floppy. A USB pen drive would really be the most efficient way of doing
this but I can't figure out how to do it. Anyone had any luck?
-JRM

=================================================
To set vacation, Out-Of-Office, or away messages,
send an email to LISTSERV AT amadeus.us.checkpoint DOT com
in the BODY of the email add:
set fw-1-mailinglist nomail
=================================================
To unsubscribe from this mailing list,
please see the instructions at
http://www.checkpoint.com/services/mailing.html
=================================================
If you have any questions on how to change your
subscription options, email
fw-1-owner AT ts.checkpoint DOT com
=================================================


This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary material, confidential
information and/or be subject to legal privilege. It should not be
copied, disclosed to, retained or used by, any other party. If you are
not an intended recipient then please promptly delete this e-mail and
any attachment and all copies and inform the sender. Thank you.

Phoenix IT Group plc Registered in England no. 3476115
Phoenix IT Services Limited Registered in England no. 1466217
Trend Network Services Registered in England no. 1049704

Registered offices: Technology House, Hunsbury Hill Avenue, Northampton
NN4 8QS



=================================================
To set vacation, Out-Of-Office, or away messages,
send an email to LISTSERV AT amadeus.us.checkpoint DOT com
in the BODY of the email add:
set fw-1-mailinglist nomail
=================================================
To unsubscribe from this mailing list,
please see the instructions at
http://www.checkpoint.com/services/mailing.html
=================================================
If you have any questions on how to change your
subscription options, email
fw-1-owner AT ts.checkpoint DOT com
=================================================


                        
---------------------------------
See the all-new, redesigned Yahoo.com.  Check it out.

=================================================
To set vacation, Out-Of-Office, or away messages,
send an email to LISTSERV AT amadeus.us.checkpoint DOT com
in the BODY of the email add:
set fw-1-mailinglist nomail
=================================================
To unsubscribe from this mailing list,
please see the instructions at
http://www.checkpoint.com/services/mailing.html
=================================================
If you have any questions on how to change your
subscription options, email
fw-1-owner AT ts.checkpoint DOT com
=================================================

=================================================
To set vacation, Out-Of-Office, or away messages,
send an email to LISTSERV AT amadeus.us.checkpoint DOT com
in the BODY of the email add:
set fw-1-mailinglist nomail
=================================================
To unsubscribe from this mailing list,
please see the instructions at
http://www.checkpoint.com/services/mailing.html
=================================================
If you have any questions on how to change your
subscription options, email
fw-1-owner AT ts.checkpoint DOT com
=================================================

<Prev in Thread] Current Thread [Next in Thread>