L2PING(1)

✨ NAME ✨

okay so l2ping(1) is the Linux System Administration bestie whose whole NAME energy is literally Send L2CAP echo request and receive answer. no cap. it’s giving simple and iconic. πŸ’–


🌸 SYNOPSIS 🌸

l2ping [OPTIONS] bd_addr

πŸ¦‹ DESCRIPTION πŸ¦‹

l2ping(1) sends a L2CAP echo request to the Bluetooth MAC address bd_addr given in dotted hex notation. that’s lowkey the whole plot, bestie. ✨

πŸ’… OPTIONS πŸ’…

  • -i <hciX> β€” this applies the command to device hciX, and hciX must be the name of an installed Bluetooth device (X = 0, 1, 2, ...). If you don’t specify it, the command goes to the first available Bluetooth device. 🫢
  • -s size β€” sets the size of the data packets to be sent. ✨
  • -c count β€” sends count number of packets, then exits. periodt. πŸ’…
  • -t timeout β€” waits timeout seconds for the response. πŸ’œ
  • -d delay β€” waits delay seconds between pings. πŸ“
  • -f β€” kind of flood ping. πŸ”₯ Use with care! It reduces the delay time between packets to 0. πŸ’€
  • -r β€” reverse ping (gnip?). Sends an echo response instead of an echo request. πŸ™ˆ
  • -v β€” verifies the response payload is identical to the request payload. It is not required for remote stacks to return the request payload, but most stacks do (including Bluez). 🧚
  • bd_addr β€” the Bluetooth MAC address to be pinged, in dotted hex notation like 01:02:03:ab:cd:ef or 01:EF:cd:aB:02:03. πŸŽ€

🌈 RESOURCES 🌈

the resource corner is literally just http://www.bluez.org. obsessed? same. πŸ’–

πŸ› REPORTING BUGS πŸ›

bugs go to linux-bluetooth@vger.kernel.org. 🫢

πŸ‘‘ AUTHOR πŸ‘‘

the icons behind it:

  • Maxim Krasnyansky <maxk@qualcomm.com>
  • Marcel Holtmann <marcel@holtmann.org>
  • Nils Faerber <nils@kernelconcepts.de>
  • Adam Laurie <adam@algroup.co.uk>

okay so legally, the glow-up is: Free use of this software is granted under the terms of the GNU Lesser General Public Licenses (LGPL). πŸ’…


and that’s the whole page, bestie 🫢 β€” brought to you by BlueZ, dated Jan 22, 2002. go ping something cute, slay, periodt. πŸ’…βœ¨

πŸ“¦ where this page comes from