TIP: Click on subject to list as thread! ANSI
echo: cbm
to: 6502en...{at}gmail.com
from: Dropnine
date: 2017-06-21 11:50:38
subject: Re: Using tcpser on a Pi for telnet gateway to C64?

On Wednesday, June 21, 2017 at 12:09:36 AM UTC-6, 6502en...{at}gmail.com wrote:
> Thanks for the help!
>
> The PI is being powered by a 5V 1A transformer.
>
> It is connected via a USB to serial adapter to the serial port of a Apple IIe.

The USB to serial are known to be sort of flaky... Saying that, the
hardware should be powered fine with that power source you have.

If you set it up as a service, it should restart automatically if you told
it to in the service file.

To find out if tcpser is still running after it craps out, at the bash type:
ps -ef | grep tcpser

If the resulting list displays that it is still running, then kill it by
its PID.  Don't confuse the "grep tcpser" in the list as the
tcpser command, itself.

If it is not running, then I'd write a quick script that will perform that
ps command above and if tcpser does not exist, then start it. Put an entry
in your CRON to run that script every 5 minutes or quicker.

Still, the best practice would be to make a tcpser service and tell the
service to restart on termination.

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
SEEN-BY: 57/0 116/102 130/210 512 153/250 218/630 317/2 393/68 633/267 280
SEEN-BY: 640/384 712/620 848 770/0 1 3 100 340 772/0 1 210 500
@PATH: 770/3 1 712/848 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.