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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-28-2003, 04:10 AM
|
#1
|
LQ Newbie
Registered: Mar 2003
Distribution: Redhat 8.x
Posts: 12
Rep:
|
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
|
|
|
06-28-2003, 04:16 AM
|
#2
|
LQ Newbie
Registered: Mar 2003
Distribution: Redhat 8.x
Posts: 12
Original Poster
Rep:
|
Apologies, just realised the title of this post should have read 'if it was *off* at boot time'. My fault it nobody replies now...
|
|
|
06-28-2003, 12:16 PM
|
#3
|
Member
Registered: Jun 2003
Location: Netherlands
Distribution: Red Hat Linux 9, FreeBSD 4.8, Knoppix 3.2
Posts: 182
Rep:
|
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.
|
|
|
06-29-2003, 03:48 AM
|
#4
|
LQ Newbie
Registered: Mar 2003
Distribution: Redhat 8.x
Posts: 12
Original Poster
Rep:
|
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!
|
|
|
06-29-2003, 05:33 AM
|
#5
|
Member
Registered: Jun 2003
Location: Netherlands
Distribution: Red Hat Linux 9, FreeBSD 4.8, Knoppix 3.2
Posts: 182
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 01:36 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|