From 99bde6889d3d8b7a9e950c86c30e82662e1dacdd Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Tue, 9 Sep 2003 02:58:53 +0000 Subject: syncing files from 3.0 into HEAD again (This used to be commit bca0bba209255d0effbae6a3d3b6d298f0952c3a) --- docs/faq/FAQ-features.html | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'docs/faq/FAQ-features.html') diff --git a/docs/faq/FAQ-features.html b/docs/faq/FAQ-features.html index 75faf8d9bc..5d20ba6fa0 100644 --- a/docs/faq/FAQ-features.html +++ b/docs/faq/FAQ-features.html @@ -1,7 +1,7 @@ -Chapter 5. Features

Chapter 5. Features

How can I use samba as a fax server?

Contributor: Gerhard Zuber

Requirements: +Chapter 5. Features

Chapter 5. Features

How can I use samba as a fax server?

Contributor: Gerhard Zuber

Requirements:

UNIX box (Linux preferred) with SAMBA and a faxmodem
ghostscript package
mgetty+sendfax package
pbm package (portable bitmap tools)

First, install and configure the required packages. Be sure to read the mgetty+sendfax -manual carefully.

Tools for printing faxes

Your incomed faxes are in: +manual carefully.

Tools for printing faxes

Your incomed faxes are in: /var/spool/fax/incoming. Print it with:

 for i in *
 do
@@ -15,12 +15,12 @@ for printing to HP lasers.
 If you want to produce files for displaying and printing with Windows, use
 some tools from the pbm-package like the following command: g3cat $i | g3topbm - |  ppmtopcx - >$i.pcx
 and view it with your favourite Windows tool (maybe paintbrush)
-

Making the fax-server

fetch the file mgetty+sendfax/frontends/winword/faxfilter and place it in /usr/local/etc/mgetty+sendfax/(replace /usr/local/ with whatever place you installed mgetty+sendfax)

prepare your faxspool file as mentioned in this file +

Making the fax-server

fetch the file mgetty+sendfax/frontends/winword/faxfilter and place it in /usr/local/etc/mgetty+sendfax/(replace /usr/local/ with whatever place you installed mgetty+sendfax)

prepare your faxspool file as mentioned in this file edit fax/faxspool.in and reinstall or change the final /usr/local/bin/faxspool too.

-if [ "$user" = "root" -o "$user" = "fax" -o \
-     "$user" = "lp" -o "$user" = "daemon" -o "$user" = "bin" ]
+if [ "$user" = "root" -o "$user" = "fax" -o \
+     "$user" = "lp" -o "$user" = "daemon" -o "$user" = "bin" ]
 

find the first line and change it to the second.

make sure you have pbmtext (from the pbm-package). This is needed for creating the small header line on each page. @@ -33,8 +33,8 @@ lp3|fax:\ :sd=/usr/spool/lp3:\ :if=/usr/local/etc/mgetty+sendfax/faxfilter:sh:sf:mx#0:\ :lf=/usr/spool/lp3/fax-log: -

Now, edit your smb.conf so you have a smb based printer named "fax"

Installing the client drivers

-Now you have a printer called "fax" which can be used via +

Now, edit your smb.conf so you have a smb based printer named "fax"

Installing the client drivers

+Now you have a printer called "fax" which can be used via TCP/IP-printing (lpd-system) or via SAMBA (windows printing).

On every system you are able to produce postscript-files you @@ -44,7 +44,7 @@ On Windows 3.1 95 and NT:

Install a printer wich produces postscript output, e.g. apple laserwriter -

Connect the "fax" to your printer.

+

Connect the "fax" to your printer.

Now write your first fax. Use your favourite wordprocessor, write, winword, notepad or whatever you want, and start with the headerpage. @@ -72,7 +72,7 @@ uses the found number as the fax-destination-number. Now print your fax through the fax-printer and it will be queued for later transmission. Use faxrunq for sending the queue out. -

Example smb.conf

+

Example smb.conf

 [global]
  printcap name = /etc/printcap
  print command = /usr/bin/lpr -r -P %p %s
@@ -88,7 +88,7 @@ queue out.
     create mode = 0700
     browseable = yes
     guest ok = no
-

Samba doesn't work well together with DHCP!

+

Samba doesn't work well together with DHCP!

We wish to help those folks who wish to use the ISC DHCP Server and provide sample configuration settings. Most operating systems today come ship with the ISC DHCP Server. ISC DHCP is available from: @@ -141,14 +141,14 @@ applied to the resulting DHCP offered settings UNLESS the DHCP server also sets a NetBIOS Scope. It may therefore be prudent to forcibly apply a NULL NetBIOS Scope from your DHCP server. The can be done in the dhcpd.conf file with the parameter: -option netbios-scope ""; +option netbios-scope "";

While it is true that the Microsoft DHCP server that comes with Windows NT Server provides only a sub-set of rfc1533 functionality this is hardly an issue in those sites that already have a large investment and commitment to Unix systems and technologies. The current state of the art of the DHCP Server specification in covered in rfc2132. -

How can I assign NetBIOS names to clients with DHCP?

+

How can I assign NetBIOS names to clients with DHCP?

SMB network clients need to be configured so that all standard TCP/IP name to address resolution works correctly. Once this has been achieved the SMB environment provides additional tools and services that act as helper agents in @@ -163,13 +163,13 @@ This can be done, but needs a few NT registry hacks and you need to be able to speak UNICODE, which is of course no problem for a True Wizzard(tm) :) Instructions on how to do this (including a small util for less capable Wizzards) can be found at -

http://www.unixtools.org/~nneul/sw/nt/dhcp-netbios-hostname.html

How do I convert between unix and dos text formats?

+

http://www.unixtools.org/~nneul/sw/nt/dhcp-netbios-hostname.html

How do I convert between unix and dos text formats?

Jim barry has written an excellent drag-and-drop cr/lf converter for windows. Just drag your file onto the icon and it converts the file.

The utilities unix2dos and dos2unix(in the mtools package) should do the job under unix. -

Does samba have wins replication support?

+

Does samba have wins replication support?

At the time of writing there is currently being worked on a wins replication implementation(wrepld).

-- cgit