emperor: (Default)
Add MemoryShare This Entry
Can anyone help with these two simple config questions?

Firstly, dhcp. I'd like to be able to say "allocate addresses from this range to any unknown hardware addresses, except [this one]" or, ideally "except [this set]". There doesn't seem to be an option for this in dhcpd.conf...

Secondly, cupsd. The printing protocol it uses (lpd) typically involves sending a username and hostname; I'd like to be able to say "send this anonymised user/hostname pair, rather than the real user and/or host". Is that doable?
There are 7 comments on this entry. (Reply.)
 
posted by [identity profile] stephdairy.livejournal.com at 06:22pm on 30/09/2008
Surely cupsd speaks ipp rather than lpd by default?

(S)
emperor: (Default)
posted by [personal profile] emperor at 06:45pm on 30/09/2008
It may do, but printers.conf has URIs of the form lpd://... in it for the print servers
 
posted by [identity profile] stephdairy.livejournal.com at 07:17pm on 30/09/2008
Ah, CUPS as an lpd client rather than a server. You should just be able to say lpd://username@hostname/queue

(S)
emperor: (Default)
posted by [personal profile] emperor at 09:12am on 01/10/2008
Presumably CUPS will still send my hostname in that case, won't it?
 
posted by [identity profile] stephdairy.livejournal.com at 09:25am on 01/10/2008
The LPR protocol doesn't transmit the client's hostname. Obviously the server's lpd will be able to figure it out from your IP address.

(S)
 
posted by [identity profile] stephdairy.livejournal.com at 06:45pm on 30/09/2008
Regarding the dhcp thing, I think you should be able to use deny known-clients within your dynamic pool declaration and then just declare your exception hardware addresses in another scope.

(S)
(deleted comment)
emperor: (Default)
posted by [personal profile] emperor at 07:20pm on 30/09/2008
That's right, yes.

October

SunMonTueWedThuFriSat
      1
 
2
 
3
 
4
 
5
 
6
 
7
 
8
 
9
 
10
 
11
 
12
 
13
 
14
 
15
 
16
 
17
 
18
 
19
 
20
 
21
 
22
 
23
 
24
 
25
26
 
27
 
28
 
29
 
30
 
31