LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-15-2003, 02:19 PM   #1
ry
Member
 
Registered: Apr 2001
Location: Earth
Distribution: Red Hat, Fedora Core
Posts: 44

Rep: Reputation: 15
CUPS remotely


Hi,

Can you please help me configure CUPS...I need to configure it remotely using a browser...my current machine doesnt have a GUI...but I can use lynx to check if the CUPS is running..meaning I can run this command locally:

lynx http://localhost:631

But I want to access that using a different machine.....can somebody help me configure my cups..I want to open it in a GUI browser which is available in another machine (remotely)....can I do that? Right now, I cannot browse it using the other machine...when typing the location:

10.199.1.1:631

I received an error access denied...

HELP!!!!!
 
Old 05-15-2003, 04:02 PM   #2
nxny
Member
 
Registered: May 2002
Location: AK - The last frontier.
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771

Rep: Reputation: 30
edit /etc/cups/cupsd.conf and replace your Location / and Location /admin section with something that looks like this.
<Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From zzz.zzz.zzz.zzz
Allow From xxx.xxx.xxx.xxx
</Location>

<Location /admin>
AuthType Basic
AuthClass System
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From zzz.zzz.zzz.zzz
Allow From xxx.xxx.xxx.xxx
</Location>
zzz.zzz.zzz.zzz = the cups machine's IP on its primary network interface

xxx.xxx.xxx.xxx = the IP address of the machine you are trying to access the cups machine from. If you go through a proxy, the proxy's external address.

/sbin/service cups restart

Make sure you dont are not behind a firewall ( a router with port blocking ) or a local iptables/ipchains firewall on the cups machine. Try again. HTT
 
Old 05-16-2003, 10:21 AM   #3
ry
Member
 
Registered: Apr 2001
Location: Earth
Distribution: Red Hat, Fedora Core
Posts: 44

Original Poster
Rep: Reputation: 15
Thanks...

But it didnt work...any ideas why???

I received an error message from the client machine:

The following error was encountered:

* Access Denied.
 
Old 05-17-2003, 01:35 AM   #4
nxny
Member
 
Registered: May 2002
Location: AK - The last frontier.
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771

Rep: Reputation: 30
Try
telnet 10.199.1.1 631

from the remote machine and see what it says. Sounds to me like a port blocking issue.

Post your cupsd.conf
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing Problem (cups / cups-lpd) daleman Linux - Software 3 04-08-2005 08:01 AM
remote cups printing to a smb/cups print server? justanothergeek Linux - Networking 2 09-15-2004 08:31 AM
Slackware 9 and CUPS (CUPS=crap) - printing carboncopy Slackware 21 07-29-2003 03:27 PM
CUPS in SuSE <> Cups RH' Like? Tiago Cruz Linux - Hardware 0 02-13-2003 12:46 PM
cups-libs need to install cups illtbagu Linux - Newbie 3 01-23-2003 07:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:32 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