Page 206 / 249 Scroll up to view Page 201 - 205
USB
201
Type
p
to display the partition table.
Command (m for help):
p
Disk /dev/sda: 5 heads, 50 sectors, 1024 cylinders
Units = cylinders of 250 * 512 bytes
Device Boot
Start
End
Blocks
Id
System
/dev/sda1
1
1024
127975
b
Win95 FAT32
Delete any existing partitions by typing
d
the entering the partition number, e.g.
1
will
delete
/dev/sda1
.
Create a new partition by typing
n
then
p
for
primary
, then the partition number.
Note
The CyberGuard SG appliance support primary partitions only, so you are limited to four
partitions.
Enter the cylinder for the partition to start on, generally the default will be fine.
Enter the
cylinder for the partition to end on, or a size for the partition with
+(size in mb)M
.
Command (m for help):
n
Command action
e
extended
p
primary partition (1-4)
p
Partition number (1-4):
1
First cylinder (1-1024, default 1):
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-1024, default 1024):
+64M
Page 207 / 249
USB
202
Repeat the process for each partition to want to create.
For the last partition, the default
last cylinder will generally be fine.
Command (m for help):
n
Command action
e
extended
p
primary partition (1-4)
p
Partition number (1-4):
2
First cylinder (526-1024, default 526):
Using default value 526
Last cylinder or +size or +sizeM or +sizeK (526-1024, default
1024):
Using default value 1024
For each partition, set the partition type to match the type of filesystem you are going to
create on it by typing
t
, the partition number, then the type code (
L
to view type codes).
In this example, we are creating FAT32 partitions (type code
b
).
Command (m for help):
t
Partition number (1-4):
1
Hex code (type L to list codes):
b
Changed system type of partition 1 to b (Win95 FAT32)
Type
w
to save your changes to the partition table.
From the web management console,
select
Advanced
from the
System
menu, and click
Reboot
.
telnet
or
ssh
to the CyberGuard SG appliance and log in.
For each partition, run the
appropriate
mkfs
command.
To create FAT32 on our two example partitions, we use:
mkfs.vfat –F 32 /dev/sda1
then
mkfs.vfat –F 32 /dev/sda1
From the web management console, select
Advanced
from the
System
menu, and click
Reboot
.
The partitions are now ready to use.
Page 208 / 249
USB
203
USB Printers
The CyberGuard SG appliance’s print server allows you to share attached USB printers
with your LAN.
After it has been configured, the CyberGuard unit and printer will show up
when you browse your Windows workgroup or domain.
Mac OSX, Linux and other UNIX-based or UNIX-like machines on the network can use
the
LPR
/
LPD
protocol for remote printing.
This section describes how to configure the CyberGuard SG565 to share a USB printer,
and how to set up remote printing on a Windows PC.
Warning
Many inexpensive printers will not work with the CyberGuard SG's Print Server, as their
drivers expect the printer to be attached directly to the PC you are printing from, or the
printer itself relies on utilizing the PC’s CPU for processing print jobs.
Due to these
technical limitations, we simply cannot support these types of printers.
It is therefore strongly recommended that you use a business grade printer with
the CyberGuard SG's print server.
Non-business grade printers may work, but we are
unable to provide support if they do not; see the
Troubleshooting
section at the end of
this chapter for suggestions.
Additionally, advanced features such as cartridge status reporting may not function
correctly.
Multifunction and all-in-one printers are not supported.
Set up the print server
Attach the USB printer to the CyberGuard SG appliance and ensure the appropriate
driver is loaded, as described in
Attach the USB device
towards the beginning of this
chapter.
Select
Print Server
from the
Networking
menu.
Under the
Printer Configuration
heading, locate the printer and click the
Edit
icon.
Page 209 / 249
USB
204
Figure 10-6
Check
Enable Printer
.
Enter a short descriptive
Name
for the printer.
This is the name that will be displayed
when browsing your Windows workgroup or domain, and the name of the queue for
LPR
/ LPD
connections.
Click
Apply
.
Set up the print spool
By default, the CyberGuard SG appliance spools incoming print jobs into RAM before
sending them to the printer.
This can be an issue if you have many services running on
the CyberGuard SG appliance (e.g. many VPN connections, Intrusion Detection, Web
Cache, etc.) and it is low on RAM, or you are intending to print large documents or
images.
When a Windows PC sends a document or image to the printer attached to the
CyberGuard SG appliance, it first converts it into a format that the printer can read.
The
resulting file that the CyberGuard SG appliance has to store in RAM can be many times
larger than the size of the original document or image.
Note
To avoid the CyberGuard SG running out of RAM and print jobs failing, we recommend
that you use a USB mass storage device to spool print jobs.
If you wish to spool to RAM or set up the spool later, proceed to
Set up Windows PCs for
remote printing
.
Otherwise, follow the steps under in
Enable the storage device
in the
USB Mass Storage
Devices
section earlier in this chapter to connect and enable your USB mass storage
device.
Page 210 / 249
USB
205
Figure 10-7
Once this is done, select the USB mass storage device or device partition on which to
store the print spool from the
Select spool
pull down menu under the
Print Spooling
heading.
Note
You may simultaneously use a USB mass storage device or device partition as a print
spool and a Network Attached Storage device.
However, the spool directory will be
visible (as
spool
) and there is a higher chance of the device filling up, causing print jobs
to fail.
For these reasons, we recommend dedicating a partition or device for use as the
print spool.
For information on partitioning a USB mass storage device, refer to the
USB Mass
Storage Devices
section earlier in this chapter.
Join a Windows workgroup
Follow the step under
Join a Windows workgroup
in the
USB Mass Storage Devices
section earlier in this chapter.
Set up Windows PCs for remote printing
Repeat the following steps for each Windows PC to be enabled for remote printing.
These steps are for Windows XP, they will be similar for Windows 2000 and 95/98.
Click
Start
->
(
Settings
)
->
Printers and Faxes
.
Under
Printer Tasks
on the left, click
Add a printer
.
The
Add Printer Wizard
will display.
Click
Next
.

Rate

4 / 5 based on 3 votes.

Popular SnapGear Models

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top