lpd with dhcp


What is this stuff?

If this isn't exactly what you wanted, please try our Search (there's a LOT of techy and non-techy stuff here about Linux, Unix, Mac OS X and just computers in general!):



Date: Wed, 07 Nov 2001 18:06:08 -0500
From: Tony Lawrence <tony@aplawrence.com>
Subject: Re: Ethernet Terminals, DHCP and printing References: <8947fc5.0111070948.95c8c5e@posting.google.com> <20011107185117.GC1387@jpradley.jpr.com> <hYiG7.6779$35.802405@iguano.antw.online.be>


Hate these ads?



Karel Adams wrote:

> "Jean-Pierre Radley" <jpr@jpr.com> schreef in bericht news:20011107185117.GC1387@jpradley.jpr.com...
> > Keith Clay propounded (on Wed, Nov 07, 2001 at 09:48:47AM -0800):
> > | Folks,
> > |
> > | We are considering moving from a serial terminal server to ethernet
> > | terminals served by DHCP.  They are ET2000 terminals from ComputerLab
> > | and they have a printer port.  Is it possible to set the printers up
> > | so that they can be printed to from the SCO lpd spooler.
> >
> > The 'D' in DHCP stands for 'Dynamic', so how will you know which printer
> > resides at which IP address?

> <very humbly>
> I always understood DHCP allocates dynamic IP adresses to
> fixed host names. So it would seem to me that there must be a way
> to set up a remote printer port associated with a fixed host name,
> then leaving the rest to DHCP.















No, not quite.



However, all is not lost.  



First, Visionfs printing only needs a Netbios name- so that would work,
but not for you :-)


ad



Secondly, if you know MAC addresses (and you can always get that info),
you can get the ip address from arp -an and adjust things as
necessary.   That aassumes of course that you are on the same lan and
that some other communication causes arp to be there- a ping will do, of
course. 



If a particukar user needs printing to go to their lpd server, that's
easy. I've done that sort of thing for printing over the internet where
someone comes in over ssh from who knows where, but a quick shell script
picks up their ip and modifies /etc/hosts with the new info.  This
sounds like it might be what your situation needs- only the user needs
access to their printer?  If so, define the hosts by name in printcap
and just modify /etc/hosts as they login- watch out for race conditions-
you need to be careful here.



So yes, you can do this.  Just takes a little creativity and some
careful scripting.









 
--
Tony Lawrence
SCO/Linux Support Tips, How-To's, Tests and more: 








Enter your email address for automatic notification of new posts here
(be sure to whitelist 'feedburner.com' if you use spam filtering)

Or use any RSS reader

Delivered by FeedBurner


M3IP inc.

Views for this page
Today This Week This Month This Year  Overall
129181 846

/Bofcusm/1110.html copyright 1997-2004 (various authors) All Rights Reserved

Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

More:
       - Newsgroup




Unix/Linux Consultants

Your ad here - $48.00 yearly!

http://echo3.net/ Unix/Linux Custom Applications, Web Hosting, C/C++ Programming Courses


SCO, OpenServer, UnixWare, software, servers, security, networks, installation, administration, troubleshooting, maintenance, Watchguard, firewalls, VPNs, e-mail. Visit us at http://opensystemscomputing.com and www.go2unix.com.


http://www.vss3.com SCO/Caldera OpenServer, Unixware & Linux. Tarantella & Non-stop Clustering



Twitter
  • Nov 18 20:41
    I'll be out all day Wednesday the 19th, hard to reach even by phone. Leave a message and have patience.
  • Nov 18 10:07
    What am I doing? Not doing what I WANT to be doing! Oh, well, in every life a little work must fall..




card_image








Change Congress


Related Posts