Ola pessoal!
Tenho uma instala��o Linux Red Hat 7.3, Kernel 2.4.18-3, onde instalei
o "mgetty" para fazer uma conex�o discada via ppp. A configura��o que
fiz foi o seguinte:
1- instalei o pacote mgetty-*

2- no diretorio /etc/mgetty+sendfax alterei o arquivo login.config
   descomentando a linha:
/AutoPPP/ -     a_ppp   /usr/sbin/pppd auth -chap +pap login debug

3- no /etc/ppp/pap-secrets tenho:
# Secrets for authentication using PAP
# client        server  secret                  IP addresses
teste           *       teste                   *

4- no /etc/ppp/options tenho:
-detach
lock
modem
crtscts
usehostname
nodefaultroute

E ai, quando tenho fazer uma conex�o dial-up atraves de um outro micro,
com usuario teste e senha teste, aparece o seguinte no
/var/log/messages:

Jul 27 21:57:28 bootserver mgetty[1320]: data dev=ttyS1, pid=1320,
caller='none', conn=
'38400', name='', cmd='/usr/sbin/pppd', user='/AutoPPP/'
Jul 27 21:57:28 bootserver pppd[1320]: pppd 2.4.1 started by a_ppp, uid
0
Jul 27 21:57:28 bootserver pppd[1320]: Using interface ppp0
Jul 27 21:57:28 bootserver pppd[1320]: Connect: ppp0 <--> /dev/ttyS1
Jul 27 21:57:28 bootserver /etc/hotplug/net.agent: assuming ppp0 is
already up
Jul 27 21:57:31 bootserver ppp(pam_unix)[1320]: check pass; user unknown
Jul 27 21:57:31 bootserver ppp(pam_unix)[1320]: authentication failure;
logname=a_ppp u
id=0 euid=0 tty=/dev/ttyS1 ruser= rhost=
Jul 27 21:57:33 bootserver pppd[1320]: PAP login failure for teste
Jul 27 21:57:33 bootserver pppd[1320]: Connection terminated.
Jul 27 21:57:33 bootserver pppd[1320]: Exit.
Jul 27 21:57:33 bootserver /etc/hotplug/net.agent: NET unregister event
not supported
Jul 27 21:57:34 bootserver mgetty[1337]: TIOCMBIS failed: Input/output
error
Jul 27 21:57:34 bootserver mgetty[1337]: cannot turn off soft carrier:
Input/output err
or
Jul 27 21:57:34 bootserver mgetty[1337]: tcgetattr failed: Input/output
error
Jul 27 21:57:34 bootserver mgetty[1337]: cannot get TIO: Input/output
error

e eu n�o consigo fazer a conex�o dizendo para verificar a senha e o
nome, mas
ja fiz todos os testes, considerante case sensitive e tudo mais.

Sera que alguem poderia me dar uma luz?
Abracos.

Assinantes em 27/07/2002: 2220
Mensagens recebidas desde 07/01/1999: 176759
Historico e [des]cadastramento: http://linux-br.conectiva.com.br
Assuntos administrativos e problemas com a lista: 
            mailto:[EMAIL PROTECTED]

Responder a