How to Configure Mobile phone in Linux???

Status
Not open for further replies.

Aberforth

The Internationalist
Suse isn't a Debian based distro. Its RPM based or the general 'linux' similar to Fedora (Red Hat).
 
OP
Manshahia

Manshahia

Resident Fanatic
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?
 

mehulved

18 Till I Die............
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.
 
OP
Manshahia

Manshahia

Resident Fanatic
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.
 

mehulved

18 Till I Die............
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

Google Bot
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...
 

Pathik

Google Bot
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"
 

mehulved

18 Till I Die............
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

Google Bot
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...
 

mehulved

18 Till I Die............
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

Google Bot
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??
 

mehulved

18 Till I Die............
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
 
Status
Not open for further replies.
Top Bottom