Unable to connect to 192.168.2.3 on port 631

Bernd Krumböck b.krumboeck at rewe-group.at
Thu Dec 28 01:16:03 PST 2006


Hello Rüdiger!


This is a typical configuration for SuSE with CUPS 1.1.x server. This
configuration should allow every CUPS client in the network 192.168.2.0/24
to access all printers on this print server. Administration is allowed in
the network 192.168.2.0/24 with authentification (look lppasswd).

If you want to use browsing then uncomment any of the BrowseAdresse
instructions (your daemon will send broadcasts to this network).

(you can replace "Allow From @LOCAL" with "Allow From 192.168.2.0/24" and
"BrowseAllow @LOCAL" with "BrowseAllow 192.168.2.0/24")
------------- cupsd.conf ---------------
LogLevel info
Printcap /etc/printcap
User lp
Group lp
RunAsUser Yes
Port 631

# BrowseAddress 192.168.2.255
# BrowseAddress @LOCAL

BrowseOrder Deny,Allow
BrowseDeny All
BrowseAllow @LOCAL

<Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 127.0.0.2
Allow From @LOCAL
</Location>

<Location /admin>
AuthType BasicDigest
AuthClass Group
AuthGroupName sys
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 192.168.2.0/24
</Location>
-----------------------------------


Hope this helps.


best regards!
Bernd






More information about the cups mailing list