Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 03-01-2006, 02:07 PM   #1
LQ Newbie
Registered: Feb 2006
Posts: 27

Rep: Reputation: 15
CUPS, network and packages..

I am a pretty new Linux user and have just installed Slackware 10.2 on an old machine (PII/225MHz/64M). In general the installation was very straightforward, and I am very impressed with the results - I have a perfectly usable K desktop which was certainly not the case with some other distros tried. I do (of course!) have one problem and a couple of questions:

I cannot get CUPS to work at all:

If, as suggested in 'this is how I do it all' on this forum, I try connecting to ...localhost:631, I get the response 'Could not connect to host localhost (port 631). I have also tried the procedures suggested in However, even as root I get as a result of /usr/sbin/lpinfo -v "lpinfo: Unable to connect to server. Connection refused", and much the same for other commands. I assume that I am doing something silly and would greatly appreciate some help in knowing what it is! (Ss I am a new user it won't let me put a full url above)

I have a little foible on network, and specifically internet connections immediately after boot. I can ping an internet domain and the ns will interpret and I succeed. If however I try to connect using either Konqueror or Firefox, I get 'page not found' for several attempts. Then it all starts working and stays that way...

I think I have come to grips with SWareT. Is there a list anywhere of all available packages, or do I have to just try them and see if they are found? Also, will SWareT work with any .tgz package?

Sorry if these questions have obvious answers, but I really am trying to learn!
Old 03-01-2006, 03:20 PM   #2
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
cups is a service that may not be running. Try checking if the cupsd daemon is running.

There is one gotcha in store yet. Cups doesn't run as root, so if you get a requestor for a username/password from cups, using root and the root password won't work. However you need to be root to save the cups.conf file in the end.
The easiest way is to use the lppasswd command. Add yourself as a user. Then use "kdesu konqueror" and point to "http://localhost:631". When cups asks for authentication, use the username/password you entered with the "lppasswd" program.
Old 03-01-2006, 03:25 PM   #3
Alien Bob
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 6,694

Rep: Reputation: 4019Reputation: 4019Reputation: 4019Reputation: 4019Reputation: 4019Reputation: 4019Reputation: 4019Reputation: 4019Reputation: 4019Reputation: 4019Reputation: 4019
First thing I can think of: did you make the start script executable?

/etc/rc.d/rc.cups status
If you get something like the reply
-su: /etc/rc.d/rc.cups: Permission denied
then your CUPS did not start because it was disabled.
Manually fix this as root by running:
chmod +x /etc/rc.d/rc.cups
/etc/rc.d/rc.cups start
Old 03-01-2006, 04:14 PM   #4
LQ Newbie
Registered: Feb 2006
Posts: 27

Original Poster
Rep: Reputation: 15
Thanks so much guys. Instant and complete success!


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
network printing via cups rafalek Linux - General 5 03-30-2007 05:54 AM
Network printing with CUPS tarheel92x Linux - Networking 1 09-25-2005 09:10 AM
how to use network cups printer snoble Linux - Newbie 1 10-18-2004 01:31 PM
CUPS and network adresses ionmich Slackware 1 09-27-2003 01:38 PM
Network printing with CUPS raypen Linux - Networking 2 05-08-2003 04:52 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:18 PM.

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