On Mon, 10 May 1999, Lynx {Glenn Jones} wrote:
> Hello,
> I have altered my inittab file to allow logins via the serial port, but I
> have a couple of questions. First, is it possible to switch the serial
> port from not allowing logins (so that it can be hooked to a modem or what
> have you) to allowing logins (so it can be hooked to a terminal) with out
> changing the inittab each time and rebooting? Also, is it possible to
How about just setting up the shell on the serial as part of another
run-level? Both 4 and 5 are currently available in my setup. You change run
levels to turn the login on and off.
> disable hardware flow control when using it as a login port? I dont want
> to bother with the DTR/CTS etc lines. thanks for the help.
You can include setserial commands in whatever your rc.local mechanism is
called. Trigger them by testing for run-level changes.
ciao,
der.hans
> ------------------------------------------------------------------------------
> A member of the PI-100 Club:
> 3.1415926535897932384626433832795028841971693993751
> 058209749445923078164062862089986280348253421170679
>
>
# +++++++++++=================================+++++++++++ #
# [EMAIL PROTECTED] #
# http://home.pages.de/~lufthans/ #
# I've got a photographic memory, #
# but I'm lousy photographer. - der.hans #
# ===========+++++++++++++++++++++++++++++++++=========== #