[BusyBox] getty, login and PPP ???
Steven Scholz
steven.scholz at imc-berlin.de
Wed Apr 2 06:15:59 UTC 2003
Vladimir N. Oleynik schrieb:
> Steven,
>
>
>>I am trying to setup a PPP dial server on top of busybox.
>>
>>But I have the following problem:
>>
>>getty is serving the modem, presenting /etc/issue and then starting login.
>>After entering the username on the client side the server (i.e. busybox) is
>>_not_ asking for the password over the modem line! Instead it ask for the
>>password in the terminal where I initially started getty:
>>
>>~ # getty -h -L -w -I 'ATE0Q1&D2&C1S0=1\015' 115200 modem
>
>
> add -n
Thanks a million! I first looked at the help text of getty. And that does not
mention any -n ! ;-)
Options:
-h Enable hardware (RTS/CTS) flow control.
-i Do not display /etc/issue before running login.
-L Local line, so do not do carrier detect.
-m Get baud rate from modem's CONNECT status message.
-w Wait for a CR or LF before sending /etc/issue.
-l login_app Invoke login_app instead of /bin/login.
-t timeout Terminate after timeout if no username is read.
-I initstring Sets the init string to send before anything else.
-H login_host Log login_host into the utmp file as the hostname.
So we should update the usage.h....
Thanks again!
Steven
More information about the busybox
mailing list