Cancel respawn getty on serial tty

Rod Nussbaumer bomr at triumf.ca
Fri Dec 30 03:59:40 UTC 2011


ralda at gmx.de wrote:
> Hallo Rod!
>
>> Whatever change is made must not interfere with applications running on existing
>> hosts. The use case I originally described is a kind of off-normal situation.
>> Mostly, the hosts will use the serial port for accepting logins.
>
> Especially as you you describe your case this way, I had so many times
> success with this idle method.
>
> In cases you are not able (or not allowed) to modify anything on the
> system you can simply use a sleep command for that purpose.
>
> 1. Login normal to your board (using a serial tty or pc with emulator)
>
> 2. do an "exec nohup sleep 86400" on your Linux device (enter this
> command over your serial line)
>
> 3. The serial line is now idle and you can connect any other device you
> like. It will not interfere with a getty. So you can do an stty to
> set the parameter for your serial line (from any remote console or
> network login on your linux board).
>
> 4. The serial line stays in that usable state until the sleep expires
> or you just kill it away. After that the getty reappears and you can
> continue to use your system normally (connect tty and login).
>
> ... there is no other way witch is less intrusive to your system.
>
> --
> Harald
>

Sounds like exactly what I want.  Thanks!

    ---   rod.



More information about the busybox mailing list