Hola lista. Quisiera que me ayudaran en un problema de conexión por Dial Up. Tengo configurada una interfaz virtual (ifcfg:eth0:0) para asignarla al usaurio remoto que se va a conectar, con una dirección aparte (192.168.2.1) de la red interna. Tengo configurados los archivos: /etc/ppp/options /etc/ppp/pap-secrets y dentro de la misma ruta tengo 1 archivo llamado ppplogin (con permisos de ejecución) y configurado para que el usuario remoto se autentifique mediante este. También tengo configurado: /etc/mgetty+sendfax/login.config (dentro de este tengo redireccionado el AutoPPP para que se autentifique con el /etc/ppp/ppplogin) /etc/mgetty+sendfax/mgetty.config en los archivos /etc/hosts /etc/hosts.allow le doy permiso a la ip virtual Logro conectarme vía modem sin ningún problema, y navego en el servidor web de igual manera sin problema, el problema que tengo y no se como arreglar es que cuando estoy conectado y quiero bajar el correo (tengo el sendmail), cuando está bajando, se corta la conexión ppp. para una mayor claridad les envío lo que tengo configurado en cada archivo: ------------------------------------------------------- /etc/ppp/options -detach crtscts netmask 255.255.255.0 asyncmap 0 modem proxyarp -------------------------------------------------------- /etc/ppp/options.ttyS0 200.81.75.142:ppp01 -------------------------------------------------------- /etc/ppp/pap-secrets # Secrets for authentication using PAP # client server secret IP addresses * * "" * -------------------------------------------------------- /etc/ppp/ppplogin #!/bin/sh mesg n stty -echo /usr/sbin/pppd auth -chap +pap login -------------------------------------------------------- /etc/mgetty+sendfax/login.config /AutoPPP/ - - /etc/ppp/ppplogin #/AutoPPP/ - a_ppp /usr/sbin/pppd auth -chap +pap login debug #/AutoPPP/ - - /etc/ppp/ppplogin # # # An example where no login name in the argument list is desired: # automatically telnetting to machine "smarty" for a given login name # #telnet-smarty gast telnet /usr/bin/telnet -8 smarty # # This is the "standard" behaviour - *dont* set a userid or utmp # entry here, otherwise /bin/login will fail! # This entry isn't really necessary: if it's missing, the built-in # default will do exactly this. # * - - /bin/login @ -------------------------------------------------------- /etc/mgetty+sendfax/mgetty.config (en la última parte del archivo tengo:) #port ttyS3 # direct y # speed 19200 # toggle-dtr n port ttyS0 init-chat "" ATZ OK AT&F1M0E1Q0S0=0 OK answer-chat "" ATA CONNECT \c \r -------------------------------------------------------- /etc/inittab (la línea que aumente al último fue:) s1:2345:respawn:/sbin/mgetty -x 3 ttyS1 -------------------------------------------------------- /etc/mail/access (le he dado permiso a la ip de la interfaz virtual) 192.168.2 RELAY -------------------------------------------------------- Lo olvidaba, tengo un modem externo D-LINK DFM-560EL de 56000 bps, y lo reconoce muy bien el servidor. Disculparán por la largura del mensaje, pero es que lo tengo que arreglar lo más antes posible. Por favor si pueden ayudarme. MUCHAS GRACIAS
El 2004-10-28 a las 10:58 -0500, fcalle@eerssa.com escribió:
Logro conectarme vía modem sin ningún problema, y navego en el servidor web de igual manera sin problema, el problema que tengo y no se como arreglar es que cuando estoy conectado y quiero bajar el correo (tengo el sendmail), cuando está bajando, se corta la conexión ppp.
Lo que tienes que hacer es mirar en los logs del sistema el motivo del corte. El pppd se registra en el local*, me parece. Puedes ponerle verbose o debug. -- Saludos Carlos Robinson
participants (2)
-
Carlos E. R.
-
fcalle@eerssa.com