Join Today
+ Reply to Thread
Results 1 to 3 of 3
  1. #1

    Arrow [guide] internet access from a motorola e6 on linux

    EASY STEP-BY-STEP INSTRUCTIONS TO ENABLE INTERNET ACCESS FROM A MOTOROLA E6 MOBILE PHONE. CONFIGURE YOUR MOTOROLA E6 MOBILE PHONE AS A GPRS MODEM FOR USE WITH UBUNTU.

    INTRODUCTION

    These instructions explain how I configured Ubuntu 10.04 LTS (64 bit) to connect to the Internet using a Motorola E6 mobile phone. Although I cannot guarantee they may work, the instructions may be useful for someone with similar requirements and hardware. For reference, I used the following:

    IBM Lenovo R61i laptop computer
    USB cable
    Motorola E6 (MotoRokr) smart phone
    Happy DTAC SIM

    Please note that I had already subscribed to a GPRS package with the carrier DTAC (Thailand). This cost about 100 baht per month for a maximum of 20 hours usage.

    Installation

    On the phone, I clicked the “status bar” (with icons for signal strength, remaining battery, etc.) and selected the following:

    GPRS: Enabled [OK]
    Next, I configured the phone to operate as a modem:

    Setup > USB Mode > Modem [Save]
    After this step was completed, I connected the phone to the laptop computer using a standard USB cable. I then opened a terminal window and issued the following command:

    lsusb [enter]
    This listed all USB devices including my USB modem:
    Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 003 Device 003: ID 0a5c:2110 Broadcom Corp. Bluetooth Controller
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 006: ID 22b8:3802 Motorola PCS C330/C350L/C450/EZX GSM Phone (AT)
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    To show only lines containing the word “Motorola” I could have changed the command as follows:
    lsusb | grep Motorola [enter]
    Next, I had to install an essential program named wvdial. To do this I had to connect to the Internet (a chicken and egg problem). There were no “free” wifi signals in my neighborhood so I disconnected the USB cable and then took the laptop computer to a nearby Internet café where they allowed me to use a spare Ethernet connection. Connected to the Internet, I issued the following commands:
    sudo apt-get update [enter]
    sudo apt-get install wvdial [enter]
    The dialer program (“wvdial”) downloaded and installed very quickly. I then reconnected the phone using the USB cable and then issued the following command:
    sudo wvdialconf [enter]
    Auto-configuration took just a few seconds. I then opened the PPP (peer to peer protocol) options file using a simple text editor:
    sudo gedit /etc/ppp/options
    and then added the following line denoting a local and remote IP address:
    0.0.0.0:10.1.1.254
    I then saved the changes and closed the file.

    Next, I opened the wvdial configuration file for editing:
    sudo gedit /etc/wvdial.conf
    and then added / edited the following lines:
    Init3 = AT+CGDCONT=1,"IP","www.dtac.co.th"
    Stupid Mode = 1
    Phone = *99#
    Username = ''
    Password = ''
    After the changes, the edited file looked like this:
    NOTE : The red colored is your APN
    [Dialer Defaults]
    Modem = /dev/ttyACM0
    Init1 = ATZ
    Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    Init3 = AT+CGDCONT=1,"IP","www.dtac.co.th"
    Stupid Mode = 1
    Modem Type = USB Modem
    Phone = *99#
    New PPPD = yes
    ISDN = 0
    Username = ''
    Password = ''
    Baud = 460800
    That was the configuration completed!

    Using wvdial to connect to the Internet

    To connect to the Internet using wvdial and a USB modem, I now issue the following command:

    sudo wvdial [enter]
    This normally outputs something like this:

    --> WvDial: Internet dialer version 1.60
    --> Cannot get information for serial port.
    --> Initializing modem.
    --> Sending: ATZ
    ATZ
    OK
    --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    OK
    --> Sending: AT+CGDCONT=1,"IP","www.dtac.co.th"
    AT+CGDCONT=1,"IP","www.dtac.co.th"
    OK
    --> Modem initialized.
    --> Sending: ATDT*99#
    --> Waiting for carrier.
    ATDT*99#
    CONNECT
    --> Carrier detected. Starting PPP immediately.
    --> Starting pppd at Wed Jun 30 13:44:42 2010
    --> Pid of pppd: 3457
    --> Using interface ppp0
    --> local IP address 115.67.241.2
    --> remote IP address 10.1.1.254
    --> primary DNS address 124.40.237.228
    --> secondary DNS address 124.40.237.236
    The Internet connection is slow but adequate for basic web browsing and checking emails. When I have finished using the dial-up connection, I press Ctrl + C to end the session:

    Attempting to exit gracefully...
    --> Terminating on signal 15
    --> Connect time 0.2 minutes.
    --> Disconnecting at Wed Jun 30 13:45:00 2010
    UPDATE

    ADDED A SCRIPT THAT WILL DO EVERYTHING DESCRIBED HERE JUST DO LIKE THIS
    execute in terminal

    sudo chmod 0777 ./script
    sudo ./script
    This worked for me I hope this will be useful for many of you motorola and Linux lovers....
    Thanks and Credits to ADMIN @ Bangkok Library | Digital library and information center for Bangkok, Thailand
    Original Post : How to configure Ubuntu 10.04 and Motorola E6 mobile phone (USB GPRS Modem) | Bangkok Library
    Attached Files Attached Files
    Last edited by kundancool; 11-20-2010 at 01:08 PM.
    Motorola A1200 : Beast
    Motorola MOTOROKR E6/E6e : GoldenBird/Bricked
    Samsung Galaxy Y S5360 : Stock ROM (Gingerbread 2.3.6) - ROOTED


  2. #2
    Join Date
    Apr 2007
    Location
    Malang, Indonesia
    Posts
    779

    Default

    Thanks, well done!
    I was part of that strange race of people aptly described as spending their lives doing things they detest to make money they don't want to buy things they don't need to impress people they dislike. -- Emile Henry Gauvreay

  3. #3

    Default

    Quote Originally Posted by jendral_hxr View Post
    Thanks, well done!
    well was it useful for you ?

    I found that everything on our forum was not working with my condition but this worked and great explaination so I thought of posting it here...

    Hope everybody gets success with this....
    Motorola A1200 : Beast
    Motorola MOTOROKR E6/E6e : GoldenBird/Bricked
    Samsung Galaxy Y S5360 : Stock ROM (Gingerbread 2.3.6) - ROOTED



 
+ Reply to Thread

Similar Threads

  1. [GUIDE]Flashing Motorola EZX phones on linux
    By kundancool in forum Linux
    Replies: 35
    Last Post: 10-21-2010, 02:59 AM
  2. [GUIDE]How to use Motorola ROKR E6 as Webcam on Linux
    By kundancool in forum E6 General Chat
    Replies: 1
    Last Post: 09-22-2010, 05:11 PM
  3. Does Access Linux platform support Motorola E6?
    By anan.mitra in forum E6 General Chat
    Replies: 0
    Last Post: 02-24-2009, 02:01 AM
  4. 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
  5. Replies: 1
    Last Post: 11-29-2006, 05:55 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 Friendly URLs by vBSEO 3.6.0 RC 1