Date: Thu, 14 May 98 10:50:02 +0200 From: THIERRY.HERBELOT@telspace.alcatel.fr To: sandy@divre5.telkom.co.id Cc: questions@FreeBSD.ORG Subject: =?ISO-8859-1?Q?R=E9p_:_Getty_??= Message-ID: <H000057c0158ebc9@MHS> In-Reply-To: <000d01bd7f0a$e67268a0$7305600a@dial-up.divre5.net>
next in thread | previous in thread | raw e-mail | index | archive | help
you seem to be a bit confused : do you use getty or mgetty ?
here's my setup with mgetty :
1/ rebuid mgetty from the ports with the PPP option and install it
2/ adapt mgetty.config (usually in /usr/local/etc/mgetty+sendfax)
3/ add the line :
/AutoPPP/ - - /etc/ppp/ppp-pap-dialup
in login.config
4/ create /etc/ppp/ppp-pap-dialup:
#!/bin/sh
TTY=`tty`
IDENT=`basename $TTY`
set > /tmp/set_ppp
exec /usr/sbin/ppp -direct pap$IDENT
5/ create an entry papcuaa0 in ppp.conf (to use COM1)
papcuaa0:
set timeout 900 10 3
set log Phase LQM Chat Connect Carrier hdlc LCP IPCP CCP tun
set stopped 30
disable pred1
deny pred1
enable lqr
accept lqr
disable proxy
disable pap
disable chap
set ifaddr 172.17.10.102/0 172.17.10.101/0 255.255.255.255
6/ enable mgetty in /etc/ttys
cuaa0 "/usr/local/sbin/mgetty -D -s 19200 cuaa0" dialup on insecure
7/ restart init to re-read /etc/ttys
kill -HUP 1
that's it
TfH
____________________________ Séparateur Réponse ________________________________
Objet : Getty ?
Auteur : sandy@divre5.telkom.co.id
Date : 14/05/98 09:35
I use pppkit for dialin service......
but getty didnot respon the incoming call.....
/etc/ttys:
ttyd0 "/usr/libexec/getty std.115200" dialup on secure
what's wrong??
my machine respon with mgetty....
my modem is hayes accura 28.8 Kbs
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?H000057c0158ebc9>
