Adjust the bluetooth dialup connection

From MEPIS Documentation Wiki

Jump to: navigation, search

!!! 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:

  1. You have a bluetooth mobile phone that have access to the Dial-up Networking Bluetooth Profile.
  2. You have a internet subscription for GPRS/EDGE/3G through your mobile phone service provider.
  3. 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:

  1. Get working your bluetooth on your mobile phone with "Show to all" visibility first.
  2. Launch the kbluetoothd program.
  3. Launch the Konsole program.
    1. To discover the profile channel number run the command: sdptool scan .
      1. Find on the output a string like "Dialup Networking"
      2. The channel number you find there is the channel_number mentioned further.
  4. Launch the "su" command to became the root user.
  5. To establish the bluetooth dialup network temporary connection type the command: rfcomm bind hci0 xx:xx:xx:xx:xx:xx channel_number (see above).
    1. 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.

  1. First, you must add a new modem. For the device field, you must select /dev/rfcomm0 .
  2. 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.
  3. At this point the PC will ask you a PIN code.
    1. Type any PIN code you want.
    2. Type the PIN code on the mobile phone too.
      1. Now the connection is authenticated.

Links

Personal tools
In other languages