[K12OSN]Centos+USB+local printer... and sharing it

mumbler9 ssh at tranquility.net
Fri Jun 13 04:17:12 UTC 2008

I'm not having very good luck explaining... and of course PCE was 
supposed to be PXE below...

As per Lewis' post on Centos + USB earlier?

Make sure
  returns pc100.foo.bar.com

host pc100.foo.bar.com

Mine does not have lookup (although I though using an IP address in CUPS 
might still work. I can ping ws099 and get lookup:

PING ws099.ltsp ( 56(84) bytes of data.
64 bytes from ws099.ltsp ( icmp_seq=1 ttl=64 time=0.111 ms

However I do not get lookup either way with host:

host ws099
Host ws099 not found: 3(NXDOMAIN)
Host not found: 3(NXDOMAIN)

Nmap shows port 9100 open:
Starting Nmap 4.20 ( http://insecure.org ) at 2008-06-12 23:16 CDT
Interesting ports on ws099.ltsp (
Not shown: 1695 closed ports
6000/tcp open  X11
9100/tcp open  jetdirect

Do I have something wrong with DHCP?
Scott S.

Rob Owens wrote:
> mumbler9 wrote:
>> Here's the current stage... the dhcpd.conf file is working, it is 
>> assigning it an IP (and it is PCE boot)
>>     host ws099 {
>>     hardware ethernet 00:30:18:a6:97:a9;
>>     fixed-address;
>>     filename      "/lts/pxe/pxelinux.0";
>>     }
>> In lts.conf I have the terminal stated like this:
>> [00:30:18:a6:97:a9]
>> PRINTER_0_DEVICE        =/dev/usb/lp0
>> PRINTER_0_TYPE          = U
>> MODULE_01          = usblp
> I'm pretty sure you don't need to specify MODULE_01 if you're using LTSP 
> 4.2 (included in K12LTSP 5.0EL).  I don't think it hurts anything, but 
> you might want to take it out and see what happens.  Everything else 
> looks good.
>> In CUPS I added it like this, choosing HP and Laserjet 1200:
>> socket://
>> CUPS shows it as started, and it looks all happy:
>> Jun 12 00:00:11 ws099 lp_server: Started with: -n 9100 -w -d /dev/usb/lp0
>> Jun 12 00:00:11 ws099 last message repeated 8 times
>> Jun 12 00:00:11 ws099 init: Id "p0" respawning too fast: disabled for 
>> 5 minutes
>> Jun 12 00:02:08 bofh2 kernel: ppdev: user-space parallel port driver
>> Jun 12 00:05:12 ws099 lp_server: Started with: -n 9100 -w -d /dev/usb/lp0
>> Jun 12 00:05:32 ws099 ltspinfod: Connection from port 40283
>> Jun 12 00:06:31 ws099 ltspinfod: Connection from port 40319
>> Jun 12 00:12:38 ws099 lp_server: Started with: -n 9100 -w -d /dev/usb/lp0
>> CUPS gives an error of:
>> "/usr/lib/cups/backend/socket failed"
>> and the printer goes into:
>> Printer State: stopped, accepting jobs, published.
>> While it is in this stopped state, lpstat -l -a shows this:
>> lpstat -l -a
>> HP accepting requests since Thu 12 Jun 2008 12:13:54 AM CDT
> I'm using local printers in K12LTSP 5.0EL and my configuration is the 
> same as yours except that I use etherboot instead of PXE, and I assigned 
> my printer using the hostname (which I have a DNS record for) instead of 
> IP address.  But the way you're doing it looks like it should work.
> -Rob
> ********************************************************
> The information transmitted is intended only for the person or entity to
> which it is addressed and may contain confidential and/or privileged
> material. If you are not the addressee, any disclosure, reproduction,
> copying, distribution, or other dissemination or use of this 
> transmission in
> error please notify the sender immediately and then delete this e-mail.
> E-mail transmission cannot be guaranteed to be secure or error free as
> information could be intercepted, corrupted lost, destroyed, arrive late or
> incomplete, or contain viruses.
> The sender therefore does not accept liability for any errors or omissions
> in the contents of this message which arise as a result of e-mail
> transmission. If verification is required please request a hard copy
> version.
> ********************************************************
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>

More information about the K12OSN mailing list