Setting up a remote print server on SuSE 8.1 using LPRNG
From: Rick and Sue Deschene (rdeschene3_at_yahoo.ca)
Date: 06/26/04
- Next message: houghi: "Re: SUSE 9.1 Pro"
- Previous message: houghi: "Re: exim configuration"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 26 Jun 2004 04:34:44 -0700
FYI to anyone who is interested:
- this is how I setup my desktop to act as a print server for my
laptop.
- the desktop is connected to a Netgear WGR614 wireless
router/firewall through an Ethernet cable and the laptop is connected
to the router via a 802.11g wireless card
- the HP Laserjet 4P printer is plugged into the LPT port of the
desktop
- both laptop and desktop are running SuSE 8.1
On laptop: - first used YaST2 to install lprng and lpd, which caused
the
automatic uninstallation of cups server.
- downloaded bug fixes for lprng, lpdfilter and cups-libs from SuSE
and
installed as root using rpm -U Ran SuSEconfig Repeat on
desktop/print server
- used ifconfig on laptop to determine it has IP address 192.168.0.4
and on
desktop to determine it has 192.168.0.2
On desktop/print server:
- as root edit /etc/hosts.lpd and add 192.168.0.4 to the end of the
file
(allows this IP address to be treated as equivalent to the local
computer for
lpd)
- as root edit /etc/inetd.conf and add a line (below where the
"commented out"
printer line is already - this, like all of SuSE8.1 is setup to be
CUPS-centered)
printer stream tcp nowait lp /usr/sbin/tcpd /usr/bin/lpd -t
- went into YaST2 and select, Network Basic, inetd, turn on inetd with
custom
configuration, scroll down the list to confirm there is a line that
shows
printer is Active. Select Finish (to make sure inetd super-daemon is
restarted).
On laptop:
- YaST2, Hardware, Printer, Skip autodetection, Configure, Show more
connection
types, LPD forwarding queue (it will basically send raw data to the
print
server, and allow the print server to generate the print job using its
own
configuration for lp. That way I can upgrade the printer without
having to change any configurations on the laptop), host name of
printer server 192.168.0.2, queue lp, Test Remote LPD Queue worked.
- verified this worked by printing an ASCII file using:
lpr ./Documents/filename
printed a webpage from Mozilla
- Next message: houghi: "Re: SUSE 9.1 Pro"
- Previous message: houghi: "Re: exim configuration"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|