Linux-Hams archive - August 1998: Starting TNOS

Starting TNOS

Scott R Johnson (qgbgj.nbkvzkkfd@sernapesca.cl)
Sat, 01 Aug 1998 17:13:13 -0700


Hello All, I'm very, very new to Linux, running TNOS 2.22 on Linux
RedHat 5.0 and need some help starting it correctly. I would like to
make it
respawn as it is shown in the TNOS examples but when I try these I get
the statement /tnos/startnos: USER: No such file or directory

In the inittab I have added 7:2345:respawn:/tnos/startnos /dev/tty7

and in the startnos file
cd /tnos
export TZ=CST5CDT
export TERM=console
rm -f /tnos/spool/mqueue/*.lck
rm -f /tnos/spool/mail/*.lck
exec ./tnos < $1 > $1 2>&1

I think my problem is with the "< $1 > $1 2>&1" line. If I change this
to "exec ./tnos -U 0" it does start but will crash when I type anything
on the keyboard. Can someone explain what the "< $1 > $1 2>&1" is
doing or looking for and what am I missing for this to work correctly.

Any help understanding this is much appreciated.

Thanks.....Scott