1 |
On 9/14/06, darren kirby <bulliver@×××××××××××.org> wrote: |
2 |
<SNIP> |
3 |
> |
4 |
> OK, I just tried lpq on my system (on a local terminal) and it works fine. |
5 |
|
6 |
As it did on mine before I took down the Mac. I may as well try |
7 |
turning the MAc on again this evening and see if this problem really |
8 |
changes when it's on the network. |
9 |
|
10 |
> Here's an idea, maybe the lpq command needs to have explicit access to: |
11 |
> |
12 |
> <Location /admin> |
13 |
> </Location> |
14 |
|
15 |
HEre is my admin section from /etc/cups/cupsd.conf: |
16 |
|
17 |
<Location /admin> |
18 |
|
19 |
AuthType Basic |
20 |
AuthClass System |
21 |
|
22 |
## Restrict access to local domain |
23 |
Order Deny,Allow |
24 |
Deny From All |
25 |
Allow From 127.0.0.1 |
26 |
|
27 |
#Encryption Required |
28 |
</Location> |
29 |
|
30 |
> |
31 |
> to access the queue...though this is a crapshoot, as I believe 127.0.0.1 is |
32 |
> allowed this access by default. |
33 |
> |
34 |
> > I've seen this before, actually, when the Mac was turned off. |
35 |
> > Linux/Gnome would only see the local CUPS server after it had seen the |
36 |
> > remote server on the Mac. |
37 |
> > |
38 |
> > I'm thinking that the system (some part of it anyway) has cached |
39 |
> > the fact that the Mac had a CUPS server somewhere. Now that the Mac is |
40 |
> > gone it cannot move forward. I have no data to back up that idea |
41 |
> > though and I have no idea how to prove it true or false... |
42 |
> |
43 |
> Hmm, I have not heard of a Cups 'printer cache' but that certainly doesn't |
44 |
> mean there is not one... |
45 |
> |
46 |
> I assume you have removed all traces of the Mac printer/daemon through the |
47 |
> Cups web administration interface and /etc/cups/client.conf? |
48 |
> |
49 |
|
50 |
I had thought so but it wasn't the case. client.conf had a pointer to |
51 |
to the Mac Mini. I removed it by hand and restarted cupsd here and now |
52 |
get different/better results: |
53 |
|
54 |
lightning ~ # lpq |
55 |
lpq: error - no default destination available. |
56 |
lightning ~ # |
57 |
|
58 |
After setting the local pronter as default using the Cups admin tool |
59 |
it now acts nice: |
60 |
|
61 |
lightning ~ # lpq |
62 |
HP is ready |
63 |
no entries |
64 |
lightning ~ # |
65 |
|
66 |
Thanks for the help! |
67 |
|
68 |
Cheers, |
69 |
Mark |
70 |
-- |
71 |
gentoo-user@g.o mailing list |