NBPLKUP(1)
π NBPLKUP(1) β Netatalk AFP Fileserver Manual π
okay bestie, settle in, because nbplkup is literally the "who's out there on the AppleTalk network" detector and it's lowkey iconic β¨ (also hi, this is the manual page for the nbplkup command, lowercase, one word, no vowels, we love that for her)
πΈ NAME πΈ
nbplkup β go snooping for registered AppleTalk entities out there on the network π¦
β¨ SYNOPSIS β¨
nbplkup [-A address] [-D address] [-m Mac charset] [-r responses] [-s]
[-f | -l] [nbpname]
π DESCRIPTION π
nbplkup shows you up to responses entities that are registered on the AppleTalk network β and the default for responses is 1000, so yeah, she comes ready to party.
By default she looks up all the entities chilling in the local zone. But if you hand her an nbpname, the lookup gets filtered down to only the entities that match that name. main character selectivity, honestly.
Under the hood this uses the Name-Binding Protocol (NBP) to talk to the AppleTalk network. And your nbpname gets parsed by nbp_name(3), so go peep that page if you wanna know the full tea.
π OPTIONS π
-Aaddress β use address as the local address to be used for the lookup. it's giving "actually, I'll be this one" π-Daddress β use address as the destination address to send the lookup to.-mMac charset β interpret strings in the given Macintosh character set. If you don't specify one,nbplkupdefaults to MacRoman. no cap.-rresponses β cap the number of responses at responses (default 1000). set your limit bestie.-sβ print the output in a script-friendly format: for each response, first the address is printed, then a single space, then the name and type, then a linefeed. that's it, that's the format, she's tidy π-fβ use a FwdReq operation for the lookup request instead of the default BrRq.- π« Cannot be used with
-l.
- π« Cannot be used with
-lβ use a LkUp operation for the lookup request instead of the default BrRq.- π« Cannot be used with
-f.
- π« Cannot be used with
- nbpname β the NBP name to use.
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. An = for the object or type matches anything, and an * for zone means the local zone. wildcard slay π
π Notes π
A BrRq asks a router β by default the local atalkd instance β to propagate a lookup request across the entire AppleTalk internetwork. This is the default option because it's generally the most useful one. If in doubt: use a BrRq. fr fr.
A LkUp asks a node just about itself. You can use it to query what names are bound on a specific node, or β by specifying a broadcast destination β to simulate the kind of lookup that happens on a routerless network. she's introspective like that π
A FwdReq asks a router to propagate the lookup to its directly connected networks that are members of the zone specified, but not to propagate it any further across the internetwork. Super useful on large internetworks, or when you're troubleshooting caches on refractory nodes π₯
heads up:-fand-lare mutually exclusive, so pick a lane bestie, you literally cannot do both.
π ENVIRONMENT VARIABLES π
NBPLKUPβ default nbpname fornbplkup, in formatobj:type@zone
π EXAMPLES π
Find all devices of type LaserWriter in the local zone.
example% nbplkup :LaserWriter
Petoskey:LaserWriter 7942.129:218
Gloucester:LaserWriter 8200.188:186
Rahway:LaserWriter 7942.2:138
517 Center:LaserWriter 7942.2:132
ionia:LaserWriter 7942.2:136
Evil DEC from Hell:LaserWriter 7942.2:130
Hamtramck:LaserWriter 7942.2:134
Iron Mountain :LaserWriter 7942.128:250
example%
Find all devices of type netatalk in the local zone, providing script-friendly output.
example% nbplkup -s :netatalk
5.42:4 netatalk-build:netatalk
4.162:4 prometheus:netatalk
8.31:4 Tiryns:netatalk
example%
π SEE ALSO π
nbp_name(3), nbprgstr(1), nbpunrgstr(1), atalkd(8)
π AUTHOR π
Contributors to the Netatalk Project (https://netatalk.io/contributors)
okay that's the whole page, you ate that reading bestie π«Ά this was Netatalk 4.5.1, go forth and look up some entities πβ¨π
π¦ where this page comes from
- ubuntu stonking: atalkd 4.5.1~ds-1 Β· MIT~UMICH
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms