LNPD(8)
π LNPD(8) β the manual, but make it slay π
okay bestie, sit down, we're reading the lnpd man page together and honestly? it's giving legendary. this is section 8 of the System Manager's Manual, so it's a daemon situation β admin-core, lowkey iconic. let's get into it π«Ά
β¨ NAME β¨
lnpd β a LinuX Interface to the BrickOS Networking Protocol
like, the name literally spells it out. LinuX. BrickOS. Networking. Protocol. periodt. π
πΈ SYNOPSIS πΈ
lnpd [-emseconds] [-f] [-l] [-mnumber] [-n] [-pport] [-r] [-ttty_device]
[-vlevel]
no cap, that's the whole shape of it. every single one of those lil bracketed babies gets explained below, don't you worry π
π¦ DESCRIPTION π¦
so lnpd is a LinuX daemon (yes, a daemon, main character energy, running in the background minding its own business) that lets multiple clients connect to a LEGO RCX β and that RCX is out here running Markus L. Noga's famous BrickOS operating system (formerly known as legOS, iykyk). once everybody's connected, they can exchange messages using the LNP protocol. it's basically a group chat but for tiny plastic robots. obsessed. π
π OPTIONS π
here's the full rundown of every option lnpd understands β no skips, no shortcuts, we're doing all of them:
-dβ don't go into background. stay right here with us, bestie.-e,--extrawait={mseconds}β extra wait time for lnp.-f,--fastβ run LNP at 4800 baud. speed demon behavior π₯-l,--log[=filename]β enable logging to syslog or to a file.
NOTE: afilenameof-means log to stdout instead. little dash, big power.
-m,--maxclients={number}β set the max number oflnpdclients. default is 16.-n,--nolockβ do not manage tty lockfiles. it's giving unbothered.-p,--port={TCP_Port}β the daemon should listen on port{TCP_Port}. default is port 7776.-r,--realtimeβ run the daemon in realtime mode. β‘-t,--tty={tty_device}β use{tty_device}. defaults to/dev/ttyS0.-v,--verbosity={level}β enable enhanced logging. the valid levels are:d,l,i,a, andc. (five whole levels, we love range π)-hβ show similar help text at the command line.-uβ show a short usage message.-V,--versionβ display thelnpdversion. π
also, important little detail so you don't get caught out: mandatory or option arguments to long options are also mandatory or optional for any corresponding short options. so like, the vibes carry over. that's just how it works, fr fr.
π FILES π
/dev/ttyS0β the default device forlnpd. (also see-t: in OPTIONS, above). she's the default for a reason π/usr/share/doc/lnpd/examples/lnptest.cβ sample BrickOS code that you build and download onto your RCX. this code lets you quickly figure out whether thelnpddaemon is actually working with your RCX and yourlnpdinstallation. a whole vibe check in C form β¨/bin/lnptestβ a simple test program that useslnpdto talk to thelnptestprogram you downloaded into your RCX, specifically so you can test with this program. team work makes the dream work π«Ά
π SEE ALSO π
you'll find additional documentation in /usr/share/doc/lnpd (on Debian GNU/Linux systems). go read it, bestie, it's right there π
β AUTHOR β
lnpd was written by Martin Cornelius <Martin.Cornelius@t-online.de>. this man page was written by Stephen Moraco <stephen@users.sourceforge.net>. absolute legends, both of them, no notes π
and that's the whole page, bestie!! this version of the man page is dated January 16, 2005, and it came to you from the System Manager's Manual, section 8. go forth and connect all the RCXs, you've totally got this πβ¨ππ¦πΈπ π«Ά
π¦ where this page comes from
- debian bookworm: lnpd 0.9.0-11+b2
- ubuntu jammy: lnpd 0.9.0-11build1
- ubuntu noble: lnpd 0.9.0-11build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms