Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Having problems with CUPS
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
icefaerie
n00b
n00b


Joined: 02 Oct 2004
Posts: 50

PostPosted: Fri Dec 31, 2004 9:08 am    Post subject: Having problems with CUPS Reply with quote

Not sure if this is exactly the right place, but I am printing over a network, so here we go.

I've been trying to set up CUPS. Fortunately, we do have one printer on my network for which CUPS privides drivers, an Epson Stylus Color C60.

So I go to set up CUPS in the web interface at http://localhost:631/admin. And it can't connect, says Firefox. So I try http://127.0.0.1:631/admin, and still no luck.

Just to make sure I'm not losing my mind, I check ifconfig, and yup, local loopback is up and running.

Alright, so then I decide to try the command line setup instead.

So, I run LinNeighborhood and see that my printer's on 192.168.1.110. Following the example given in the documentation, I do...

/usr/sbin/lpadmin -p StylusColor -E -v socket://192.168.1.110 -m stcolor.ppd

And it says:

lpadmin: Unable to connect to server: Connection refused

I really don't understand what's going on, so I would really appreciate your help. Thank you!
Back to top
View user's profile Send private message
shagrat
Apprentice
Apprentice


Joined: 10 Mar 2003
Posts: 219
Location: Norway

PostPosted: Fri Dec 31, 2004 1:50 pm    Post subject: Reply with quote

Check if your /etc/cups/cupsd.conf have two location tags similar to this:

Code:

<Location />
Order Deny,Allow
Deny From All
Allow From 192.168.1.*
</Location>

<Location /admin>
AuthType Basic
AuthClass System
Order Deny,Allow
Deny From All
Allow From 192.168.1.*
</Location>
Back to top
View user's profile Send private message
icefaerie
n00b
n00b


Joined: 02 Oct 2004
Posts: 50

PostPosted: Fri Dec 31, 2004 3:46 pm    Post subject: Reply with quote

Thanks. The file didn't have those tags, so I added them.

However, it's still saying it can't connect to localhost:631/admin, and the command line is giving me the same error message as before.
Back to top
View user's profile Send private message
icefaerie
n00b
n00b


Joined: 02 Oct 2004
Posts: 50

PostPosted: Fri Dec 31, 2004 3:48 pm    Post subject: Reply with quote

Um, oops, silly me. I assumed CUPS had started, but it hadn't. ^^;;;

Thanks for your help!

Edit:
Well, I tried to print something, but it doesn't work...

From the admin page:
Printer State: processing, accepting jobs.
"Network host '192.168.1.110' is busy; will retry in 30 seconds..."

Except that I know the printer isn't busy because I'm the only one on the network at the moment, and I just ran to check it, and it's definitely not busy.

The printer is on a Win 98SE machine.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum