L2CONTROL(8)

πŸ“¦ version 15.1, in freebsd 14.5, freebsd 15.1

πŸ’™ L2CONTROL (8) β€” the l2control girlie's guide ✨

okay so this is l2control(8), from the System Manager's Manual, and bestie it is literally the L2CAP configuration utility. she connects, she sends commands, she tells you what happened. iconic behaviour honestly.


🌸 SYNOPSIS 🌸

l2control [-hn] -a local command [parameters ...]

✨ DESCRIPTION ✨

okay so here's the vibe: the l2control utility connects to the local device with the specified BD_ADDR or name, and then it attempts to send the specified command. that's the whole mission. 🎯

the l2control utility will print results to the standard output and error messages to the standard error output. slay, it knows where things go.

the options are as follows:

  • -a local β€” Connect to the local device with the specified BD_ADDR or name. like, examples: -a 00:01:02:03:04:05 or -a bt_device. 🫢
  • -h β€” Display usage message and exit. the "help me help you" flag, no notes.
  • -n β€” Show Bluetooth addresses as numbers. Normally l2control attempts to resolve Bluetooth addresses, and display them symbolically. so -n is the "just give me the raw digits" era πŸ’…
  • command β€” One of the supported commands (see below, bestie, they're right there). the special command help can be used to obtain a list of all supported commands. and to get more information about a specific command, use help command. 🧚
  • parameters β€” One or more optional space separated command parameters. optional!! space separated!! you got this.

πŸ‘‘ COMMANDS πŸ‘‘

the currently supported node commands in l2control are:

Read_Node_Flags
Read_Debug_Level
Write_Debug_Level
Read_Connection_List
Read_Channel_List
Read_Auto_Disconnect_Timeout
Write_Auto_Disconnect_Timeout

like, look at that list. reads AND writes. main character energy fr fr. πŸ”₯


πŸ’€ EXIT STATUS πŸ’€

the l2control utility exits 0 on success, and >0 if an error occurs. so if you see a zero you're thriving, and if it's bigger than zero... we don't talk about it 😭


πŸ¦‹ SEE ALSO πŸ¦‹

netgraph(3), netgraph(4), ng_l2cap(4), l2ping(8)

go read those too, iykyk πŸ“š


πŸŽ€ AUTHORS πŸŽ€

Maksim Yevmenkin <emax@FreeBSD.org> β€” thank you for your service king πŸ‘‘


lowkey a whole little utility with a whole lot of personality. no cap. πŸ’œ

and that's the whole page bestie!! this one came from Debian, dated April 9, 2011 β€” a vintage moment, honestly. go configure some L2CAP and text me how it goes 🌈✨

πŸ“¦ where this page comes from