Title: PPP Connection through ISDN Line

Hello Mikkel,

Thanks for your help. I tried your suggestion, and I feel we are a step forward, but still unable to connect this @!!?^~»# server.

These is my documentation related with this question.

Is there a way to trace the trafic after Connect: ppp0 <--> /dev/ttyC0 ???

pppu command
/usr/sbin/pppd file ppp.opt +chap +pap -d $Dvc $Spd

ppp.opt
connect /tmp/ppp.chat
debug
crtscts
modem

ipcp-accept-local
ipcp-accept-remote
lock

ppp.chat
/usr/sbin/chat -v ABORT BUSY ABORT 'NO ANSWER' ABORT 'NO CARRIER' \
'' 'ATZ' 'OK' 'AT&FZE0X8' 'OK' 'ATV1&D2&C1S0=0' 'OK' \
'AT&L1S38.3=1S48.2=1' 'OK' 'ATS84.4=1S118.3=1' 'OK' \
'ATCN<0>' 'OK' 'ATCI<00>' 'OK' \
'ATS7=60S50=0L4M1&K3*E0&K00&H3B0' 'OK' \
'ATDIxxxxxxxxxxxxx' '~'

/etc/ppp/pap-secrets and /etc/ppp/chap-secrets
#
Secrets for authentication using PAP
# client server secret IP addresses
MyUserIdOnTheOtherSide * MyPasswordOnTheOtherSide

connection log
Jan 28 18:29:16 dap50 chat[4949]: OK -- got it
Jan 28 18:29:16 dap50 chat[4949]: send (ATDIxxxxxxxxxxxxx^M)
Jan 28 18:29:16 dap50 chat[4949]: expect (~)
Jan 28 18:29:16 dap50 chat[4949]: ^M
Jan 28 18:29:20 dap50 chat[4949]: ^M
Jan 28 18:29:20 dap50 chat[4949]: CARRIER 64000^M
Jan 28 18:29:20 dap50 pppd[4947]: Serial connection established.
Jan 28 18:29:20 dap50 chat[4949]: ^M
Jan 28 18:29:20 dap50 chat[4949]: PROTOCOL: PPP^M
Jan 28 18:29:20 dap50 chat[4949]: ^M
Jan 28 18:29:20 dap50 chat[4949]: ERROR CONTROL: NONE^M
Jan 28 18:29:20 dap50 chat[4949]: ^M
Jan 28 18:29:20 dap50 chat[4949]: CONNECT 38400^M
Jan 28 18:29:20 dap50 chat[4949]: ^M
Jan 28 18:29:20 dap50 chat[4949]: ~ -- got it (FINE, both modems are linked)
Jan 28 18:29:21 dap50 pppd[4947]: Using interface ppp0
Jan 28 18:29:21 dap50 pppd[4947]: Connect: ppp0 <--> /dev/ttyC0
Jan 28 18:29:30 dap50 pppd[4947]: Hangup (SIGHUP)
Jan 28 18:29:30 dap50 pppd[4947]: Modem hangup
Jan 28 18:29:30 dap50 pppd[4947]: Connection terminated.
Jan 28 18:29:30 dap50 pppd[4947]: Exit.
Jan 28 18:31:12 dap50 kernel: PPP: ppp line discipline successfully unregistered

Reply via email to