| 1 |
|
| 2 | server:~# hcitool
|
| 3 | -su: hcitool: command not found
|
| 4 | server:~# apt-get install bluez-utils
|
| 5 | Reading package lists... Done
|
| 6 | Building dependency tree... Done
|
| 7 | The following extra packages will be installed:
|
| 8 | libbluetooth2
|
| 9 | Suggested packages:
|
| 10 | bluez-firmware
|
| 11 | Recommended packages:
|
| 12 | bluez-passkey-gnome
|
| 13 | The following NEW packages will be installed:
|
| 14 | bluez-utils libbluetooth2
|
| 15 | 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
|
| 16 | Need to get 292kB of archives.
|
| 17 | After unpacking 877kB of additional disk space will be used.
|
| 18 | Do you want to continue [Y/n]? y
|
| 19 | Get:1 http://ftp.nluug.nl etch/main libbluetooth2 3.7-1 [40.3kB]
|
| 20 | Get:2 http://ftp.nluug.nl etch/main bluez-utils 3.7-1 [252kB]
|
| 21 | Fetched 292kB in 0s (414kB/s)
|
| 22 | Selecting previously deselected package libbluetooth2.
|
| 23 | (Reading database ... 98595 files and directories currently installed.)
|
| 24 | Unpacking libbluetooth2 (from .../libbluetooth2_3.7-1_i386.deb) ...
|
| 25 | Selecting previously deselected package bluez-utils.
|
| 26 | Unpacking bluez-utils (from .../bluez-utils_3.7-1_i386.deb) ...
|
| 27 | Setting up libbluetooth2 (3.7-1) ...
|
| 28 |
|
| 29 | Setting up bluez-utils (3.7-1) ...
|
| 30 | Creating device nodes ...
|
| 31 | udev active, devices will be created in /dev/.static/dev/
|
| 32 | Starting bluetooth: hcid sdpd sdp_options rfcomm.
|
| 33 |
|
| 34 | server:~# hcitool dev
|
| 35 | Devices:
|
| 36 | hci0 00:10:60:A5:01:65
|
| 37 | server:~# hcitool inq
|
| 38 | Inquiring ...
|
| 39 | 00:1D:3B:B1:2E:C8 clock offset: 0x1106 class: 0x5a0204
|
| 40 | server:~# hcitool scan
|
| 41 | Scanning ...
|
| 42 | 00:1D:3B:B1:2E:C8 Nokia 6300
|
| 43 | server:~# hcitool scan
|
| 44 | Scanning ...
|
| 45 | 00:12:D1:A8:B6:11 WM_phone
|
| 46 | 00:1D:3B:B1:2E:C8 Nokia 6300
|
| 47 |
|
| 48 |
|