OK, I've found a reasonably elegant way to hook a phone into
a modem that is connected/in my LTSP terminal and have it work
with vgetty running on my server.

Here is a preliminary step-by-step set of instructions with
minimal explanation.  I'll be happy to explain any step that
anyone has questions with.  A caveat is that I haven't used
this for more than an hour or so, so I'm sure there will be
problems.  One of the reasons I'm posting this is in the hope
that others will try this and we can make this a robust solution
in a short time.  Here's the procedure:

1) Get remserial from http://lpccomp.bc.ca/remserial/ and compile it

2) Copy remserial to the ltsp bin directory

3) Edit inittab in the ltsp etc directory and add the line

e:345:respawn:/bin/remserial -d -p 23000 -s "38400 raw" /dev/ttyS1

   [You may need to change ttyS1 to ttyS0 if that is where your modem
   is connected]

4) Edit lts.conf and add the following line to make sure the
   serial modules get loaded

MODULE_01 = serial

5) Restart your LTSP terminal

6) On your server, copy remserial to /sbin

7) Edit /etc/inittab on your server and add the following lines

   S0:345:respawn:/sbin/remserial -r wildeb -p 23000 /dev/ptyp0
   S1:345:respawn:/sbin/vgetty ttyp0

   [wildeb is the name of the LTSP terminal and needs to be changed
   to whatever your LTSP terminal is named, ptyp0 and ttyp0 need to
   be kept in sync for each terminal you are going to run vgetty
   on; 23000 is the IP port used for communication - this also will
   possibly need changing]

8) telinit q to get your server to reread inittab.

9) tail -f /var/log/vgetty.log.ttyp0 to watch vgetty in action

a) Getting vgetty and getting it to work are left as an exercise
   for the reader.

Kent





-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_____________________________________________________________________
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