Hi
I want to connect to internet from E6 using its GPRS modem.
One can usually do that by connecting to the phone on serial console for example, telnet 192.168.1.2, then starting pppd/chat on a modem device in the phone. However, this does not work. Has someone successfully been able to do it. Note, I have flashed the phone to not start the Qt application, so I cannot configure the phone from the user interface.
Here are the steps I perform:
1- telnet 192.168.1.2 (On PC)
2- insmod (On phone)
insmod /lib/modules/slhc.o
insmod /lib/modules/ppp_generic.o
insmod /lib/modules/ppp_async.o
insmod /lib/modules/modem_bridge.o
insmod /lib/modules/modem_relay.o
insmod /lib/modules/modem_ppp_generic.o
insmod /lib/modules/modem_ppp_async.o
3- put pppd config file and chat scripts on the phone (On phone)
-rw-r--r-- 1 root root 422 Jan 1 00:50 chat-cingular
-rw-r--r-- 1 root root 249 Jan 1 00:52 cingular
4- start pppd (On phone)
pppd call cingular
The last step should connect me to cingular wireless and create a ppp0 device. However, pppd exits without any message. I know by elimination that its a modem setup error. I have tried both /dev/ppp and /dev/modemppp.
Here are the scripts in step 3, and I know that these scripts work (on another phone):
- cingular
debug
/dev/ppp
115200
user
WAP@CINGULARGPRS.COM
password CINGULAR1
noipdefault
usepeerdns
lock
connect '/mcue/chat -v -V -S -e -s -t10 -f /etc/ppp/peers/chat-cingular'
- chat-cingular
SAY 'Starting GPRS connect script...\n'
SAY '\n'
SAY 'Setting the abort string\n'
SAY '\n'
ABORT 'NO DIAL TONE' ABORT 'NO ANSWER' ABORT DELAYED
SAY 'Initializing modem\n'
'' AT
OK AT+cfun=1
OK AT+cgreg=1
TIMEOUT 40
OK AT&F&D2&C1E0V1S0=0
OK AT+IFC=2,2
OK ATS0=0
OK AT
OK AT&F&D2&C1E0V1S0=0
OK AT+IFC=2,2
SAY '\n'
SAY 'Setting APN\n'
OK 'AT+CGDCONT=1,"IP","wap.cingular"'
SAY '\n'
SAY 'Dialing...\n'
OK ATD*99#
CONNECT ' '
Thanks in advance.