LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-08-2006, 11:39 AM   #1
solar1951
Member
 
Registered: May 2005
Location: France
Distribution: Ubuntu Feisty and Mint Cassandra
Posts: 86

Rep: Reputation: 15
cups client not printing on server


I have searched high and low and tried what must be every conceivable cupsd.conf arrangement and variable but I cannot get my portable running PCLinuxOS to print to my Canon printer attached to my Fedora 5 desktop.
I can see the printer from the client and it will send a print file to it with no error message coming back but the access log in the cups interface - localhost:631 - just has the following line repeated as the client tries to print - client lan address 10.0.0.5

10.0.0.5 - - [08/Sep/2006:18:27:04 +0200] "POST / HTTP/1.1" 403 0 - -

This is repeated every 30 secs and the 403 error is access denied I believe.

I can print locally and also from 2 other portables running XP through both the lan and the wireless network by using the protocol "http://10.0.0.1:631/printers/Canon" with no problem.

So why the f*ck wont my linux portable print to my linux controlled cups server - I have spent days on this and am really pissed !

Here is my cupsd.conf
<Location /printers/Canon>
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
AuthType None
Allow from All
</Location>
Browsing On
BrowseProtocols cups
BrowseOrder Deny,Allow
BrowseAllow from @LOCAL
BrowseAddress 255.255.255.255
Listen *:631

OK Gurus where to now ? Why is cups such a sh*t to get configured, it should be easy and the documentation sucks.

I shall be calmer after some more beer !
 
Old 09-08-2006, 12:45 PM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
It looks to me like you have a deney=all and allow only localhost, 127.0.0.1. The XP boxes are working because they go through samba, and then to the localhost. Add a line to allow 10.0.0.5 or comment out the deny all and try it.

I have found cups client to cups server is very easy to get working, it worked for me from Knoppix on a lapytop to my Mandriva server first try.

Also look to see it you have a /etc/hosts.deny and /etc/hosts.allow files that may be blocking things.
 
Old 09-08-2006, 02:06 PM   #3
solar1951
Member
 
Registered: May 2005
Location: France
Distribution: Ubuntu Feisty and Mint Cassandra
Posts: 86

Original Poster
Rep: Reputation: 15
Thanks for the reply but I have tried that and blanking deny all just stops cups from running. Also you will see further down the line "Allow all" which should cover all eventualities

Host allow and deny are clean
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
printing to remote cups server m00t00 Linux - General 3 01-22-2006 10:34 PM
CUPS? Client? Server? Confusion! Wordan Linux - Software 0 11-02-2004 04:29 PM
remote cups printing to a smb/cups print server? justanothergeek Linux - Networking 2 09-15-2004 08:31 AM
CUPS not printing - client-error-not-found xmnemonic Linux - Hardware 1 05-22-2004 02:31 PM
printing from win 98 client to samba printer on red hat linux with cups shashi_lq Linux - Networking 0 12-10-2003 01:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:10 PM.

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