On 15 Sep 2003, Dirk H Bartley wrote:

> Greetings
> 
> I've succeeded in using an ltsp workstation as a remote serial port. 
> There are two questions I have though of how I could make it better.
> 
> 1) I am using ser2net on the workstation and am running it by editing
> the inittab in /opt/ltsp/i386/etc and adding the line
> d:345:respawn:/bin/ser2net -n -d -p 7010.  This works great but it is
> then working on all of the clients.  Is there a way to configure a
> command to respawn on a particular client(s).  I could write a shell
> script with a while loop if I could configure a client to run a single
> command, but I am unaware of an lts.conf option to do that.

You could use an RC file.  Like this:

    RCFILE_01   =  your_command

And put 'your_command' in /opt/ltsp/i386/etc/rc.d



> 
> 2) ser2net only works if the serial driver (module?) is installed.  The
> way I am forcing the serial port to be configured is with the following
> line in the lts.conf.
> X_MOUSE_DEVICE      = "/dev/ttyS0"
> Is there a way to activate the serial ports with out using the
> X_MOUSE_DEVICE option in lts.conf.


Yes, just load the serial module, like this:

    MODULE_01  = serial


That should take care of it.

Jim McQuillan
[EMAIL PROTECTED]



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to