BackupGGCode / wl500g

ASUS WL-5xx RT-N1x Oleg's based custom firmware
0 stars 0 forks source link

r5066 tries to connect to CDMA modem LM-700r using GPRS chat script #429

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I am trying to use my JOA Telecom LM-700r cdma modem on my Dir-320 router 
flashed with latest stable wl500g firmare provided by http://vampik.ru/

Router properly does usb_modeswitch but refuses to connect to the internet.

In modem log it says:

Calling GPRS/UMTS/LTE
ATZ
OK
AT+CGDCONT=1,"IP",""
ERRORFailed (ERROR)
Script /tmp/ppp/peers/wan0_chat.sh finished (pid 625), status = 0x7
Connect script failed

/tmp/ppp/peers/wan0_chat contains the chatscript as it should go for GPRS modem:

ABORT '~'
ABORT 'BUSY'
ABORT 'NO CARRIER'
ABORT 'ERROR'
REPORT 'CONNECT'
'' 'ATZ'
SAY 'Calling GPRS/UMTS/LTE'
'OK' ''
'' 'AT+CGDCONT=1,"IP",""'
'OK' 'ATD#777'
'CONNECT' ''

If I maually remove AT+CGDCONT=1,"IP" line from this file internet connection 
stats immediately.

Moreover, I also have C-motech CNU-680 CDMA modem. If I use it with the same 
configuration it works out of box, with proper cdma chatscript in 
/tmp/ppp/peers/wan0_chat

The only difference I can see is that LM-700r is represented as /dev/ttyACM0 
and CNU-680 as /dev/ttyUSB0. But it seems to be some kind of dark magic if it 
is true...

Original issue reported on code.google.com by dh...@nataraj.su on 3 Jan 2014 at 11:52

GoogleCodeExporter commented 9 years ago
If you help me with modifying /usr/ppp/dial in this system, I would be able to 
do more debugging.

I tried 

mkdir /usr/local/usr/
mkdir /usr/local/usr/ppp
cp /usr/ppp/dial /usr/local/usr/ppp
vi /usr/local/usr/ppp/dial
flashfs save && flashfs commit && flashfs enabled
reboot

but with no actual success...

Original comment by dh...@nataraj.su on 3 Jan 2014 at 11:54

GoogleCodeExporter commented 9 years ago
This problem is covered by Issue 432

https://code.google.com/p/wl500g/issues/detail?id=432

This issue can be closed now

Original comment by dh...@nataraj.su on 6 Jan 2014 at 9:07

GoogleCodeExporter commented 9 years ago

Original comment by lly.dev on 11 Jan 2014 at 7:45