Re: [SLUG] CUPS and Xerox

From: Mike Branda (mike@wackyworld.tv)
Date: Mon Dec 06 2004 - 10:56:52 EST


On Sun, 2004-12-05 at 10:56, Chad Perrin wrote:
> Logan Tygart wrote:
> > On Sun, 2004-12-05 at 09:52 -0500, Chad Perrin wrote:
> >
> >>Chad Perrin wrote:
> >>
> >>
> >>>My dilemma now is this: The network is DHCP with two-week IP address
> >>>leases. The printers have IP addresses, but don't seem to have
> >>>hostnames. This means that every two weeks I'll have to change the
> >>>configuration for the printers in CUPS. That's . . . annoying. Does
> >>>anyone have some enlightening information about how I could solve this
> >>>little issue? I'd really appreciate it.
> >>>
> >>
> >>Ahem. My apologies. That wasn't as clear as it should have been.
> >>
> >>The fact that there aren't any hostnames available for these printers
> >>means that I have to refer to them by IP address in CUPS configuration,
> >>and that is why I'd have to change the CUPS configuration every two
> >>weeks (when the IP addresses change).
> >
> >
> > I recommend assigning static IP's to the printers.
> >
>
> Unfortunately, that's not an option in this instance (at least not at
> this time). While I am nominally responsible for the network, the buck
> doesn't stop here. The router that is used doesn't allow some static
> IPs and some dynamics. It's one or the other, and dynamic IPs are
> required for this network.
>
> There's some possibility that the network will eventually be made static
> as a whole, with a subnet for DHCP assignment, but this isn't happening
> soon in any case.
>
> --
> Chad

Chad, do you have access to the router's config via http or other
interface?? I can only think of two answers. Both involve checking the
router conf. You say that the router doesn't have that capability.....
are you ABSOLUTELY sure?? Before I set up a linux box as my router, I
had a cheapie linksys and the static arrangement was in an obscure
spot. It seems silly that the feature is not there but who knows.
Thinking out loud, if the DHCP range is not .1-.254, even if the router
doesn't have a designated "static" section, you could assign a number
outside the DHCP range. The only other thing I can think of is to
assign a static number to the printer that is in the top of the DHCP
range (like.250) that hopefully will never get auto assigned. This is a
bit risky but it works. I've done it. The risk is reduced if you only
have a few things on the network because the chances of them getting
assigned the static number are obviously less. Most routers assign the
first available number sequentially in my experience. This is definitely
a hack but it's at least it's some kind of solution. You said that the
printers won't take a name so neither of these would bust name
resolution.

/thoughts

Mike Branda Jr.

-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:27:34 EDT