Hylton Conacher (ZR1HPC) wrote:
Hi Sid,
Sid Boyce wrote:
Hylton Conacher (ZR1HPC) wrote: [snip]
<STUFF DELETED>
Under #ServerName myhost.domain.com in the client.conf I have: "ServerName 192.168.0.1 .." #sans quotes of course. :)
I'm thinking the '..' needs to be removed?
That's correct, they were just included to show what was needed, i.e just the stuff in the quotes.
On the server /etc/cups/cupsd.conf "Browsing On".
It is on on the server.
"rccups restart" on both boxes.
Any particular order like M$? ie server first.
I'll do the server first jic.
Server first.
"tail -f /var/log/messages" on both to see what requests and errors are being generated
I rebooted the server, didn't log in, rebooted the client, didn't log in.
Server: Ran 'tail..' on server and repeated the 'tail' every 10 secs for approx 2 mins. Saw nothing to do with cups or communication. Did notice a message in /var/log/messages saying:
18:51 Umalusi kernel: alps.c : E7 REPORT 10 00 64 18:51 Umalusi kernel: alps.c : E6 REPORT 00 00 64
As I didn't see anything about CUPS. as well as not knowing what it means, I left it, unhappily I might add, as it mentions kernel.
Hmmmm.... my box was down, fresh install of 9.3 and it seemed to have DVD drive problems, halting while installing packages, but the box was still alive. I enabled "BrowseAddress @IF(eth0)" without the quotes, "rccups restart" and it started broadcasting. IP barrabas.site.ipp > 192.168.10.255.ipp: UDP, length: 182
I ran the 'tail command on tee client after stopping the server 'tail'. Saw nothing and refreshed a few times.
lpq on the client with "tcpdump -i eth0" running, /etc/cups/client.conf
has the line "ServerName barrabas.site".
03:20:17.546125 arp who-has barrabas.site tell Boycie.site
03:20:17.547081 arp reply barrabas.site is-at 00:11:d8:45:6c:c6
03:20:17.546178 IP Boycie.site.41137 > barrabas.site.ipp: S
2665829003:2665829003(0) win 5840
It would seem to my unknowledgable ass that you are trying to determine if there are broadcasts from the printer server but not from the client as if there was any from the client it would mean it also thought it was a print server. Correct?
Regards
The server should be the one doing the broadcasts. On the client "ps fax|grep cups" shows cupsd (server) isn't running which is correct, on the server --- barrabas:/ftp/May05/MPlayer-1.0pre7 # ps fax|grep cups 22890 pts/3 S+ 0:00 | | \_ grep cups 9669 ? Ss 0:00 /usr/sbin/cupsd I shall send you separately my /etc/cupsd.conf on the server and /etc/cups/client.conf from the client. Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Keen licensed Private Pilot Retired IBM Mainframes and Sun Servers Tech Support Specialist Microsoft Windows Free Zone - Linux for all Computing Tasks