The Motorola Development Community


Go Back   MotorolaFans.com Forums > Motorola EZX Phones > E6 General Chat
Notices

E6 General Chat Motorola ROKR E6 is somehow a candybar version of the A1200 as they functions very similarly but with far more multimedia capabilities!

Reply

MotoFans NWBE

Join Date: Nov 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Quote  
#1
11-17-2008
Default Connection to internet using pppd

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.
Reply With Quote


User Information
Current Phone: 978-872-2282
discretesys is offlineReport Post
MotoFans MODR

Halftux's Avatar

Join Date: Sep 2007
Posts: 137
Thanks: 20
Thanked 40 Times in 30 Posts
Location: Germany

Quote  
#2
3 Weeks Ago
Default

Quote:
Originally Posted by discretesys View Post

1. I want to connect to internet from E6 using its GPRS modem.

2. I have tried both /dev/ppp and /dev/modemppp.

1. Connect your E6 or your PC over E6 to GPRS?

2. I can say only for A780. However here something to try-out:

/dev/gprsv0
/dev/ppp0
/dev/ttyACM0

Maybe it is helpful.
__________________
-------------------------------------
An idle brain is the devil's workshop.
Reply With Quote


User Information
Current Phone: A780 / Freerunner
Location: Germany

Halftux is offlineReport Post
Reply

Tags
connection, internet, modem, ppp, pppd

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
internet connection via phone cappanie A780 General Chat 7 2 Weeks Ago 06:01 PM
Q: Can you access internet on A1200 using PC internet connection? ltepperson A1200 General Chat 4 10-24-2007 05:23 PM
Anyway to use my pc's internet connection on E6? khizerk E6 General Chat 0 07-21-2007 09:22 AM
Internet Connection Sharing aapurohit A1200 General Chat 3 11-23-2006 09:34 PM
Internet connection for the phone SouLWa]2]2ioR A1200 General Chat 2 05-02-2006 06:21 AM


All times are GMT. The time now is 05:35 AM. Search Engine Friendly URLs by vBSEO 3.2.0 Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd. VBulletin Skin by ForumMonkeys.