You are not logged in.

#1 2008-12-01 04:04:02

tetonedge
Member
From: Fort Collins, CO
Registered: 2008-08-22
Posts: 71
Website

[SOLVED] CUPS server client issues

I am having trouble with using a cups server setup. In the past I have used the following cupsd.conf on the server and client.conf on the client and the printers automatically show up on the client. But on a new arch set up with both the server and the client using arch and cups this no longer works. Am  I mising something? Thanks

/etc/cups/cupsd.conf

DefaultEncryption IfRequested
LogLevel info
SystemGroup sys root
# Allow remote access
#Port 631
Listen 127.0.0.1:631
Listen 192.168.1.9:631
# Enable printer sharing and shared printers.
Browsing On
BrowseOrder allow,deny
BrowseAllow all
BrowseAddress @LOCAL
DefaultAuthType Basic
<Location />
  Order Allow,Deny
  Allow From 127.0.0.1
  Allow From 192.168.1.*
</Location>
<Location /admin>
  Allow localhost
  # Restrict access to the admin pages...
  Order allow,deny
</Location>
<Location /admin/conf>
  AuthType Basic
  Require user @SYSTEM
  Allow localhost
  # Restrict access to the configuration files...
  Order allow,deny
</Location>
<Policy default>
  <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job>
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>
  <Limit Pause-Printer Resume-Printer Set-Printer-Attributes Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Add-Printer CUPS-Delete-Printer CUPS-Add-Class CUPS-Delete-Class CUPS-Accept-Jobs CUPS-Reject-Jobs CUPS-Set-Default>
    AuthType Basic
    Require user @SYSTEM
    Order deny,allow
  </Limit>
  <Limit Cancel-Job CUPS-Authenticate-Job>
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>
  <Limit All>
    Order deny,allow
  </Limit>
</Policy>

/etc/cups/client.conf

ServerName 192.168.1.9

Last edited by tetonedge (2008-12-02 06:31:48)

Offline

#2 2008-12-01 04:20:10

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: [SOLVED] CUPS server client issues

Are the IP Addresses all correct?
Are you running a firewall that could be blocking port 631? (on either the client, server or somewhere in between)?
Can you add the printeres manually and have them work?

Offline

#3 2008-12-01 04:44:19

tetonedge
Member
From: Fort Collins, CO
Registered: 2008-08-22
Posts: 71
Website

Re: [SOLVED] CUPS server client issues

I have double checked the ip addresses and they are correct and there is not firewall. The printers also can be added manually and work great.

Offline

#4 2008-12-01 20:18:36

tetonedge
Member
From: Fort Collins, CO
Registered: 2008-08-22
Posts: 71
Website

Re: [SOLVED] CUPS server client issues

bump, anybody know why they would not show up in the printer list automatically?

Offline

#5 2008-12-01 21:37:46

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: [SOLVED] CUPS server client issues

If they can be added manually and work fine, then either:
1) The server isn't broadcasting it's availability
2) The client isn't looking for the broadcasts from the server
3) Something along the way is blocking the broadcasts
4) A combination of the above

I'm assuming both computers are on the same physical layer 2 network? (ie, your're using a /24 or 255.255.255.0 network mask)

Offline

#6 2008-12-01 21:42:50

tetonedge
Member
From: Fort Collins, CO
Registered: 2008-08-22
Posts: 71
Website

Re: [SOLVED] CUPS server client issues

They are both on the same physical layer 2 network /24. Is there any way to check 2). I know that the server is broadcasting as I have a Mac laptop that is adding the printers automatically, therefore is seeing the broadcasts and they are being sent and are not blocked.

Offline

#7 2008-12-01 22:12:07

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: [SOLVED] CUPS server client issues

OK, so it's an issue on the client side if other clients are picking them up automatically...

Try adding these lines to the clinet:

Browsing On
BrowseOrder allow,deny
BrowseAllow all

Offline

#8 2008-12-02 03:46:27

tetonedge
Member
From: Fort Collins, CO
Registered: 2008-08-22
Posts: 71
Website

Re: [SOLVED] CUPS server client issues

Okay that fixed it, thanks

Offline

#9 2008-12-02 04:30:30

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: [SOLVED] CUPS server client issues

Sweet - could you edit your original post and change the topic to start with '[SOLVED]' to help others who search the forums for answers in the future please? smile

Offline

Board footer

Powered by FluxBB