ppp dialin server : pb with AutoPPP

lacontam@cur-archamps.fr (lacontam@cur-archamps.fr)
Thu, 01 Apr 1999 13:42:00 +0200


> 
> Whatever the caller is sending to you, it is not a valid PPP frame - they
> look different.
> 
> (Hmmm, what mgetty version is this?  There was an issue with PPP escaping
> in earlier versions, use 1.1.20 for best results).
> 

I have follow your idea. I have download 1.1.20, compile it with option
DAUTO_PPP. But, I have still the same problem.
These are my last logs :


in /var/log/mgetty.ttyS1

04/01 12:32:43 yS1  waiting...
04/01 12:35:40 yS1   makelock(ttyS1) called
04/01 12:35:40 yS1   lock made
04/01 12:35:40 yS1   got: [0d][0a]RING[0d]
04/01 12:35:40 yS1    CND: RING
04/01 12:35:40 yS1   wfr: rc=0, drn=0
04/01 12:35:40 yS1  send: ATA[0d]
04/01 12:35:51 yS1    CND: CONNECT 28800/ARQ
04/01 12:35:51 yS1    CND: found: 28800/ARQ[0a] ** found **
04/01 12:35:51 yS1   waiting for line to clear (VTIME), read:
[fc][fb][fb];F[00][03]$[1b]F[ff][0d]#[ff][01]#[ff]}$#[c2][ff]q#[f
f][01]a[ff][b1]#[ff][01]a[ff][01]#[ff]ma[ff]q#[ff][01]a#l[e3]F[ff]}![ff][11]#[ff
][81]#[ff][11]#[ff][ed]#[ff][1d]#[ff]q![1b][c4]
[8d][ff]
04/01 12:35:51 yS1    looking for utmp entry... (my PID: 308)
04/01 12:35:51 yS1   utmp + wtmp entry made
04/01 12:35:52 yS1   tio_set_flow_control( HARD )
04/01 12:35:52 yS1   print welcome banner (/etc/issue)
04/01 12:35:52 yS1   getlogname (AUTO_PPP), read:[fc][fb][fb];[c2][00][03]
04/01 12:35:54 yS1   getlogname (AUTO_PPP),
read:$[1b][c2][ff]1#[ff][01]a[ff]}$#[c2][ff]q#[ff][01]a[ff][b1]#[ff][01]a[ff][01
]#[
ff]ma[ff]q#[ff][01]a#d[e3]F[ff]}![ff][11]#[ff][81]#[ff][11]#[ff][ed]#[ff][1d]#[f
f]q!x[03]
04/01 12:35:54 yS1   getlogname (AUTO_PPP), read:[c7][ff][fc][fb][fb]{F[00][03]
04/01 12:35:57 yS1   getlogname (AUTO_PPP),
read:$[1b]F[ff][1d]#[ff][01]![ff]}$cF[ff]q#[ff][01]![ff][91]c[ff][01]![ff][ff][0
0]l
[db]F[ff]qa[ff][01]#c$[e3]F[ff]}#[ff][11]![ff][81]c[ff][11]![ff][ed]c[ff][1d]![f
f]q#[7f][db][03]
04/01 12:35:57 yS1   getlogname (AUTO_PPP),
read:#[ff][ff][fc][fb][fb]{F[00][03]04/01 12:36:00 yS1   getlogname (AUTO_PPP),
rea
d:$[1b]F[ff]a#[ff][01]#[ff]}$cF[ff]q![ff][01]#[ff][91]c[ff][01]#[ff][01]a[ff]m#[
ff]qa[ff][01]#c$[e3]B[ff]}#[ff][11]![ff][81]#[f
f][11]![ff][ed]#[ff][1d]![ff]q#[1f]<[8d]
04/01 12:36:00 yS1   input finished with '\r', setting ICRNL ONLCR
04/01 12:36:00 yS1   tio_get_rs232_lines: status: RTS CTS DSR DTR DCD
04/01 12:36:00 yS1    login: use login config file
/usr/local/etc/mgetty+sendfax/login.config
04/01 12:36:00 yS1   match: user='$a}$cqmq#c$c}_m_q#_<', key=''
04/01 12:36:00 yS1   match: user='$a}$cqmq#c$c}_m_q#_<', key=''
04/01 12:36:00 yS1   match: user='$a}$cqmq#c$c}_m_q#_<', key='/AutoPPP/'
04/01 12:36:00 yS1   match: user='$a}$cqmq#c$c}_m_q#_<', key=''
04/01 12:36:00 yS1   match: user='$a}$cqmq#c$c}_m_q#_<', key='*'*** hit!
04/01 12:36:00 yS1   calling login: cmd='/bin/login', argv[]='login
$a}$cqmq#c$c}^Am^]q#^_<'
04/01 12:36:00 ##### data dev=ttyS1, pid=308, caller='none', conn='28800/ARQ',
name='', cmd='/bin/login', user='$a}$cqmq#c$c}^A
m^]q#^_<'

04/01 12:36:00 yS1   setenv: 'CALLER_ID=none'
04/01 12:36:00 yS1   setenv: 'CONNECT=28800/ARQ'



in /var/log/messages

Apr  1 12:36:00 lpa PAM_pwdb[308]: bad username [$a}$cqmq#c$c}^Am^]q#^_<]
Apr  1 12:36:00 lpa login[308]: FAILED LOGIN 1 FROM (null) FOR
$a}$cqmq#c$c}^Am^]q#^_<, User not known to the underlying authen
tication module
Apr  1 12:36:09 lpa PAM_pwdb[308]: bad username
[$^[F^?}#^?^A!^?a$cF^?q#^?^A!^?^Qc^?^A!^?^A#^?m!^?q#^?^A!#$cB^?}#^?^Qa^?^A#^?^Q
a^?=]
Apr  1 12:36:09 lpa login[308]: FAILED LOGIN 2 FROM (null) FOR
$^[F^?}#^?^A!^?a$cF^?q#^?^A!^?^Qc^?^A!^?^A#^?m!^?q#^?^A!#$cB^?}#
^?^Qa^?^A#^?^Qa^?=, User not known to the underlying authentication module


I don't understand...
What can I do now ?

Is it a problem higher than mgetty ?
I precise that I can make ppp link with my ISP without troubles...

Thanks for your help !

----------------------------------
Fabien SALVI
E-Mail: lacontam@cur-archamps.fr