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


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



Relevant Pages

  • Re: More on Remote Desktop
    ... on your firewall to the world, you will almost certainly get hacked. ... between your clients and server on your own LAN. ... your laptop into that LAN server has got to be making these two public IP's ... PPPoE connection to my ADSL ISP. ...
    (microsoft.public.windowsxp.network_web)
  • Re: "join a domain" or not
    ... >>Opt 1) Leave the laptop as a member of a workgroup. ... Use a VPN connection to establish connection to ... >>* My login scripts ran from the server and mapped some drives for me ...
    (microsoft.public.windowsxp.network_web)
  • Re: Is it possible to establish a VPN for road warriors using XP home and a machine running win2000
    ... 650 running Windows 2000 Professional. ... Connection Wizard. ... The following was completed with an XP home laptop and the Win 2000 ... Pro server operating within the same LAN... ...
    (microsoft.public.windowsxp.network_web)
  • Re: Connecting Via "Connect to Small Business Server Connection" and IP ranges
    ... Firstly: Setup Outlook to work via RPC/HTTPS instead of VPN: ... The MD has now purchased a laptop and would like to be able to access ... files and use Outlook from the server remotely. ... I have installed the SBS connection manager onto the laptop. ...
    (microsoft.public.windows.server.sbs)
  • Re: peer to peer messaging
    ... attempts to open a connection to port 80 of the server at that IP address. ... For example a packet from my machine might have source IP ... Packets from the sever to my laptop would have those reversed. ...
    (comp.lang.java.programmer)