DIGIT-ARC read-only archive · snapshot: July 23, 2026

How to Configure Mobile phone in Linux???

72 posts · originally from https://geek.digit.in/community/threads/how-to-configure-mobile-phone-in-linux.46989/

Manshahia
Manshahia Original post #1
Jan 21, 2007 at 1:59 AM
I tried various version of linux from
suse 10
suse 10.1
suse 10.2
FC 6
mandarke
mandriva
Ubuntu 5
ubuntu 6
Knoppix

But was unable to configure my cell phone in anyone.

Can anyone tell how to configure coz its preventing me frm browsing internet through linux and preventing me frm even starting linux coz mostly i use pc for internet.
24online
Jan 21, 2007 at 3:01 AM
(Video) OpenMoko FIC Neo1973: World’s First Open Source Phone


*www.techeblog.com/index.php/tech-gadget/video-openmoko-fic-neo1973-worlds-first-open-source-phone


:D
M
Jan 21, 2007 at 4:06 AM
Firstly, which mobile phone do you have?
And check this thread *www.thinkdigit.com/forum/showthread.php?t=39181
nitish_mythology
Jan 21, 2007 at 9:34 AM
Even I was unsuccessful in connecting My N72 in Fc6 and Ubuntu!
Jst wanted to transfer some mp3 songs to memory card!
No intention of using net through my phone!

By the way, can I access Internet through my BSNL sim?
NucleusKore
Jan 21, 2007 at 10:00 AM
nitish_mythology said:
Even I was unsuccessful in connecting My N72 in Fc6 and Ubuntu!
Jst wanted to transfer some mp3 songs to memory card!
No intention of using net through my phone!

By the way, can I access Internet through my BSNL sim?

I am surprised you are not able to use bluetooth. Bluetooth Obex services work fine in linux
Manshahia
Jan 21, 2007 at 11:04 AM
I m using 6630.
Also during suse installation i installed Gnokki with it.
But when i saw in the menu i was unable to find any shortcut to that software. Dont shortcuts r created in Linux for the particular softwares?
nitish_mythology
Jan 21, 2007 at 11:11 AM
NucleusKore said:
I am surprised you are not able to use bluetooth. Bluetooth Obex services work fine in linux

I used Data Cable to conn the pc and cell!
M
Jan 21, 2007 at 1:34 PM
Manshahia said:
I m using 6630.
Also during suse installation i installed Gnokki with it.
But when i saw in the menu i was unable to find any shortcut to that software. Dont shortcuts r created in Linux for the particular softwares?
If I remember right, gnokii is a CLI tool. So, try accessing it from terminal. There's a frontend to it, like KGnokii or something.
__________
nitish_mythology said:
Even I was unsuccessful in connecting My N72 in Fc6 and Ubuntu!
Jst wanted to transfer some mp3 songs to memory card!
No intention of using net through my phone!
Bluetooth or USB?
Manshahia
Jan 21, 2007 at 3:30 PM
HOw can i access it from the terminal??
Any other ways of connecting via USB cable?
Pathik
Pathik #10
Jan 21, 2007 at 3:46 PM
hey even i need help regarding this.. Once i can connect internet in linux(fc6) i wont even use xp..
nitish_mythology
Jan 21, 2007 at 3:52 PM
I connected through a Data Cable via USB!
Manshahia
Manshahia #12
Jan 21, 2007 at 4:07 PM
@ Nitish Mythology

Plz tell us the procedure of both
1. Connecting via Bluetooth
2. Nd connecting via Usb Data cable
Thnx
nitish_mythology
Jan 21, 2007 at 4:14 PM
Conn via bluetooth
U need a USB bluetooth dongle fr tht!(This is the wireless way)

Conn via Data Cable
U need a data cable tht conn the cell and p.c via the usb interface

Conn Via Mem Card Reader
u can even buy a mem card reader and directly transfer data between ur mem card and p.c using usb interface.
Manshahia
Manshahia #14
Jan 21, 2007 at 4:19 PM
I hav the bluetooth dongle
I hav the Data cable

WHen i connect mobile via data cable nothing happens or i dont knw wat to do after that

plz also tell wat to do after connecting the bluetooth dongle.
nitish_mythology
Jan 21, 2007 at 4:24 PM
Even I was unable to conn my pc and cell via data cable so was asking tech_your_future abt it!
gary4gar
gary4gar #16
Jan 21, 2007 at 4:27 PM
^^^^
check the link thay mehul have given guys
Manshahia
Manshahia #17
Jan 21, 2007 at 4:38 PM
@nitish Mythology

Do u knw how to connect via bluetooth?
gary4gar
gary4gar #18
Jan 21, 2007 at 4:41 PM
here is my wvdial.conf if any body needs them
Code:
[Modem0]
Modem = /dev/ttyUSB0
Baud = 230400
SetVolume = 0
DialCommand = ATDT
FlowControl = Hardware(CRTSCTS)

[Dialer R]
Username = 1
Password = 1
Phone = *99***1#
Mode = 1
Inherits = Modem0

[Dialer Defaults]
Modem = /dev/ttyUSB0
Baud = 230400
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem
[B]Phone = *99***1#
Username = a
Password = b[/B]
nitish_mythology
Jan 21, 2007 at 4:42 PM
I dont own a bluetooth dongle...
So cant sat abt it!
Manshahia
Manshahia #20
Jan 21, 2007 at 6:09 PM
Tried using Bluetooth
Insertd bluetooth dongle
suse detected it
But i was unable to configure the Internet connections
Anybody knws how to do that?
M
mehulved #21
Jan 21, 2007 at 6:24 PM
manshahia did you read this thread *www.thinkdigit.com/forum/showthread.php?t=39181 or gary's post and try it?
Manshahia
Manshahia #22
Jan 22, 2007 at 10:49 AM
I tried that thread but didnt find anything helpful.
Any other way??
Just hav to dial through the bluetooth.
But cant dial.
__________
Help me guys.
I hav been trying to connect to internet through linux for months nd havnt succeded.
Plz do something.
__________
Help..
gary4gar
gary4gar #23
Jan 22, 2007 at 12:14 PM
Manshahia said:
Tried using Bluetooth
Insertd bluetooth dongle
suse detected it
But i was unable to configure the Internet connections
Anybody knws how to do that?


for bluetooth u need to pair ur modile & pc.
it will set a pin for seciruty purposes.
a detailed guide is available here
Manshahia
Manshahia #24
Jan 24, 2007 at 9:13 AM
I had done that.
Paired my phone with the PC, but cudnt find frm where to connect to internet?
__________
Help
gary4gar
gary4gar #25
Jan 24, 2007 at 11:16 AM
Check this link
*www.linux-magazine.com/issue/52/Bluetooth_Mobile_Phones.pdf
if this does not help go thorugh this google search
*www.google.com/linux?hl=en&lr=&q=[howto]+Bluetooth+Linux+Mobile+dongle&btnG=Search
Manshahia
Manshahia #26
Jan 26, 2007 at 5:48 PM
even this didnt helped...
M
mehulved #27
Jan 26, 2007 at 10:47 PM
tell us what have you done till now and what is going right and what is going wrong. Just saying, it does not help is totally useless.
Manshahia
Manshahia #28
Jan 27, 2007 at 10:23 PM
Till now::
Firstly connected my mobile via USB cable. Linux detected but i cudnt find anything frm where i can dial to connect to internet.

Then i tried Bluetooth, Paired my phone with PC, but again cudnt find Dialup to connect to internet.

This is the whole story.
ALso i belong to a small city, where i dont think anybody knws abt LINUX, so i cant get help frm outside too.

No one knws how to connect internet on linux???
Aberforth
Aberforth #29
Jan 28, 2007 at 1:57 AM
If you are using KDE, use the KBluetooth to find your device. Pair it and then add modem as a service (if available in your phone). This will load the service in your kbluetooth module and you'll be able to turn your phone into a bluetooth internet modem.
Manshahia
Manshahia #30
Jan 29, 2007 at 7:56 AM
Can u plz tell me how to add modem as service.
gary4gar
gary4gar #31
Jan 29, 2007 at 10:30 AM
Manshahia said:
Can u plz tell me how to add modem as service.
pls tell through which u wanna connect bluetoth or cable.
and also ur cell no
Aberforth
Aberforth #32
Jan 29, 2007 at 11:57 AM
Manshahia said:
Can u plz tell me how to add modem as service.

After you pair your phone with your computer, did you get a list of services available in your phone? Like OBEX file transfers, Dialup modem, Sync Server...etc.? The dialup modem is the service which is used to connect to internet. If it isn't found show me a screeny and tell me how far you got, only then I'll be able to help.
M
mehulved #33
Jan 30, 2007 at 12:30 AM
This might be helpful *gentoo-wiki.com/HOWTO_Access_the_internet_with_your_cellphone_and_bluetooth_(UMTS/GPRS)
Manshahia
Manshahia #34
Jan 30, 2007 at 12:35 AM
it said There is currently no text in this page
M
mehulved #35
Jan 30, 2007 at 12:50 AM
corrected it.
Manshahia
Manshahia #36
Jan 30, 2007 at 12:55 AM
Suse is Debian or something else?
M
mehulved #37
Jan 30, 2007 at 1:03 AM
something else.
Manshahia
Manshahia #38
Jan 30, 2007 at 1:05 AM
:) Then wat is it ??
I hav some options on that site nd now this time it is going to work.
Thnx for the Help.
I hav been searching for this frm many months. Thnx a lot man.
M
mehulved #39
Jan 30, 2007 at 1:43 AM
Suse is an rpm based distro. Ubuntu and Knoppix are debian based. Why do you need if suse is debian based?
Manshahia
Manshahia #40
Jan 30, 2007 at 2:09 AM
There were many packages in front of my phone's name like 6630 debian 6630 linux etc..
Thats y i asked u.
Aberforth
Aberforth #41
Jan 31, 2007 at 12:41 AM
Suse isn't a Debian based distro. Its RPM based or the general 'linux' similar to Fedora (Red Hat).
Pathik
Pathik #42
Feb 3, 2007 at 4:34 PM
@manshahia hav u been able to connect net thru BT ???
Manshahia
Manshahia #43
Feb 3, 2007 at 5:49 PM
No man, i will trying this next week.
Coz i reformatted my hard drive and then i wud b installing Suse again..

@Pathiks
U also want to connect net in linux?
Pathik
Pathik #44
Feb 3, 2007 at 9:37 PM
yup dude... same probs... me 2 trying... its too boring to work on linux w/o net... :(
M
mehulved #45
Feb 3, 2007 at 9:55 PM
Pathiks did you try the link I had given?
Here's another one *www.howtoforge.com/linux_internet_access_gprs_edge_via_bluetooth_gsm_phone
Don't worry about the kernel compilation part, I think it should be done properly already.
Manshahia
Manshahia #46
Feb 3, 2007 at 10:54 PM
One more think i hav got is--
Check out the suse documentation on connecting GPRS via Bluetooth. A friend of mine told me to read that too. He said he is also using net after taking help from that documentation.
M
mehulved #47
Feb 3, 2007 at 10:59 PM
Then RTFM :)
Manshahia
Manshahia #48
Feb 3, 2007 at 11:37 PM
^^^ Wat is this??
eddie
eddie #49
Feb 4, 2007 at 2:33 AM
"Read The F***ing Manual"
Pathik
Pathik #50
Feb 4, 2007 at 3:39 PM
tech_your_future said:
Then RTFM :)
hey tyf do u invent these urself or r they already in use????
M
mehulved #51
Feb 4, 2007 at 4:05 PM
RTFM is a very popular word.
It's the holy word you gotta mention atleast once in your life to attain GNU/Linux nirvana. :p
And if you'll people can tell what you'll have done till now and what went right and what went wrong, then there someone can suggest what to do next.
just saying, it doesn't work or it doesn't help doesn't help us in helping you'll either.
Pathik
Pathik #52
Feb 4, 2007 at 4:13 PM
tech_your_future said:
And if you'll people can tell what you'll have done till now and what went right and what went wrong, then there someone can suggest what to do next.
just saying, it doesn't work or it doesn't help doesn't help us in helping you'll either.
bouncer... :eek: btw i wd rather go n try to connect my BT rather than try to decipher the meaning of wat u said :p ... wish me luck.. m goin back to suse...
M
mehulved #53
Feb 4, 2007 at 4:24 PM
I was showing you'll that there are more difficult things :p
Pathik
Pathik #54
Feb 4, 2007 at 5:02 PM
tyf i m getting a dialup networking icon after exploring in my fone in suse but wat do i open it wit.. I tried kbluetoothd.desktop,kbtobexsrv.desktop etc etc but i get a error "is a folder but a file was expected"
M
mehulved #55
Feb 4, 2007 at 5:48 PM
Type this in the terminal
Code:
hcitool scan
The above command will give you the device ID of your phone. Open a new tab in the terminal.
Now open hcid.conf file
Code:
su
nano -w /etc/bluetooth/hcid.conf
Edit the options to match this file
options options {

autoinit yes;

security auto;

pairing multi;

pin_helper /etc/bluetooth/pin-helper;

}

laptop device {

name "t43 (%d)";

class 0x3e0100;

iscan enable;

pscan enable;

lm accept;

lp rswitch,hold,sniff,park;

}
Then open /etc/bluetooth/bluetooth-pin helper file,
Code:
nano -w /etc/bluetooth/bluetooth-pin
it should look like this
#!/bin/sh

echo -n "PIN:" cat /etc/bluetooth/pin

Then open the file /etc/bluetooth/pin
Code:
nano -w /etc/bluetooth/pin
Enter your desired pin code, eg.

Then open /etc/bluetooth/rfcomm.conf file
Code:
nano -w /etc/bluetooth/rfcomm.conf
It should look like this
rfcomm0 {
bind yes;

device 00:15:2a:2e:e1:97;

channel 1;

comment "Nokia";

}
Replace the device id with the device id you got in the other tab at the beginning and you can change the comment to whatever you like.
If channel 1 doesn't work on your phone then type this command
Code:
sdptool browse
It will tell which channel has which service.

Now for PPP configuration
I haven't ever tried this so there might be something I miss out or get wrong here
Now, we need to setup a PPP connection between the PC and the phone

Open the file /etc/ppp/peers/plus
Code:
 nano -w /etc/ppp/peers/plus
It should look like this
/dev/rfcomm0 115200

connect '/usr/sbin/chat -v -f /etc/ppp/chat-gprs'

crtscts

modem -detach

noccp

defaultroute

usepeerdns

noauth

ipcp-accept-remote

ipcp-accept-local

noipdefault

Now, create a file /etc/ppp/chat-gprs
Code:
 nano -w /etc/ppp/chat-gprs[code]
[quote]'' ATZ OK 

AT+CGDCONT=1,"IP","www.plusgsm.pl"

 OK "ATD*99***1#"

 CONNECT ''[/quote]
This will actually depend on what your MSP supports, I have no clue of this really. 
If login id and password are needed to dial the gprs connection then you need to fill up /etc/ppp/pap-secrets and /etc/ppp/chap-secrets files.
You should be all set now to connect.

Now type this command
[code]pppd call plus

Now you should be connected.

I have used this how to *www.howtoforge.com/linux_internet_access_gprs_edge_via_bluetooth_gsm_phone and put in a little bit of extra stuff I know of.
Pathik
Pathik #56
Feb 4, 2007 at 7:04 PM
dude i ve read that howto already.... but u sure there isnt ny gui way to do so..??? neways thx... i m goin back to suse.... i hope it works this time...
M
mehulved #57
Feb 4, 2007 at 7:10 PM
For a GUI way, use a GUI text editor instead of nano, use Konqueror to find the devices and scan the services.
But, I guess the last command has to be given in the terminal.
I don't think there's another way.
Pathik
Pathik #58
Feb 4, 2007 at 7:55 PM
After doing it all i m gettin a error .. "pppd : in file /etc/ppp/peers/plus: unrecognized option '/dev/rfcomm0' " btw where is my bt dongle listed??
M
mehulved #59
Feb 4, 2007 at 8:09 PM
Do you have any device under /dev named rfcomm0 or rfcomm or something similar?
If you have KDE, you can use KPPP instead see *www.integrasoftware.it/index.php?option=com_content&task=view&id=84&Itemid=28
Pathik
Pathik #60
Feb 4, 2007 at 8:47 PM
btw no i dont hav ny device like rfcomm0 :(
M
mehulved #61
Feb 4, 2007 at 10:00 PM
Here's how to create it
Code:
mknod -m 666 /dev/rfcomm0 c 216 0
This may help *www.murga-linux.com/puppy/viewtopic.php?t=2667&start=15 , I haven't read it properly myself so can't say if it's useful.
Pathik
Pathik #62
Feb 8, 2007 at 9:15 PM
hey tyf if u hav some extra time on hand then could u pls try to connect gprs on pc in os 10.2???? and post a tutorial for noobs like me???? i hav lost half my hair trying to do so.... its hampering my linux inclinations.... pls pls pls pls pls.... :)
M
mehulved #63
Feb 8, 2007 at 9:27 PM
I don't have a GPRS enabled phone. My 3230 isn't working. And hutch gprs is too costly(I have no source of money except my pocket money most of which goes in my bike's fuel).
At the most I can help is if you give out what error messages you're getting, someone can go ahead and help there.
But, did the last command work for you?
Tech.Masti
Feb 9, 2007 at 2:15 AM
gary4gar said:
here is my wvdial.conf if any body needs them
Code:
[Modem0]
Modem = /dev/ttyUSB0
Baud = 230400
SetVolume = 0
DialCommand = ATDT
FlowControl = Hardware(CRTSCTS)

[Dialer R]
Username = 1
Password = 1
Phone = *99***1#
Mode = 1
Inherits = Modem0

[Dialer Defaults]
Modem = /dev/ttyUSB0
Baud = 230400
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem
[B]Phone = *99***1#
Username = a
Password = b[/B]

gary i am new to linux...... please tell me what i do with this file....
M
mehulved #65
Feb 9, 2007 at 2:54 AM
Tech.Masti said:
gary i am new to linux...... please tell me what i do with this file....
It's a configuration file. It contains details about your connection.
Manshahia
Manshahia #66
Feb 11, 2007 at 2:15 PM
hey TYF, i hav done some home work on connecting.

1. Conect the mobile via Data cable and started Yast. In modem, searched for it.
*img241.imageshack.us/img241/5016/untitled1copyox2.jpg

2. Next

*img117.imageshack.us/img117/1429/untitled2copywx1.jpg

3. As in this image we can't go next without filling a username but airtel doesnt require any username to connect to the internet. How can i bypass this??

*img117.imageshack.us/img117/5528/untitled3ek2.jpg

4. Filled the first server and second server value looking at the settings in the mobile phone. Is it correct??

*img117.imageshack.us/img117/7176/untitled4copyhp2.jpg

5. Everything done correctly??
*img117.imageshack.us/img117/6008/untitled5copydr6.jpg

6. Got this in Yast>>Network
*img117.imageshack.us/img117/8909/untitled6copysf1.jpg

Now wat to do next to dial??
__________
Searched some other forums and read that Kinternet is a tool that is used to Dial and also is GUI.
Then i installed that from the DVD, but when i dialed it asked for the Pasword but airtel Mobile Office has no username and password.
Wat can i do ??

After that did this
the Command i gave was
~$sudo wvdialconf /etc/wvdial.conf
*img101.imageshack.us/img101/5607/new1af5.jpg

Then tried to install this PPP. Dont knw wat it is. Did wat had been told
*img214.imageshack.us/img214/959/untitled1copypy0.jpg
M
mehulved #67
Feb 11, 2007 at 7:13 PM
apt-get won't work on suse, it's something that's in debian and debian based distro. Apt is the debian package manager. About vwdial, I will have to install some distro in VM and check. Will answer this later.
Manshahia
Manshahia #68
Feb 11, 2007 at 7:53 PM
Wat abt the modem??
Is it correctly cofigured??
Pathik
Pathik #69
Feb 11, 2007 at 8:25 PM
tech_your_future said:
apt-get won't work on suse, it's something that's in debian and debian based distro. Apt is the debian package manager. About vwdial, I will have to install some distro in VM and check. Will answer this later.
... hehehehehe typo again :p
Manshahia
Manshahia #70
Feb 11, 2007 at 8:28 PM
^^^^
??????
Pathik
Pathik #71
Feb 11, 2007 at 8:30 PM
its wvdial.conf not vwdial...
M
mehulved #72
Feb 11, 2007 at 11:47 PM
see this *www.akshaymehta.com/2006/08/17/airtel-gprs-on-fc5-linux-with-o2-atom/
Try using your phone no. for both.
Pathiks you try that too, So, you'll can even use YAST. And if you'll get connected, then plz make a tut so I can sticky it.