Sunday, November 26, 2017

internet bluetooth tethering to linux device

1- enable bluetooth tethering then

2- pairing
$ sudo bluetoothctl
agent on

default-agent
scan on
pair 00:25:00:ff:ee:01
yes

- to list already paired devices
paired-devices

3- after pair complete run the command below to create interface for bluetooth
$ dbus-send --system --type=method_call --dest=org.bluez /org/bluez/hci0/dev_00_25_00_FF_EE_01 org.bluez.Network1.Connect string:'nap'


4- then use dhclient to get ip address
$ sudo dhclient bnep0


No comments:

Post a Comment