Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i'm having a few programs with CUPS there just small one and i'm sure there's an easy fix. i want to be able to access my cups web interface from another computer on my network but when i type in http://192.168.1.172:631 i can't get to it ... although when i'm on my fedora box i can type http://localhost:631 and i can access it ...
also how do you set a default printer via the CUPS web interface
Go to http://localhost:631/ and click Do Administrative Tasks and enter your root information (i.e. root, root password), and under printers, click add printer. I didnt install my printer this way, so I can't help you any farther, Mandrake installed my printer for me (mandrake install is easier than windoze!).
i'm having a few programs with CUPS there just small one and i'm sure there's an easy fix. i want to be able to access my cups web interface from another computer on my network but when i type in http://192.168.1.172:631 i can't get to it ... although when i'm on my fedora box i can type http://localhost:631 and i can access it ...
192.168.1.631 looks like an internal IP to me, it's not routable from outside the LAN.
Are you behind a rooter?
A) Is the apache service running on your computer at http: //192.168.1.172:631.
B) Is the firewall allowing this port.
C) Does cups.conf allow the access?
Quote:
<Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Being able to use the interface isn't as simple as logging in as root on some systems because cups runs as user 'lp'. I think that you need to be a member of the 'sys' group before you can use the administration features of the cups web interface. But if you have access using http://localhost:631 at the computer, then the access will be the same (at the 192.168.1.172 host that is ).
this is the cups.conf file found int he /etc/dbus-1/system.d/ directory
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<!-- Only root can send this message -->
<policy user="root">
<allow send="com.redhat.PrinterSpooler.QueueChanged"/>
</policy>
<!-- Allow any connection to receive the message -->
<policy context="default">
<allow receive="com.redhat.PrinterSpooler.QueueChanged"/>
</policy>
</busconfig>
~
actually in My System it's cupsd.conf.
In slackware 10 it's under /etc/cups/cupsd.conf
and its looks like this:
Code:
# Possible values:
#
# Always - Always use encryption (SSL)
# Never - Never use encryption
# Required - Use TLS encryption upgrade
# IfRequested - Use encryption if the server requests it
#
# The default value is "IfRequested".
#
<Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
</Location>
#<Location /classes>
#
# You may wish to limit access to printers and classes, either with Allow
# and Deny lines, or by requiring a username and password.
#
#</Location>
But I don't know. Fedora has the tendency to alter everything
Last edited by perfect_circle; 02-10-2005 at 08:54 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.