Adjust the bluetooth dialup connection
From MEPIS Documentation Wiki
!!! Warning! The info contained in this article pertains to older versions of MEPIS !!!
There are a few tweaks to connect the internet by a bluetooth dialup connection with GPRS/EDGE/3G.
We suppose the following:
- You have a bluetooth mobile phone that have access to the Dial-up Networking Bluetooth Profile.
- You have a internet subscription for GPRS/EDGE/3G through your mobile phone service provider.
- You have a PC/laptop that have a bluetooth dongle.
For the first time, to setup KPPP to have a direct account to a bluetooth connection, do the following tasks:
- Get working your bluetooth on your mobile phone with "Show to all" visibility first.
- Launch the kbluetoothd program.
- Launch the Konsole program.
- To discover the profile channel number run the command: sdptool scan .
- Find on the output a string like "Dialup Networking"
- The channel number you find there is the channel_number mentioned further.
- To discover the profile channel number run the command: sdptool scan .
- Launch the "su" command to became the root user.
- To establish the bluetooth dialup network temporary connection type the command: rfcomm bind hci0 xx:xx:xx:xx:xx:xx channel_number (see above).
- If you want to establish a permanently bluetooth dialup connection that will work from the next reboot (or bluetooth service restart) add with root privileges the following to the /etc/bluetooth/rfcomm.conf file:
| rfcomm0 { | |
| bind yes; | |
| device xx:xx:xx:xx:xx:xx; | |
| channel channel_number; | |
| comment “My bluetooth dial-up�?; | |
| } |
Now you must setup the kppp program. That have a gui interface, then you can close the konsole program.
- First, you must add a new modem. For the device field, you must select /dev/rfcomm0 .
- Then you can add your account, that can have a script-based authentication. At the end you must edit the file /etc/ppp/options and change the line auth in noauth.
- At this point the PC will ask you a PIN code.
- Type any PIN code you want.
- Type the PIN code on the mobile phone too.
- Now the connection is authenticated.
Links