Andrew Sackville-West wrote:
On Tue, 24 Jan 2006 17:01:53 -0500
Chinook <[EMAIL PROTECTED]> wrote:

Jacob S wrote:
On Tue, 24 Jan 2006 14:09:05 -0500
Chinook <[EMAIL PROTECTED]> wrote:

<snip>
I'm not having any problem "seeing" the Linux printer from my Mac.
It shows up in the CUPS interface and app print dialog on my Mac.  In
fact adding either or both of your suggestions prevents me from
"seeing" the printer,  so I left the cupsd.conf  browsing options
alone to accept defaults there.


As I understand it, browsing (i.e. seeing) and selecting (i.e. using) are two different things. I can see the [EMAIL PROTECTED] thing, but I can't
print to it.
Yes, it definitely appears that way. With the Browse command you can
tell it to announce itself to one subnet while Listen tells it to only
listen on another subnet. Can you copy/paste all of the Browse and
Listen arguments you have in your cupsd.conf?

The text file is at:
 http://homepage.mac.com/lee_cullens/COPYOFcupsd.conf

a couple things I saw that may matter, maybe not.

1) turn up your logging on at least the linux side if not the mac side jsut to 
see what is happening. you're currently set at info. tail the log on linux side 
so you can watch what happens when the mac tries to connect.

I hadn't got to that point yet because I apparently don't have a connection to look at the logs for - am I wrong?

2) the list two include lines:

# Include files in /etc/cups/conf.d
Include /etc/cups/cups.d/ports.conf
Include /etc/cups/cups.d/browse.conf

have you looked at those to make sure there is no conflict?

They're just flag status files - both one-liners.
The first contains "Listen localhost:631"
The second contains "Browsing on"

It seems to me the first is a further clue that CUPS on my Linux box isn't listening to anything but localhost, unless I'm misinterpreting it.

As I (hopefully) explained in my later update, trying to print from
my Mac to the printer I "see" on the Linux box gives me the error
"can not resolve debian1" or "can not resolve 192.168.2.48" whichever
I use.   If I set up a printer on my Mac pointed at the Linux printer
and try to use it, then it just sets there with the message
"192.168.2.48 is busy - will try again in 30 seconds."
When you point it to 192.168.2.48, I am assuming that means you added
the printer to your list of printers manually? And you're doing this
through http://localhost:631 in your browser, right?
Yes
 Are you pointing
it to ipp://debian1/ipp/printer_name or
ipp://debian1/printers/printer_name? The cups examples all show
hostname/ipp/printer_name, but I have only gotten it to work using
hostname/printers/printer_name so far. I am not sure exactly where the
Mac points and haven't bothered to check it out, since it "just works".

both ways for both ipp and http choices
This despite including the Allow suggestion from Wackojacko.


Both your suggestions were appreciated :-)


What is BUGGING the heck out of me is where Jacob zeroed in on the irregularity I see. Doing a port scan from my Linux box to my Mac I
see port 631 open for ipp, but doing the reverse I do not!!!  I have
ruled out a firewall issue on both the Mac and router, and if there
is one on my Linux box (I didn't specifically install one yet) I wish
someone would tell me where to look?

this got me thinking. try a portscan from the linuxbox of the linux box.

nmap (or whatever portscanner) localhost

should tell you what is open from the linux side. My thinking is that maybe the 
mac isn't seeing :631 not because its not open, but because the mac won't look 
for it? follow?

A


Funny you should mention this as I never scanned the Linux box ports from the Linux box.

Doing so tells me the same thing as when done from my Mac - ssh and afpovertcp (zeroconf) ports but no ipp port (631) open. To my simple way of thinking, it looks like my Mac is looking for port 631 on the Linux box but it's not open (listened to) there. Which, of course, leads to why not? Which in turn leads to the CUPS configuration on my Linux box. Am I all wet?

Hopefully Jocob, or someone else with such a working connection, will spot my (presumedly dump) oversight in the cupsd.conf file I put up, or tell me what other configuration file to look at. In the meantime I'll go back to reading the CUPS tomes. Thanks for your thoughts - they brought me a little closer to finding the problem.

Lee C
What do you see when you run "telnet localhost 631" on the Linux
computer? Now try running "telnet 192.168.2.48 631" on your Linux
computer (assuming '2.48 is the ip of the Linux computer).
On my computer I see the following when running those commands:
$ telnet localhost 631
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.

$ telnet 192.168.35.10 631
Trying 192.168.35.10...
Connected to 192.168.35.10.
Escape character is '^]'.

I apparently don't have telnet installed - should I and how much of it if so?

I see it (as blind as I am) as an issue with Mac OS X and/or Apple's tinkered CUPS there, and/or threading my way through the labyrinth
of CUPS configuration on my Linux box.
So far the only abnormality I found in the web interface side of OS X's
cups is that they had a fairly limited supply of HP drivers. But that
was no longer an issue once I enabled browsing on the Linux print
server.

HP drivers are flaky on Macs. One of the reasons I have my HP scanner attached to my Linux box.

HTH,
Jacob
Thank you and Wackojacko for your interest and patience,
Lee C


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to