Saludos a lista

Colegas

Como se puede detallar la traza de entrada del ppp, de manera tal que
parazca el nombre del usuario que esta conectado y el que intento conectar
tengo esta configuracion el el ppp y mgetty, gracias de antemano por la ayuda.


mgetty.config

port ttyS0
   init-chat "" ATZ
   statistics-chat "" AT OK ATI2 OK
   statistics-file /var/log/statistics.ttyS2
   debug 8
   speed 57600
   data-only yes
   rings 1

inettab

# /etc/inittab: init(8) configuration.
# $Id: inittab,v 1.91 2002/01/25 13:35:21 miquels Exp $

# The default runlevel.
id:2:initdefault:

# Boot-time system configuration/initialization script.
# This is run first except when booting in emergency (-b) mode.
si::sysinit:/etc/init.d/rcS

# What to do in single-user mode.
~~:S:wait:/sbin/sulogin

# /etc/init.d executes the S and K scripts upon change
# of runlevel.
#
# Runlevel 0 is halt.
# Runlevel 1 is single-user.
# Runlevels 2-5 are multi-user.
# Runlevel 6 is reboot.

l0:0:wait:/etc/init.d/rc 0
l1:1:wait:/etc/init.d/rc 1
l2:2:wait:/etc/init.d/rc 2
l3:3:wait:/etc/init.d/rc 3
l4:4:wait:/etc/init.d/rc 4
l5:5:wait:/etc/init.d/rc 5
l6:6:wait:/etc/init.d/rc 6
# Normally not reached, but fallthrough in case of emergency.
z6:6:respawn:/sbin/sulogin

# What to do when CTRL-ALT-DEL is pressed.
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now

# Action on special keypress (ALT-UpArrow).
#kb::kbrequest:/bin/echo "Keyboard Request--edit /etc/inittab to let this
work."

# What to do when the power fails/returns.
pf::powerwait:/etc/init.d/powerfail start
pn::powerfailnow:/etc/init.d/powerfail now
po::powerokwait:/etc/init.d/powerfail stop

# /sbin/getty invocations for the runlevels.
#
# The "id" field MUST be the same as the last
# characters of the device (after "tty").
#
# Format:
#  <id>:<runlevels>:<action>:<process>
#
# Note that on most Debian systems tty7 is used by the X Window System,
# so if you want to add more getty's go ahead but skip tty7 if you run X.
#
1:2345:respawn:/sbin/getty 38400 tty1
2:23:respawn:/sbin/getty 38400 tty2
3:23:respawn:/sbin/getty 38400 tty3
4:23:respawn:/sbin/getty 38400 tty4
5:23:respawn:/sbin/getty 38400 tty5
6:23:respawn:/sbin/getty 38400 tty6

# Example how to put a getty on a serial line (for a terminal)
#
#T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100
#T1:23:respawn:/sbin/getty -L ttyS1 9600 vt100

# Example how to put a getty on a modem line.
#
T0:2345:respawn:/sbin/mgetty -n2 -s 57600 -D ttyS0


ppp/options
-detach
+pap
-chap
asyncmap 0
modem
crtscts
lock
require-pap
refuse-chap
ms-dns 192.0.0.2
login
noauth


/var/log/mgetty/mg_ttyS0.log 

03/02 15:36:02 yS0  mgetty: interim release 1.1.36-Jun15
03/02 15:36:02 yS0  check for lockfiles
03/02 15:36:02 yS0   checklock: no active process has lock, will remove
03/02 15:36:02 yS0  locking the line
03/02 15:36:02 yS0   makelock(ttyS0) called
03/02 15:36:02 yS0   do_makelock: lock='/var/lock/LCK..ttyS0'
03/02 15:36:02 yS0   lock made
03/02 15:36:02 yS0   tio_get_rs232_lines: status: RTS CTS DSR DTR DCD
03/02 15:36:02 yS0  WARNING: DCD line still active, check modem settings
(AT&Dx)
03/02 15:36:02 yS0  lowering DTR to reset Modem
03/02 15:36:03 yS0   tss: set speed to 57600 (10001)
03/02 15:36:03 yS0   tio_set_flow_control( HARD )
03/02 15:36:03 yS0   waiting for line to clear (VTIME=1), read: 
03/02 15:36:03 yS0  send: ATZ[0d]
03/02 15:36:03 yS0  send: AT[0d]
03/02 15:36:03 yS0  do_stat: expect 'OK' ** found **
03/02 15:36:03 yS0  send: ATI2[0d]
03/02 15:36:03 yS0  do_stat: expect 'OK' ** found **
03/02 15:36:03 yS0   waiting for line to clear (VTIME=3), read: [0a]
03/02 15:36:03 yS0   removing lock file
03/02 15:36:03 yS0  waiting...
03/02 15:42:43 yS0    select returned 1
03/02 15:42:43 yS0   checking lockfiles, locking the line
03/02 15:42:43 yS0   makelock(ttyS0) called
03/02 15:42:43 yS0   do_makelock: lock='/var/lock/LCK..ttyS0'
03/02 15:42:43 yS0   lock made
03/02 15:42:43 yS0  wfr: waiting for ``RING''
03/02 15:42:43 yS0   got: [0d][0a]RING[0d]
03/02 15:42:43 yS0    CND: RING
03/02 15:42:43 yS0   wfr: rc=0, drn=0
03/02 15:42:43 yS0  wfr: waiting for ``RING''
03/02 15:42:43 yS0   got: [0a][0d][0a]RING[0d]
03/02 15:42:48 yS0    CND: RING
03/02 15:42:48 yS0   wfr: rc=0, drn=0
03/02 15:42:48 yS0    CND: check no: 'none'
03/02 15:42:48 yS0    CND: check vs: 299285
03/02 15:42:48 yS0  send: ATA[0d]
03/02 15:42:48 yS0  waiting for ``CONNECT''
03/02 15:42:48 yS0   got: ATA[0d]
03/02 15:42:48 yS0    CND: ATA[0d][0a]CONNECT ** found **
03/02 15:43:00 yS0  send: 
03/02 15:43:00 yS0  waiting for ``_''
03/02 15:43:00 yS0   got:  57600[0d]
03/02 15:43:00 yS0    CND: CONNECT 57600
03/02 15:43:00 yS0    CND: found: 57600[0a] ** found **
03/02 15:43:00 yS0   waiting for line to clear (VTIME=3), read: 
03/02 15:43:00 yS0    looking for utmp entry... (my PID: 3254)
03/02 15:43:00 yS0   utmp + wtmp entry made
03/02 15:43:01 yS0   tio_set_flow_control( HARD )
03/02 15:43:01 yS0   print welcome banner (/etc/issue)
03/02 15:43:01 yS0   getlogname (FIDO AUTO_PPP), read:~[ff]}#[c0]!
03/02 15:43:11 yS0   input finished with '\r', setting ICRNL ONLCR
03/02 15:43:11 yS0   tio_get_rs232_lines: status: RTS CTS DSR DTR DCD
03/02 15:43:11 yS0    login: use login config file /etc/mgetty/login.config
03/02 15:43:11 yS0   match: user='/AutoPPP/', key=''
03/02 15:43:11 yS0   match: user='/AutoPPP/', key=''
03/02 15:43:11 yS0   match: user='/AutoPPP/', key='/AutoPPP/'*** hit!
03/02 15:43:11 yS0   login: utmp entry: a_ppp
03/02 15:43:11 yS0    looking for utmp entry... (my PID: 3254)
03/02 15:43:11 yS0   utmp + wtmp entry made
03/02 15:43:11 yS0   calling login: cmd='/usr/sbin/pppd', argv[]='pppd
file /etc/ppp/options'
03/02 15:43:11 yS0   setenv: 'CALLER_ID=none'
03/02 15:43:11 yS0   setenv: 'CONNECT=57600'
03/02 15:43:11 yS0   setenv: 'DEVICE=ttyS0'
03/02 15:43:11 ##### data dev=ttyS0, pid=3254, caller='none',
conn='57600', name='', cmd='/usr/sbin/pppd', user='/AutoPPP/'


no veo el usuario por ningun lado



______________________________________________________________________
Lista de correos del Grupo de Usuarios de Tecnologías Libres de Cuba.
Gutl-l@jovenclub.cu
https://listas.jovenclub.cu/cgi-bin/mailman/listinfo/gutl-l

Responder a