1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 23:02:07 +02:00
tldr/pages/common/l2ping.md
Johan Degn 5ccb5bbed8
l2ping: add page (#10711)
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
2023-09-11 15:14:04 +02:00

32 lines
732 B
Markdown

# l2ping
> Send an L2CAP echo request and receive an answer.
> More information: <https://manned.org/l2ping>.
- Ping a Bluetooth device:
`sudo l2ping {{mac_address}}`
- Reverse ping a Bluetooth device:
`sudo l2ping -r {{mac_address}}`
- Ping a Bluetooth device from a specified interface:
`sudo l2ping -i {{hci0}} {{mac_address}}`
- Ping Bluetooth device with a specified sized data package:
`sudo l2ping -s {{byte_count}} {{mac_address}}`
- Ping flood a Bluetooth device:
`sudo l2ping -f {{mac_address}}`
- Ping a Bluetooth device a specified amount of times:
`sudo l2ping -c {{amount}} {{mac_address}}`
- Ping a Bluetooth device with a specified delay between requests:
`sudo l2ping -d {{seconds}} {{mac_address}}`