l2ping: add page (#10711)

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
pull/23/head
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
1 changed files with 32 additions and 0 deletions

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}}`