Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 06-05-2007, 12:46 PM   #1 (permalink)
MMO Addict
 
amitava82's Avatar
 
Join Date: Jul 2004
Location: Bangalore
Posts: 1,474
Lightbulb HOW TO: Mobile GPRS using USB data cable


Ok I don't know if this one is already present in the forum. There is a sticky on Mobile GPRS using bluetooth but not on USB datacable. here is how I did with my Sony Ericsson K310i(no bluetooth), ubuntu 7.04 and Airtel. It should work with other sony ericsson phones. someone plz confirm if work with other makers.

here is how. Please make sure you have correct GPRS settings in your phone.
1. Plug the data cable with Phone and PC.
2. run this command in console
Code:
sudo wvdialconf
you will get output like this
Code:
ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
Modem Port Scan<*1>: S1   S2   S3   
ttyACM0<Info>: Device or resource busy
Modem Port Scan<*1>: ACM0 
WvModem<*1>: Cannot get information for serial port.
ttyACM1<*1>: ATQ0 V1 E1 -- OK
ttyACM1<*1>: ATQ0 V1 E1 Z -- OK
ttyACM1<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyACM1<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyACM1<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyACM1<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyACM1<*1>: Modem Identifier: ATI -- Sony Ericsson K310
ttyACM1<*1>: Speed 4800: AT -- OK
ttyACM1<*1>: Speed 9600: AT -- OK
ttyACM1<*1>: Speed 19200: AT -- OK
ttyACM1<*1>: Speed 38400: AT -- OK
ttyACM1<*1>: Speed 57600: AT -- OK
ttyACM1<*1>: Speed 115200: AT -- OK
ttyACM1<*1>: Speed 230400: AT -- OK
ttyACM1<*1>: Speed 460800: AT -- OK
ttyACM1<*1>: Max speed is 460800; that should be safe.
ttyACM1<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyACM1<Info>: Speed 460800; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
so you can see my phone modem has been identified. its /dev/ttyACM1
3. now run this command in console
Code:
sudo gedit /etc/wvdial.conf
your file will somewhat look like this
Code:
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Stupid Mode = 1
Modem Type = USB Modem
ISDN = 0
New PPPD = yes
Phone = *99#
Modem = /dev/ttyACM1
Username = 123
Password = 123
Baud = 460800
what you have to do is insert the bold line, uncomment "phone", "Username", and "Password" line (if its commented) and enter the necessary values. in my case phone number is *99# (most of the cases) and no user id, password is needed but you can not keep it blank, so write something. if your modem value is not correct as we identified from previous command, then make it correct. Save and Exit.
4. now you can connect using
Code:
wvdial
Troubleshot:
sometimes the phone may not be identified. in that case just unplug the cable from USB and plug again or change the port. you can check if your phone device has been recognized or not using this command
Code:
dmesg
at the end if you fine likes like this
Code:
[  212.853728] cdc_acm 4-1:1.1: ttyACM0: USB ACM device
[  212.857527] cdc_acm 4-1:1.3: ttyACM1: USB ACM device
then your phone has been detected.

Happy Browsing and let me know if you have any problem
BTW its my first tut.. I hate to type but i did
__________________
Steam Profile || Personal Page
Warp drive active. Approaching stargate.
amitava82 is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 06-05-2007, 02:42 PM   #2 (permalink)
1337 |)00|) \m/
 
kaustav_geek's Avatar
 
Join Date: Nov 2005
Location: Cyber Space
Posts: 472
Default Re: HOW TO: Mobile GPRS using USB data cable

There is already one:
http://www.thinkdigit.com/forum/showthread.php?t=49242
__________________
My Blog : www.vatsuak.blogspot.com
My DA page : www.burningsilver.deviantart.com

OK..ok..... Ads are bad.. ;)

Last edited by kaustav_geek; 06-05-2007 at 02:58 PM.
kaustav_geek is offline  
Old 06-05-2007, 03:15 PM   #3 (permalink)
Burning Bright
 
anantkhaitan's Avatar
 
Join Date: May 2006
Location: NIT, Bhopal
Posts: 266
Default Re: HOW TO: Mobile GPRS using USB data cable

Brother this one is a Sticky
__________________
..::Fedora ::.. Freedom + Infinity + Speech
Registered Linux User #447318

GNUger was here.... Grrr....

Maah! Blog
http://brightedges.blogspot.com/
anantkhaitan is offline  
Old 06-05-2007, 03:43 PM   #4 (permalink)
MMO Addict
 
amitava82's Avatar
 
Join Date: Jul 2004
Location: Bangalore
Posts: 1,474
Default Re: HOW TO: Mobile GPRS using USB data cable

OOPS.. my bad. I just saw a sticky bluetooth, didn't check others coz they don't have "Data Cable" written in the title..
__________________
Steam Profile || Personal Page
Warp drive active. Approaching stargate.
amitava82 is offline  
Closed Thread

Bookmarks

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Data Cable for 6600 vimalonline Mobiles and Tablets 10 18-12-2005 08:37 PM
Mobile Charging through data cable help !!!!! expertno.1 Mobiles and Tablets 7 23-08-2005 09:23 PM
Lg data cable dodo QnA (read only) 1 14-06-2005 04:10 PM

 
Latest Threads
- by Sujeet
- by soumya
- by clmlbx
- by Charan
- by reddick

Advertisement




All times are GMT +5.5. The time now is 12:33 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2