ncpd(8)

πŸ“¦
version 1.0.26 Β· 2 versions
, in ubuntu stonking

πŸ’– ncpd(8) β€” System administration commands πŸ’–

okay bestie, grab a boba, we're talking about ncpd from the plptools fam, and honestly? it's giving dedicated-serial-port realness πŸ‘‘


✨ NAME ✨

ncpd β€” the daemon that handles the serial link to a Psion πŸ’«


✨ SYNOPSIS ✨

ncpd [-V] [-h] [-v log-class] [-d] [-e] [-p [host:]port] [-s device] [-b
baud-rate] [long-options]

✨ DESCRIPTION ✨

so ncpd is THE daemon that babysits the serial link to your Psion 🫢 it listens at port 7501 for local connections and provides the basic PLP/NCP services that plpfuse, plpftp and other front-ends snack on πŸ“

and the iconic part?? it auto-connects to the Psion β€” even after you unplug it or switch it off 😭 so like, it can literally just run all the time if you've got a serial device you're willing to dedicate to it. main character energy fr fr πŸ‘‘


✨ OPTIONS ✨

  • -V, --version β€” shows the version and dips out, periodt πŸ’…
  • -h, --help β€” prints a short help text and then leaves 🌸
  • -e, --autoexit β€” auto-exits if the device gets disconnected, no drama πŸ™ˆ
  • -v, --verbose=log-class β€” turns the logging level up πŸ”₯ the possible values for log-class are:
    • nl β€” set NCP debug level to LOG
    • nd β€” set NCP debug level to DEBUG
    • ll β€” set Link debug level to LOG
    • ld β€” set Link debug level to DEBUG
    • pl β€” set Packet debug level to LOG
    • pd β€” set Packet debug level to DEBUG
    • ph β€” set Packet debug level to HANDSHAKE
    • m β€” set the overall debug level to verbose
    • all β€” turns on every single bit of the above logging πŸ’€
  • -d, --dontfork β€” do NOT background the daemon, keep it right there in your face πŸ‘€
  • -p, --port=[host:]port β€” pick which port to listen on πŸ’« by default the host value is 127.0.0.1, and the port value gets looked up in /etc/services using the key psion/tcp. if it's not found in there, a default value of 7501 is used 🌈
  • -s, --serial=device β€” tells it which serial device to use to connect to the Psion πŸ’œ this defaults to /dev/ttyS0
  • -b, --baudrate=baud-rate β€” sets the baud rate for the serial connection ⚑ if you pass the word auto, ncpd cycles through baud rates of 115200, 57600, 38400, 19200 and 9600 baud. default setting is auto ✨

✨ SEE ALSO ✨

plpfuse(8), plpprintd(8), plpftp(1), sisinstall(1) β€” go read those too bestie, iykyk πŸ¦‹


✨ AUTHOR ✨

  • Fritz Elfert
  • Heavily based on p3nfsd by Rudolf Koenig (rfkoenig@immd4.informatik.uni-erlangen.de) and plp_1_7 by Philip Proudman (phil@proudman51.freeserve.co.uk)
  • Patches from Matt Gumbley (matt@gumbley.demon.co.uk)
  • Man page by John Lines (john+plpman@paladin.demon.co.uk)

aaaaand that's the whole thing πŸŽ€ this lil masterpiece comes to you from plptools 1.0.26 β€” no cap, she's iconic, she's serving, and she's gonna keep your Psion talking πŸ’– slay, have fun, and don't forget to unplug responsibly πŸ˜­πŸ‘‘

πŸ“¦ where this page comes from