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

request of help with GPRS & ppp on ETRAX-LX box



Hello to everybody
 
Probably this is a navie question but I'm not expert on PPP protocols (LCP IPCP and so on)
 
I was setting up the ppp package for etrax-lx just as a black-box allowing to spuervise remote PLC
from a control center as far as it will speak ppp over a GPRS movil modem.
 
This is the main frame and I was able to buld the ppp package but I cann't link the GPRS network
and the log of that comunication was:
....
stuff for dialing
CONNECT
 -- got it
 
send (\\d\\c\\n^M)
timeout set to 120 seconds
Serial connection established.
using channel 27
Using interface ppp0
Connect: ppp0 <--> /dev/ttyS0
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <mru 1500> <asyncmap 0x0> <pcomp> <accomp> <auth
pap>]
sent [LCP ConfRej id=0x1 <auth pap>]
rcvd [LCP ConfReq id=0x2 <mru 1500> <asyncmap 0x0> <pcomp> <accomp>]
sent [LCP ConfAck id=0x2 <mru 1500> <asyncmap 0x0> <pcomp> <accomp>]
sent [LCP EchoReq id=0x0 magic=0x0]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
rcvd [LCP TermReq id=0x3]
LCP terminated by peer
sent [LCP TermAck id=0x3]
rcvd [LCP EchoRep id=0x0 magic=0x0]
Connection terminated.
[root@AxisProduct /mnt/flash/etc/ppp]374#
 
The option.movistar configuration file for ppp is:
[root@AxisProduct /mnt/flash/etc/ppp]374# cat option.movistar
/dev/ttyS0  modem
nodetach
debug
kdebug 9
noauth
local
passive
noipdefault
ipcp-accept-local
ipcp-accept-remote
usepeerdns
defaultroute
crtscts 115200
name MOVISTAR
connect "chat -vsf /etc/ppp/con.sh"
novj
nomagic
asyncmap 0
lcp-echo-failure 4
lcp-echo-interval 30
[root@AxisProduct /mnt/flash/etc/ppp]374#
------------------------------------------------------------
[root@AxisProduct /mnt/flash/etc/ppp]374# cat /etc/ppp/con.sh
ABORT BUSY
ABORT NO\\sDIAL\\sTONE
ABORT RING
ABORT NO\\sCARRIER
'' ATZ
OK-+++\\c-OK ATE0V1X0M0
TIMEOUT 120
OK AT+CGDCONT=1,"IP","movistar.es"
OK ATDT*99***1#
CONNECT \\d\\c\\n
TIMEOUT 120
[root@AxisProduct /mnt/flash/etc/ppp]374#
 
Could anybody help me a bit ?
 
Thanks in advance
 
joaquin