NBPRGSTR(1)

✨ NBPRGSTR(1) ✨

okay bestie, gather round, we're doing AppleTalk name registration today πŸ’– this is the nbprgstr / nbpunrgstr page from the Netatalk AFP Fileserver Manual, and it's genuinely so helpful, i promise.


πŸ’« NAME

nbprgstr, nbpunrgstr β€” manage AppleTalk entry registration on the network πŸ¦‹


🌸 SYNOPSIS

nbprgstr [-A address] [-m Mac charset] [-p port] nbpname
nbpunrgstr [-A address] [-m Mac charset] nbpname

πŸ‘‘ DESCRIPTION

So here's the tea, bestie: nbprgstr registers nbpname with atalkd(8), at the given port. that's it. that's the whole job. πŸ’…

And nbpunrgstr? she's the breakup text πŸ“΅ β€” she informs atalkd that nbpname is no longer to be advertised. gone. not on the network anymore. periodt.

This whole thing uses the Name-Binding Protocol (NBP) to interact with the AppleTalk network, and nbpname gets parsed by nbp_name(3). iykyk ✨


πŸŽ€ OPTIONS

  • -A address β€” use address as the local address to be used for the lookup. lowkey essential when you've got multiple interfaces, fr fr.
  • -m Mac charset β€” interpret strings in the given Macintosh character set. if you don't specify it, nbplkup defaults to using MacRoman. no cap.
  • -p port β€” use port as the port to register the entity on. slay.
  • nbpname β€” the NBP name to use, bestie 🫢

The nbpname is a string of the form obj:type@zone, where obj is the object name, type is the type of the object, and zone is the zone name. The obj and type can be arbitrary strings, but the zone must be a valid zone name β€” no making stuff up, she's strict 😭. An = for the object or type matches anything (it's giving wildcard energy), and an * for zone means the local zone ⭐.


🌈 EXAMPLES

okay demo time, this eats every single time πŸ”₯

Register an entity β€œmyhost:Foobar” on the local zone, with DDP address 65280.68:

example% nbprgstr -A 65280.68 myhost:Foobar
example% nbplkup
                        myhost:Foobar                             65280.68:128
example%

see? she showed up in the listing, main character energy πŸ’œ

Revoke the registration of the entity β€œmyhost:Foobar”:

example% nbpunrgstr myhost:Foobar
example% nbplkup
example%

and she's gone, poof, nothing in nbplkup πŸ’€ iconic.


πŸ¦‹ SEE ALSO

nbp_name(3), nbplkup(1), atalkd(8)


🌸 AUTHOR

Contributors to the Netatalk Project (https://netatalk.io/contributors) β€” thank you for your service, angels πŸ«ΆπŸŽ€


and that's the whole page bestie!! this was Netatalk 4.5.1 of the Netatalk AFP Fileserver Manual, mwah πŸ’– go register something cute, ily, bye!! βœ¨πŸ“πŸ§š

πŸ“¦ where this page comes from