Join Today
+ Reply to Thread
Results 1 to 2 of 2
  1. 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.

  2. #2
    Join Date
    Sep 2007
    Location
    Germany
    Posts
    436

    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.
    -------------------------------------
    In any apple is a worm. Through each window flies a bug.
    That's why I take Linux, because what does not fly can not crash.


 
+ Reply to Thread

Similar Threads

  1. internet connection via phone
    By cappanie in forum A780 General Chat
    Replies: 10
    Last Post: 07-09-2009, 11:38 AM
  2. Q: Can you access internet on A1200 using PC internet connection?
    By ltepperson in forum A1200 General Chat
    Replies: 4
    Last Post: 10-24-2007, 04:23 PM
  3. Anyway to use my pc's internet connection on E6?
    By khizerk in forum E6 General Chat
    Replies: 0
    Last Post: 07-21-2007, 08:22 AM
  4. Internet Connection Sharing
    By aapurohit in forum A1200 General Chat
    Replies: 3
    Last Post: 11-23-2006, 09:34 PM
  5. Internet connection for the phone
    By SouLWa]2]2ioR in forum A1200 General Chat
    Replies: 2
    Last Post: 05-02-2006, 05:21 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Single Sign On provided by vBSSO

Search Engine Optimization by vBSEO 3.6.0 RC 1