L2CONTROL(8)
π 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:
-alocal β Connect to the local device with the specified BD_ADDR or name. like, examples:-a 00:01:02:03:04:05or-a bt_device. π«Ά-hβ Display usage message and exit. the "help me help you" flag, no notes.-nβ Show Bluetooth addresses as numbers. Normallyl2controlattempts to resolve Bluetooth addresses, and display them symbolically. so-nis the "just give me the raw digits" era π- command β One of the supported commands (see below, bestie, they're right there). the special command
helpcan be used to obtain a list of all supported commands. and to get more information about a specific command, usehelp 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
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- Copyright (c) 2001-2002 Maksim Yevmenkin <m_evmenkin@yahoo.com>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms