[opensuse] Printer on LTSP client
Hi All, I have a ltsp server and a thin client that works. Now I need to connect a USB printer to the client and make that work. I have googled and followed the documentation, and different variations of it, but I cannot get it to work. This is what I have in the lts.conf file: [00:20:ED:79:00:BC] PRINTER_0_TYPE = U PRINTER_0_DEVICE = /dev/usb/lp0 I have also tried /dev/usblp0 When I telnet to port 9100 of the client, it connects and then disconnects immediately the first time. If I telnet again, I get a Connection Refused. If I leave it alone for about 10 minutes, I can telnet again to get connected and disconnected again. I have set up a printer in cups as an IP printer to port 9100 on the client, but it does not work. The ltsp server is running SUSE 10.2 and we use ltsp 4.2 Any ideas how to get this working? -- Andre Truter | Software Consultant | Registered Linux user #185282 Jabber: andre.truter@gmail.com | http://www.trusoft.co.za ~ A dinosaur is a salamander designed to Mil Spec ~ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Andre Truter wrote:
Hi All,
Hi Andre,
I have a ltsp server and a thin client that works. Now I need to connect a USB printer to the client and make that work. I have googled and followed the documentation, and different variations of it, but I cannot get it to work.
<snip> Could printer/device usage possibly be permission based, as so much else is on Linux? I don't have the solution but hope this helps. I would think that if you installed the printer as a local printer on the client and then made sure its print queue has 777 permissions. Then install a network printer on the LTSP box and point it to the printer on the client. Now create a file on the LTSP that links to the LTSP printer config. Make this 'linking' file have permissions of 755. On all the other clients have them point to the 'linking' file. My thinking might be Windows induced but the logic above works for me. Putting it into practice is another story. :) Regards Hylton -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sat, 2007-09-01 at 14:41 +0200, Hylton Conacher (ZR1HPC) wrote:
Andre Truter wrote:
Hi All,
Hi Andre,
I have a ltsp server and a thin client that works. Now I need to connect a USB printer to the client and make that work. I have googled and followed the documentation, and different variations of it, but I cannot get it to work.
<snip>
Could printer/device usage possibly be permission based, as so much else is on Linux?
I don't have the solution but hope this helps.
I would think that if you installed the printer as a local printer on the client and then made sure its print queue has 777 permissions.
Then install a network printer on the LTSP box and point it to the printer on the client.
Isn't the LTSP about running apps from the "Server". Doesn't a client (in this configuration) boot _from_ the server and thereby _not_ even require/have a harddrive? That being the case there would not be anywhere to install the printer on the "client". As I recall the OP even stated that the printer was on port 9100 which would imply that the printer was on a JetDirect device and make it a network printer in which case the printer can be located anywhere, even next to the client machine. Ken -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Ken Schneider wrote:
On Sat, 2007-09-01 at 14:41 +0200, Hylton Conacher (ZR1HPC) wrote:
Andre Truter wrote:
Hi All, Hi Andre,
I have a ltsp server and a thin client that works. Now I need to connect a USB printer to the client and make that work. I have googled and followed the documentation, and different variations of it, but I cannot get it to work. <snip>
Could printer/device usage possibly be permission based, as so much else is on Linux?
I don't have the solution but hope this helps.
I would think that if you installed the printer as a local printer on the client and then made sure its print queue has 777 permissions.
Then install a network printer on the LTSP box and point it to the printer on the client.
Isn't the LTSP about running apps from the "Server". Doesn't a client (in this configuration) boot _from_ the server and thereby _not_ even require/have a harddrive? That being the case there would not be anywhere to install the printer on the "client". As I recall the OP even stated that the printer was on port 9100 which would imply that the printer was on a JetDirect device and make it a network printer in which case the printer can be located anywhere, even next to the client machine.
What is implied and what actually is are two different things. These days I doubt a PC manufacturer, here in SA, would let a box out of their store without a HDD. The OP needs to let us know. I do not know about JetDirect devices but if it was a network printer it should surely be able to be installed on the LTSP server and shared for its users? Hylton -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 02/09/07, Hylton Conacher (ZR1HPC) <hylton@conacher.co.za> wrote:
What is implied and what actually is are two different things. These days I doubt a PC manufacturer, here in SA, would let a box out of their store without a HDD. The OP needs to let us know.
In this case there are no implications. The subject line actually makes it quite clear. LTSP = Linux Terminal Server Project, which is a project which allows you to connect dumb terminals (diskless workstations) to a single server. You do get special thin client units designed specifically for this job Here is a list of some of them: http://linuxdevices.com/articles/AT4923746399.html Unfortunately they are quite expensive here in SA, so we build our own, using normal PC components. It is basically just a PC without any fancy hardware and without a disk. (We don't care what PC manufacturers offer in terms of PCs as we build our own, so we are not dependent on their specs)
I do not know about JetDirect devices but if it was a network printer it should surely be able to be installed on the LTSP server and shared for its users?
The problem was not installing the printer on the server, but getting the dumb terminal, to which the printer is connected, to see the usb port where the printer is connected. The way it works is that you connect the printer physically to a dumb terminal. Seeing that the terminal has no software installed on it, you cannot install a printer driver on it. So, you set up the boot config of the terminal to map the usb port to a JetDirect port (9100). Then you configure the printer on the server and points it to the port on the dumb terminal. I managed to solve the problem, BTW. We had 3 kernels set up on the server for the clients to use for booting, but unfortunately something went wrong with the LTSP setup and we only had a set of modules for one of the kernels. So I just changed the boot config of LTSP to use the kernel that does have modules and the problem was solved. -- Andre Truter | Software Consultant | Registered Linux user #185282 Jabber: andre.truter@gmail.com | http://www.trusoft.co.za ~ A dinosaur is a salamander designed to Mil Spec ~ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Andre Truter
-
Hylton Conacher (ZR1HPC)
-
Ken Schneider