LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 02-10-2005, 06:57 PM   #1
paul_mat
Member
 
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Rep: Reputation: 30
problems with CUPS


hi there,

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
 
Old 02-10-2005, 07:29 PM   #2
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
This might answer your question. If not, get what you can from it, and post the results.

http://www.linux-magazine.com/issue/...k_Printing.pdf

good luck.
 
Old 02-10-2005, 07:29 PM   #3
simeandrews
Member
 
Registered: May 2004
Distribution: Debian
Posts: 341
Blog Entries: 1

Rep: Reputation: 30
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!).
 
Old 02-10-2005, 07:45 PM   #4
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
Quote:
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?
 
Old 02-10-2005, 07:54 PM   #5
paul_mat
Member
 
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Original Poster
Rep: Reputation: 30
yes i'm behind a router, but i want to access it from my LAN not an outside address
 
Old 02-10-2005, 08:04 PM   #6
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
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 ).

Last edited by jschiwal; 02-10-2005 at 08:05 PM.
 
Old 02-10-2005, 08:13 PM   #7
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
Quote:
A) Is the apache service running on your computer at http: //192.168.1.172:631.
Are you sure you need apache for that. I think cups contains a http server for that.

I bet this is a B or C, but not A.
 
Old 02-10-2005, 08:35 PM   #8
paul_mat
Member
 
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Original Poster
Rep: Reputation: 30
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>
~
 
Old 02-10-2005, 08:51 PM   #9
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CUPS Problems lman817 Linux - Software 3 05-27-2005 02:10 AM
Problems with cups mario8723 Arch 9 04-16-2005 12:54 AM
Cups problems... mabs Linux - Software 1 11-19-2004 05:31 PM
problems installing cups kudos Slackware 1 02-09-2004 08:08 AM
CUPS problems E-Oreo Linux - General 0 12-29-2003 11:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration