LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-28-2003, 05:10 AM   #1
psweetma
LQ Newbie
 
Registered: Mar 2003
Distribution: Redhat 8.x
Posts: 12

Rep: Reputation: 0
Question Making Redhat 9 find printer if it was on at boot time


Can anyone save me some time on this one:

My Redhat 9 finds my local lp0 printer ok at boot time, and I've told kudzu not to complain if the printer isn't there at boot time (i.e. it's off), and all works fine. However, if I turn the printer on *after* I've booted up, jobs sent to the print queue don't make it to the printer.

This isn't a surprise to me, but how to I 'manually' tell Redhat that the printer is back?

Any replies appreciated,
Paul
 
Old 06-28-2003, 05:16 AM   #2
psweetma
LQ Newbie
 
Registered: Mar 2003
Distribution: Redhat 8.x
Posts: 12

Original Poster
Rep: Reputation: 0
Apologies, just realised the title of this post should have read 'if it was *off* at boot time'. My fault it nobody replies now...
 
Old 06-28-2003, 01:16 PM   #3
cropcircle
Member
 
Registered: Jun 2003
Location: Netherlands
Distribution: Red Hat Linux 9, FreeBSD 4.8, Knoppix 3.2
Posts: 182

Rep: Reputation: 30
You can try a couple of things :

a) Starting Kudzu - the hardware detection tool - as root, after startup :

"su -"
<your root password>
"service kudzu start"

b) Try to use CUPS - the Common Unix Printer Service :

Go to "http://localhost:631/printers" with Mozilla or Konquerer and click 'Start printer' on your selected printer.

Good luck.
 
Old 06-29-2003, 04:48 AM   #4
psweetma
LQ Newbie
 
Registered: Mar 2003
Distribution: Redhat 8.x
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks for your reply.

I'd already tried 1. but it made my mouse go absolutely bonkers, and I had to kill X to recover!

So I tried 2, but there was nothing running on port 631.

I'll have to do a bit of reading I think!
 
Old 06-29-2003, 06:33 AM   #5
cropcircle
Member
 
Registered: Jun 2003
Location: Netherlands
Distribution: Red Hat Linux 9, FreeBSD 4.8, Knoppix 3.2
Posts: 182

Rep: Reputation: 30
You can check the port status with the command : "netstat -n -l -t".

It will probably look something like this :

Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:901 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN

You can start cups with the following command :

"/etc/rc.d/init.d/cups start"

(..... or : "service cups start")

Then, look at your port status again :

"netstat -n -l -t"

Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:901 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN

Then try to open "http://127.0.0.1:631/" from your web-browser.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
printer making me look stupid boxerboy Fedora 4 08-20-2005 12:49 PM
making alias, can't find .bashrc file djgerbavore Slackware 10 07-23-2004 09:23 AM
Making printer work after startup. b99andla Mandriva 5 10-20-2003 06:07 AM
grub making my redhat boot into init 1? seth Linux - Software 3 08-25-2003 11:49 PM
how do i make redhat recognize my printer new printer driver Kilahchris Linux - General 2 03-04-2003 06:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:35 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration