Newsgroup: it.comp.os.linux.sys
Titolo: MGetty e accesso remoto di wincess

Ciao,
ho configurato mgetty per l'attesa delle chiamate dal modem,
se mi collego (da wincess98) con l'hiperterminal funziona perfettamente
chiedendomi
login e passwd,.....  ma se provo con accesso remoto di winbug98 mgetty
risponde ma mi butta giů la linea: dai log di mgetty ho notato 2 cose:
1- il log di mgetty di quando mi collego con HyperTerminal: vedo che lo
username
    č trasmesso in chiaro ... e quindi mgetty lo riconosce e tutto
funge...
2- il log di mgetty di quando mi collego con accesso remoto: vedo che lo
username
    č (probabilmente) trasmesso non in chiaro (sono infatti una serie di
caratteri
    incomprensibili infatti lui gli assegna un utente /AutoPPP/ che non
esiste e
    che tra l'altro non posso creare...
In cosa sbaglio??????
P.S.: I pc erano sempre gli stessi (sia server che client)....
P.P.S.: esiste un sofware per il callback? (e doc?)
Grazie per l'aiuto...





http://www.buoy.com/isp/mgetty.html

 
http://www.buoy.com/isp/mgetty.html
Grazie.. ma ho seguito le indicazioni e il problema persiste.... dal log
di mgetty vedo (ancora):
----- copia ---incolla--------
04/29 09:14:15 yS0  mgetty: experimental test release 1.1.14-Apr02
04/29 09:14:15 yS0   mgetty.c compiled at Apr  6 1999, 12:53:44
04/29 09:14:15 yS0   user id: 0, parent pid: 1
04/29 09:14:15 yS0   reading configuration data for port 'ttyS0'
04/29 09:14:15 yS0   reading /etc/mgetty+sendfax/mgetty.config...
04/29 09:14:15 yS0   conf lib: read: 'debug 4'
04/29 09:14:15 yS0   conf lib: read: 'speed 57600'
04/29 09:14:15 yS0   key: 'speed', type=0, flags=3, data=57600
04/29 09:14:15 yS0   key: 'switchbd', type=0, flags=1, data=0
04/29 09:14:15 yS0   key: 'direct', type=3, flags=1, data=FALSE
04/29 09:14:15 yS0   key: 'blocking', type=3, flags=1, data=FALSE
04/29 09:14:15 yS0   key: 'port-owner', type=1, flags=1, data=uucp
04/29 09:14:15 yS0   key: 'port-group', type=1, flags=1, data=uucp
04/29 09:14:15 yS0   key: 'port-mode', type=0, flags=1, data=432
04/29 09:14:15 yS0   key: 'toggle-dtr', type=3, flags=1, data=TRUE
04/29 09:14:15 yS0   key: 'toggle-dtr-waittime', type=0, flags=1,
data=500
04/29 09:14:15 yS0   key: 'data-only', type=3, flags=2, data=TRUE
04/29 09:14:15 yS0   key: 'fax-only', type=3, flags=1, data=FALSE
04/29 09:14:15 yS0   key: 'modem-type', type=1, flags=1, data=auto
04/29 09:14:15 yS0   key: 'modem-quirks', type=0, flags=0, data=(empty)
04/29 09:14:15 yS0   key: 'init-chat', type=2, flags=1, data= \dATQ0V1H0
OK ATS0=0Q0&D3&C1 OK
04/29 09:14:15 yS0   key: 'force-init-chat', type=2, flags=1, data=
\d  \d\d\d+++\d\d\d
\dATQ0V1H0 OK
04/29 09:14:15 yS0   key: 'modem-check-time', type=0, flags=1, data=3600
04/29 09:14:15 yS0   key: 'rings', type=0, flags=2, data=2
04/29 09:14:15 yS0   key: 'get-cnd-chat', type=2, flags=0, data=(empty)
04/29 09:14:15 yS0   key: 'answer-chat', type=2, flags=1, data= ATA
CONNECT \c
04/29 09:14:15 yS0   key: 'answer-chat-timeout', type=0, flags=1,
data=80
04/29 09:14:15 yS0   key: 'autobauding', type=3, flags=2, data=TRUE
04/29 09:14:15 yS0   key: 'ringback', type=3, flags=1, data=FALSE
04/29 09:14:15 yS0   key: 'ringback-time', type=0, flags=1, data=30
04/29 09:14:15 yS0   key: 'ignore-carrier', type=3, flags=1, data=FALSE
04/29 09:14:15 yS0   key: 'issue-file', type=1, flags=1, data=/etc/issue
04/29 09:14:15 yS0   key: 'prompt-waittime', type=0, flags=1, data=500
04/29 09:14:15 yS0   key: 'login-prompt', type=1, flags=1, data=@ login:
04/29 09:14:15 yS0   key: 'login-time', type=0, flags=1, data=240
04/29 09:14:15 yS0   key: 'fido-send-emsi', type=3, flags=1, data=TRUE
04/29 09:14:15 yS0   key: 'fax-id', type=1, flags=1, data=49 89 xxxxxxxx
04/29 09:14:15 yS0   key: 'fax-server-file', type=1, flags=0,
data=(empty)
04/29 09:14:15 yS0   key: 'diskspace', type=0, flags=1, data=1024
04/29 09:14:15 yS0   key: 'notify', type=1, flags=1, data=root
04/29 09:14:15 yS0   key: 'fax-owner', type=1, flags=1, data=uucp
04/29 09:14:15 yS0   key: 'fax-group', type=1, flags=0, data=(empty)
04/29 09:14:15 yS0   key: 'fax-mode', type=0, flags=1, data=432
04/29 09:14:15 yS0   key: 'debug', type=0, flags=2, data=9
04/29 09:14:15 yS0   key: 'statistics-chat', type=2, flags=0,
data=(empty)
04/29 09:14:15 yS0   key: 'statistics-file', type=1, flags=0,
data=(empty)
04/29 09:14:15 yS0   key: 'gettydefs', type=1, flags=1, data=n
04/29 09:14:15 yS0   key: 'term', type=1, flags=0, data=(empty)
04/29 09:14:15 yS0  check for lockfiles
04/29 09:14:15 yS0   checklock: stat failed, no file
04/29 09:14:15 yS0  locking the line
04/29 09:14:15 yS0   makelock(ttyS0) called
04/29 09:14:15 yS0   do_makelock: lock='/var/lock/LCK..ttyS0'
04/29 09:14:15 yS0   lock made
04/29 09:14:16 yS0   tio_get_rs232_lines: status: RTS CTS DSR DTR
04/29 09:14:16 yS0  lowering DTR to reset Modem
04/29 09:14:16 yS0   tss: set speed to 57600 (10001)
04/29 09:14:16 yS0   tio_set_flow_control( HARD )
04/29 09:14:16 yS0   waiting for line to clear (VTIME), read:
04/29 09:14:16 yS0  send: \dATQ0V1H0[0d]
04/29 09:14:17 yS0  waiting for ``OK''
04/29 09:14:17 yS0   got: ATQ0V1H0[0d]
04/29 09:14:17 yS0    CND: ATQ0V1H0[0d][0a]OK ** found **
04/29 09:14:17 yS0  send: ATS0=0Q0&D3&C1[0d]
04/29 09:14:17 yS0  waiting for ``OK''
04/29 09:14:17 yS0   got: [0d]
04/29 09:14:17 yS0    CND: OK[0a]ATS0=0Q0&D3&C1[0d]
04/29 09:14:17 yS0    CND: ATS0=0Q0&D3&C1[0d][0a]OK ** found **
04/29 09:14:17 yS0   waiting for line to clear (VTIME), read: [0d][0a]
04/29 09:14:18 yS0   removing lock file
04/29 09:14:18 yS0  waiting...
04/29 09:16:59 yS0    select returned 1
04/29 09:16:59 yS0   checking lockfiles, locking the line
04/29 09:16:59 yS0   makelock(ttyS0) called
04/29 09:16:59 yS0   do_makelock: lock='/var/lock/LCK..ttyS0'
04/29 09:16:59 yS0   lock made
04/29 09:16:59 yS0  waiting for ``RING''
04/29 09:16:59 yS0   got: [0d]
04/29 09:16:59 yS0    CND: OK[0a]RING ** found **
04/29 09:16:59 yS0  waiting for ``RING''
04/29 09:16:59 yS0   got: [0d]
04/29 09:16:59 yS0    CND: RING[0a][0d][0a]RING ** found **
04/29 09:17:04 yS0    CND: check no: 'none'
04/29 09:17:04 yS0  send: ATA[0d]
04/29 09:17:04 yS0  waiting for ``CONNECT''
04/29 09:17:04 yS0   got: [0d]
04/29 09:17:04 yS0    CND: RING[0a]ATA[0d]
04/29 09:17:04 yS0    CND: ATA[0d][0a]CONNECT ** found **
04/29 09:17:17 yS0  send:
04/29 09:17:17 yS0  waiting for ``_''
04/29 09:17:17 yS0   got:  31200/ARQ/V34/LAPM/V42BIS[0d]
04/29 09:17:17 yS0    CND: CONNECT 31200/ARQ/V34/LAPM/V42BIS
04/29 09:17:17 yS0    CND: found: 31200/ARQ/V34/LAPM/V42BIS[0a] ** found
**
04/29 09:17:17 yS0  autobauding: switch to 31200 bps
04/29 09:17:17 yS0   speed 31200 not found in table
04/29 09:17:17 yS0  autobauding: cannot parse 'CONNECT
31200/ARQ/V34/LAPM/V42BIS': Operation not permitted
04/29 09:17:17 yS0   waiting for line to clear (VTIME), read:
04/29 09:17:17 yS0    looking for utmp entry... (my PID: 689)
04/29 09:17:17 yS0   utmp + wtmp entry made
04/29 09:17:18 yS0   tio_set_flow_control( HARD )
04/29 09:17:18 yS0   print welcome banner (/etc/issue)
04/29 09:17:18 yS0   getlogname (AUTO_PPP), read:~[ff]}#[c0]!
04/29 09:17:18 yS0   input finished with '\r', setting ICRNL ONLCR
04/29 09:17:18 yS0   tio_get_rs232_lines: status: RTS CTS DSR DTR DCD
04/29 09:17:18 yS0    login: use login config file
/etc/mgetty+sendfax/login.config
04/29 09:17:18 yS0   match: user='/AutoPPP/', key=''
04/29 09:17:18 yS0   match: user='/AutoPPP/', key='/FIDO/'
04/29 09:17:18 yS0   match: user='/AutoPPP/', key=''
04/29 09:17:18 yS0   match: user='/AutoPPP/', key='/AutoPPP/'*** hit!
04/29 09:17:18 yS0   login: utmp entry: ppp
04/29 09:17:18 yS0    looking for utmp entry... (my PID: 689)
04/29 09:17:18 yS0   utmp + wtmp entry made
04/29 09:17:18 yS0   calling login: cmd='/usr/sbin/pppd', argv[]='pppd
auth -chap +pap login modem crtscts lock'
04/29 09:17:18 ##### data dev=ttyS0, pid=689, caller='none',
conn='31200/ARQ/V34/LAPM/V42BIS', name='', cmd='/usr/sbin/pppd',
user='/AutoPPP/'
04/29 09:17:18 yS0   setenv: 'CALLER_ID=none'
04/29 09:17:18 yS0   setenv: 'CONNECT=31200/ARQ/V34/LAPM/V42BIS'
----- copia ---incolla--------
...e qui mi sconnette.... (da accesso remoto).
.... da HyperTerminal funge tutto....
Aiutatemi per favore !!!
Grazie,
Riccardo

...dal log sembra tutto a posto,secondo me hai problemi con le passwd..
hai compilato il pppd oppure usi quello di defaul?? il log di pppd cosa
dice??
hai letto il ppp-howto???

 hai letto il ppp-howto???
gli do' un'occhiata ;-) (cosa dovrei guardare in particolare???)
Grazie (ancora)
Riccardo

Ciao,
    per veder eil log di ppp devi aumentare il livello di log del pppd stesso
dal suo file options.Il tutto ti sarà chiaro dopo un'attenta lettura del
ppp-howto
                Ciao

Grazie,.... ora funge......  ;-)))))))))