Howto: hciconfig
From Offensive-security.com
Contents |
Name
- hciconfig - Configure Bluetooth devices.
Synopsis
hciconfig -h hciconfig [-a] hciconfig [-a] [command [command parameters]]
Description
- hciconfig is used to configure Bluetooth devices. hciX is the name of a Bluetooth device installed in the system.
- If hciX is not given, hciconfig prints name and basic information about all the Bluetooth devices installed in the system.
- If hciX is given but no command is given, it prints basic information on device hciX only. * Basic information is interface type, BD address, ACL MTU, SCO MTU, flags (up, init, running, raw, page scan enabled, inquiry scan enabled, inquiry, authentication enabled, encryption enabled).
Commands
up Open and initialize HCI device. down Close HCI device. reset Reset HCI device.
Basic Usage
hciconfig hciconfig hci0 up hcitool scan rfcomm connect 0 00:11:22:33:44:55
pitfalls: If you own a bluetooth mouse/keyboard hub <Human Interface Device> run hid2hci to swap modes and use hcitool etc
- Note : Not all commands and usage configurations are shown here, more info can be found here.
