Type this in the terminal
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
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.