Linux GPRS/EDGE via Bluetooth HOWTO
Linux GPRS/EDGE via Bluetooth HOWTOIn this guide I will show you howto configure internet access through GPRS/EDGE, using bluetooth connection with your GSM phone. I am using gentoo and Nokia 6310i phone, but this will work with any distribution and any bluetooth capable phone. RequirementsThe software needed for this to work : The hardware I am using is IBM ThinkPad T43 with Broadcom BT and Nokia 6310i. Kernel configurationThe most important thing is to have your hardware recognized, so let's step to kernel configuration. For proper bt/gprs you should have followig options compiled in: CONFIG_BT=y CONFIG_BT_L2CAP=m Bluez utils configurationOn gentoo all bluetooth configuration files are placed in /etc/bluetooth/, on your system it can be elsewhere The most important file is rfcomm.conf and hcid.conf. We will edit them in a moment, because first we have to know the bluetooth address of the phone/pda we will be using Start the blutooth system:/etc/init.d/hcid start or /etc/init.d/bluetooth start Issue scan command (rememeber to start bluetooth on your device too):hcitool scan this gives something similar to that on my machine:Scanning ... 00:15:2A:2E:E1:97 Nokia 6230i Now, when we know the bluetooth address of the phone, we can start editing the config files. hcid.confoptions options {
Remember to check if the /etc/bluetooth/pin-helper exists and put there PIN which you want. On my system - pin-helper is a bash script: #!/bin/sh.. and the /etc/bluetooth/pin has just 1234 example pin inside. The rfcomm.conf is as follows
rfcomm0 {
bind yes;
PPP ocnfigurationAfter having your bluetooth system configured, it is about time to configure the PPP to connect to internet through the phone, using bluetooth as a carrier The configuration I use is suitable for my provider, which is Plus GSM. In your case, the files will be the same, only the details may change. First we have to create a file, which we will use for the connection. I created a file called "plus": vim /etc/ppp/peers/plus The file is as follows:/dev/rfcomm0 115200 As you can see, there is a second file, called chat-gprs, which needs to be created. It controls the way we communicate with the modem /etc/ppp/chat-gprs'' ATZ OK The contents of this file is what you need to change if you do not have Plus GSM provider. Additionally if your provider uses login/password authentication, you should place proper data to /etc/ppp/chap-secrets or /etc/ppp/pap-secrets Connecting to the internetNow, as we have everything configured, we can at last connect to the internet. All we need to issue is: pppd call plus ... and have fun while open-air browsing Remember to check if you have your bluetooth switched on in the phone and laptop. Additional softwareBesides raw internet access, I am also using kbluetoothd daemon to browse my phone resources with konqueror. If you are a KDE user, I recommend this way to be very comfortable.
|

![Creative Commons Attribution License [Creative Commons Attribution License]](http://creativecommons.org/images/public/somerights20.gif)


Recent comments
1 day 6 hours ago
1 day 6 hours ago
1 day 11 hours ago
1 day 18 hours ago
1 day 19 hours ago
1 day 20 hours ago
2 days 44 min ago
2 days 7 hours ago
2 days 11 hours ago
2 days 12 hours ago