Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jul 2001 14:29:1 +0800
From:      suxm <suxm@gnuchina.org>
To:        "freebsd-net@FreeBSD.ORG" <freebsd-net@FreeBSD.ORG>
Subject:   serial terminal
Message-ID:  <200107190630.f6J6U0930698@gnuchina.org>

next in thread | raw e-mail | index | archive | help
Hello,
I want to login to a FreeBSD box with a serial line.
So I modified the /etc/ttys as following:

ttyd0   "/usr/libexec/getty std.9600"   vt220   on secure
ttyd1   "/usr/libexec/getty std.9600"   vt220   on secure

# kill -HUP 1

When I connect the FreeBSD box from Windows HyperTerm with 9600=
 8N1,
the "login prompt" is not shown.

I think I should set the clocal options.
So I typed the following commands, 
# stty -f /dev/ttyid1 clocal
# kill -HUP 1

The "login prompt" is still not shown.
Then I typed the following commands
# ps ax | grep tty
# kill -HUP pid_of_ttyd1

The "login prompt" is shown, but I can't type anything.

Any suggestions?

Thank you very much!


Best regards

sincerely yours
suxm

            suxm@gnuchina.org



        =A1=EE _______   =A1=A4     =A1=EE     
     =C9=A1   =A5=CE____=A5=CE=A1=F5     =A1=F1    =C9=A1  
    =C9=A1=C9=A1  =A3=FC    =A3=FC=A3=FC          =C9=A1=C9=A1 
   =C9=A1=C9=A1=C9=A1 =A1=A5=A1=A5=A1=A5=A1=A5=A1=A5-_   =A1=E2  =C9=A1=C9=A1=C9=A1
     =A1=AC               =A1=A5-=A4=D8    =A1=AC


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107190630.f6J6U0930698>