[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PPP dialin server



Greetings!

I wonder if anyone has managed to get a PPP dialin server working on the
etrax developer board?

I use mgetty for handling incoming calls and for starting the pppd. When
using a regular PC for the PPP server everything works fine but when
using the etrax developer board I get into trouble.

My problem is that the client that tries to connect to the PPP server
hangs in the "verifying username and password"-phase and after a while
the message "The server didn't respond" is given to the client.

When looking in the log files for mgetty and pppd respectively I can see
that mgetty has answered the call and started pppd and pppd has been
started. However, when looking in the log file for pppd I can't see any
mentioning of "pppd using interface ppp0" or anything like that. If I
list the current processes I can see that the pppd is running.

If anyone has got an idea of what might be wrong I would be most
grateful if you would help me.

I have attached printouts of my mgetty log and my pppd log below.

--- mgetty log printout ---

06/02 11:04:21 yS0  mgetty: experimental test release 1.1.30-Dec16
06/02 11:04:21 yS0  check for lockfiles
06/02 11:04:21 yS0   checklock: stat failed, no file
06/02 11:04:21 yS0  locking the line
06/02 11:04:21 yS0   makelock(ttyS0) called
06/02 11:04:21 yS0   do_makelock: lock='/var/lock/LCK..ttyS0'
06/02 11:04:21 yS0   lock made
06/02 11:04:21 yS0  can't get user id for 'uucp': No such file or
directory
06/02 11:04:21 yS0  can't get group 'modem': No such file or directory
06/02 11:04:21 yS0   tio_get_rs232_lines: status: RTS CTS DSR DTR
06/02 11:04:21 yS0  lowering DTR to reset Modem
06/02 11:04:22 yS0   tss: set speed to 9600 (015)
06/02 11:04:22 yS0   tio_set_flow_control( HARD )
06/02 11:04:22 yS0   waiting for line to clear (VTIME), read:
06/02 11:04:22 yS0  send: AT&F1M0[0d]
06/02 11:04:22 yS0   waiting for line to clear (VTIME), read:
AT&F1M0[0d][0d][0a]OK[0d][0a]
06/02 11:04:23 yS0   removing lock file
06/02 11:04:23 yS0  waiting...
06/02 11:17:24 yS0    select returned 1
06/02 11:17:24 yS0   checking lockfiles, locking the line
06/02 11:17:24 yS0   makelock(ttyS0) called
06/02 11:17:24 yS0   do_makelock: lock='/var/lock/LCK..ttyS0'
06/02 11:17:24 yS0   lock made
06/02 11:17:24 yS0  wfr: waiting for ``RING''
06/02 11:17:24 yS0   got: [0d][0a]RING[0d]
06/02 11:17:24 yS0    CND: RING
06/02 11:17:24 yS0   wfr: rc=0, drn=0
06/02 11:17:24 yS0  wfr: waiting for ``RING''
06/02 11:17:24 yS0   got: [0a][0d][0a]RING[0d]
06/02 11:17:30 yS0    CND: RING
06/02 11:17:30 yS0   wfr: rc=0, drn=0
06/02 11:17:30 yS0  send: ATA[0d]
06/02 11:17:30 yS0  waiting for ``CONNECT''
06/02 11:17:30 yS0   got: ATA[0d]
06/02 11:17:30 yS0    CND: ATA[0d][0a]CONNECT ** found **
06/02 11:17:42 yS0  send:
06/02 11:17:42 yS0  waiting for ``_''
06/02 11:17:42 yS0   got:  9600/ARQ/V34/LAPM/V42BIS[0d]
06/02 11:17:42 yS0    CND: CONNECT 9600/ARQ/V34/LAPM/V42BIS
06/02 11:17:42 yS0    CND: found: 9600/ARQ/V34/LAPM/V42BIS[0a] ** found
**
06/02 11:17:42 yS0   waiting for line to clear (VTIME), read:
~[ff]}#[c0]!}!} } 2}"}&} } } }
}%}&6[d6]e}:}'}"}(}"}-}#}&}1}$}&N}3}7}!=\[d1]})[a3]sL[d3][91]G}3[ea]B[f4][e8][a5]} } } } [85][b4]~
06/02 11:17:42 yS0    looking for utmp entry... (my PID: 524)
06/02 11:17:43 yS0   tio_set_flow_control( HARD )
06/02 11:17:43 yS0   print welcome banner (/etc/issue)
06/02 11:17:43 yS0   getlogname (AUTO_PPP), read:~[ff]}#[c0]!
06/02 11:17:46 yS0   input finished with '\r', setting ICRNL ONLCR
06/02 11:17:46 yS0   tio_get_rs232_lines: status: RTS CTS DSR DTR DCD
06/02 11:17:46 yS0    login: use login config file
/etc/mgetty+sendfax/login.config
06/02 11:17:46 yS0   match: user='/AutoPPP/', key=''
06/02 11:17:46 yS0   match: user='/AutoPPP/', key=''
06/02 11:17:46 yS0   match: user='/AutoPPP/', key=''
06/02 11:17:46 yS0   match: user='/AutoPPP/', key='/AutoPPP/'*** hit!
06/02 11:17:46 yS0   login: utmp entry: a_ppp
06/02 11:17:46 yS0    looking for utmp entry... (my PID: 524)
06/02 11:17:46 yS0   calling login: cmd='/usr/sbin/pppd', argv[]='pppd
auth -chap +pap login debug'
06/02 11:17:46 yS0   setenv: 'CALLER_ID=none'
06/02 11:17:46 yS0   setenv: 'CONNECT=9600/ARQ/V34/LAPM/V42BIS'
06/02 11:17:46 yS0   setenv: 'DEVICE=ttyS0'
06/02 11:17:46 ##### data dev=ttyS0, pid=524, caller='none',
conn='9600/ARQ/V34/LAPM/V42BIS', name='', cmd='/usr/sbin/pppd',
user='/AutoPPP/'

--- pppd log printout ---

Jun  2 11:17:46 AxisProduct pppd[524]: pppd 2.4.1 started by root, uid 0

-- 
Best regards,

Martin Persson
Botech AB
Spångatan 37A
211 50 Malmö
Tel: +46 (0) 40 30 77 51
Fax: +46 (0) 40 22 98 98
E-mail: martin.persson@xxxxxxx.se
Web: www.botech.se