modem Serial y mgetty + ppp
Felipe Vega Vargas
fvega en golfo.grm.sld.cu
Jue Oct 29 17:16:27 GMT 2009
Estoy tratando de configurar mgetty+ppp para conectarme con un server
Ubuntu a travez de un modem serial que está en el server en el puerto
ttyS0 el caso es que el modem me responde y todo pero no me levante el
ppp, le hice unDebug al Mgetty y me da estos datos, lo que no se es de
donde sale este usuario yoohoo que me pone, que pongo una parte del
debug:
10/29 11:59:35 yS0 key: 'debug', type=0, flags=2, data=5
10/29 11:59:35 yS0 key: 'statistics-chat', type=2, flags=0,
data=(empty)
10/29 11:59:35 yS0 key: 'statistics-file', type=1, flags=3,
data=/var/log/statistics.ttyS0
10/29 11:59:35 yS0 key: 'gettydefs', type=1, flags=1, data=n
10/29 11:59:35 yS0 key: 'term', type=1, flags=0, data=(empty)
10/29 11:59:35 yS0 check for lockfiles
10/29 11:59:35 yS0 checklock: stat failed, no file
10/29 11:59:35 yS0 locking the line
10/29 11:59:35 yS0 makelock(ttyS0) called
10/29 11:59:35 yS0 do_makelock: lock='/var/lock/LCK..ttyS0'
10/29 11:59:35 yS0 lock made
10/29 11:59:36 yS0 tio_get_rs232_lines: status: RTS CTS DSR DTR
10/29 11:59:36 yS0 lowering DTR to reset Modem
10/29 11:59:36 yS0 tss: set speed to 38400 (017)
10/29 11:59:36 yS0 tio_set_flow_control( HARD )
10/29 11:59:36 yS0 waiting for line to clear (VTIME=1), read:
10/29 11:59:36 yS0 send: \dATQ0V1H0[0d]
10/29 11:59:37 yS0 waiting for ``OK''
10/29 11:59:37 yS0 got: ATQ0V1H0[0d][0d][0a]OK ** found **
10/29 11:59:37 yS0 send: AT[0d]
10/29 11:59:37 yS0 waiting for ``OK''
10/29 11:59:37 yS0 got: [0d][0a]AT[0d][0d][0a]OK ** found **
10/29 11:59:37 yS0 waiting for line to clear (VTIME=3), read: [0d][0a]
10/29 11:59:37 yS0 removing lock file
10/29 11:59:37 yS0 waiting...
10/29 12:00:38 yS0 checking lockfiles, locking the line
10/29 12:00:38 yS0 makelock(ttyS0) called
10/29 12:00:38 yS0 do_makelock: lock='/var/lock/LCK..ttyS0'
10/29 12:00:38 yS0 lock made
10/29 12:00:38 yS0 wfr: waiting for ``RING''
10/29 12:00:38 yS0 got: [0d][0a]RING[0d]
10/29 12:00:38 yS0 wfr: rc=0, drn=0
10/29 12:00:38 yS0 send: ATA[0d]
10/29 12:00:38 yS0 waiting for ``CONNECT''
10/29 12:00:38 yS0 got: ATA[0d][0d][0a]CONNECT ** found **
10/29 12:00:59 yS0 send:
10/29 12:00:59 yS0 waiting for ``_''
10/29 12:00:59 yS0 got: 31200[0d][0a] ** found **
10/29 12:00:59 yS0 waiting for line to clear (VTIME=3),
read: ![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!![ff]!!
10/29 12:01:02 yS0 clean_line: only 500 of 5764 bytes logged
10/29 12:01:02 yS0 tio_set_flow_control( HARD )
10/29 12:01:02 yS0 print welcome banner (/etc/issue.mgetty)
10/29 12:01:02 yS0 getlogname (FIDO AUTO_PPP),
read:.[81]d[90][c7][00][06][05][e4]P@[00][00][00][00][ff][06][05]t[d0][c0][00][10]!d[10]P[00]A[14][d0][c0][06][01][05][04][e8] [ff][05][fe][f9][f9][19][06]^[cc]?[c1][e5][01][d6][01][d6]9[d6][11][d6]1[d6][01][d6][01][d6][01][d6][01][d6])[d6]16[01][ef]'[d6]?[cf][e5][11][d6][c1][d6][11][d6][e9][d6][19][d6]1[d6][e1][d6][f1]
10/29 12:01:04 yS0 input finished with '\r', setting ICRNL ONLCR
10/29 12:01:04 yS0 tio_get_rs232_lines: status: RTS CTS DSR DTR DCD
10/29 12:01:04 yS0 match: user='_yoohoo', key=''
10/29 12:01:04 yS0 match: user='_yoohoo', key=''
10/29 12:01:04 yS0 match: user='_yoohoo', key='/AutoPPP/'
10/29 12:01:04 yS0 match: user='_yoohoo', key=''
10/29 12:01:04 yS0 match: user='_yoohoo', key='*'*** hit!
10/29 12:01:04 yS0 calling login: cmd='/bin/login', argv[]='login
ÿyoohoo'
10/29 12:01:04 yS0 setenv: 'CALLER_ID=none'
10/29 12:01:04 yS0 setenv: 'CONNECT=31200'
10/29 12:01:04 yS0 setenv: 'DEVICE=ttyS0'
10/29 12:01:04 ##### data dev=ttyS0, pid=2331, caller='none',
conn='31200', name='', cmd='/bin/login', user='ÿyoohoo'
He probado de varias formas, pero siempre da el mismo error !!!!
Alguien ha hecho esto antes????
alguna idea???
Graias.
Felipe Vega Vargas
Ubuntu 9.04 Jaunty
Mensaje enviado con Evolution.
--
Este mensaje le ha llegado mediante el servicio de correo electronico que ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema Nacional de Salud. La persona que envia este correo asume el compromiso de usar el servicio a tales fines y cumplir con las regulaciones establecidas
Infomed: http://www.sld.cu/
Más información sobre la lista de distribución ubuntu-es