LNPD(8)

πŸ“¦ version 0.9.0, in debian bookworm, ubuntu jammy, ubuntu noble

πŸ’– 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: a filename of - means log to stdout instead. little dash, big power.
  • -m, --maxclients={number} β€” set the max number of lnpd clients. 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, and c. (five whole levels, we love range 🌈)
  • -h β€” show similar help text at the command line.
  • -u β€” show a short usage message.
  • -V, --version β€” display the lnpd version. πŸ‘‘

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 for lnpd. (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 the lnpd daemon is actually working with your RCX and your lnpd installation. a whole vibe check in C form ✨
  • /bin/lnptest β€” a simple test program that uses lnpd to talk to the lnptest program 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