l2ping

Send an L2CAP echo request and receive an answer. More information: <https://manned.org/l2ping>.

Install

All systems
curl cmd.cat/l2ping.sh
Debian Debian
apt-get install bluez
Ubuntu
apt-get install bluez
Alpine
apk add bluez
Arch Arch Linux
pacman -S bluez-utils
image/svg+xml Kali Linux
apt-get install bluez
CentOS
yum install bluez
Fedora
dnf install bluez
Windows (WSL2)
sudo apt-get update sudo apt-get install bluez
Raspbian
apt-get install bluez
Docker
docker run cmd.cat/l2ping l2ping powered by Commando

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

© tl;dr; authors and contributors