Since I’m heading out for Las Vegas in just under two hours, I decided I’d get my laptop set up to get online through my cellphone with Bluetooth. Here’s a quick how-to.
bluez-util package at least./etc/bluetooth/pin.$ hcitool inq
$ sdptool browse 11:22:33:44:55:66
/etc/bluetooth/rfcomm.conf. Add the following entry (replace device & channel with the correct values for your phone):
rfcomm0
{
device 11:22:33:44:55:66;
channel 1;
comment 'BT DUN';
}
rfcomm0:
$ rfcomm bind rfcomm0 $ rfcomm
The second command should show the device, channel, and status.
/etc/ppp/options. You need to add:
privgroup some_group_you_are_a_member_of
You may want to set it to dialout, though there are security implications if you’re on a multi-user machine.
/dev/rfcomm0. Click the “Modem” tab, then the “Modem commands” button.ATD. Click OK until you’re back at the main config screen. Select the “Accounts” tab, and click the “New” button. Choose Manual Setup.*99#. Select Script-based authentication. Click “Customize pppd Arguments,” and add noauth
Discussion