1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-09-10 16:53:10 +02:00

l2ping: add page (#10711)

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
This commit is contained in:
Johan Degn 2023-09-11 15:14:04 +02:00 committed by GitHub
parent f070228d1c
commit 5ccb5bbed8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

32
pages/common/l2ping.md Normal file
View file

@ -0,0 +1,32 @@
# 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}}`