LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 03-01-2006, 01:07 PM   #1
va3dxs
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 ...userlocal.com/articles/slackwarecups.php. 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, 02:20 PM   #2
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
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, 02:25 PM   #3
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,116

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

Run:
Code:
/etc/rc.d/rc.cups status
If you get something like the reply
Code:
-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:
Code:
chmod +x /etc/rc.d/rc.cups
/etc/rc.d/rc.cups start
Eric
 
Old 03-01-2006, 03:14 PM   #4
va3dxs
LQ Newbie
 
Registered: Feb 2006
Posts: 27

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


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
network printing via cups rafalek Linux - General 5 03-30-2007 04:54 AM
Network printing with CUPS tarheel92x Linux - Networking 1 09-25-2005 08:10 AM
how to use network cups printer snoble Linux - Newbie 1 10-18-2004 12:31 PM
CUPS and network adresses ionmich Slackware 1 09-27-2003 12:38 PM
Network printing with CUPS raypen Linux - Networking 2 05-08-2003 03:52 PM


All times are GMT -5. The time now is 12:18 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration