neard.conf(5)

πŸ’– neard.conf(5) β€” bestie's guide to the neard config file πŸ’–

okay so like, this is the manpage for neard.conf(5), which lives in the File Formats Manual section (that's the "5" bestie, it's a file format thing, not a command). sit down, grab a strawberry, we're doing config files today πŸ“


🌸 NAME 🌸

main.conf β€” the neard configuration file. that's it, that's the name, short and iconic πŸ‘‘


✨ SYNOPSIS ✨

/etc/neard/main.conf

or

<SYSCONFDIR>/neard/main.conf

where <SYSCONFDIR> depends on your distribution or build. so like, it's not always /etc, it depends on how your distro / build set things up. check your vibes (and your distro) πŸ¦‹


πŸ’… DESCRIPTION πŸ’…

main.conf is the configuration file for neard(8). and here's the tea: this file is optional! you don't have to have it. but if you do, you can use it to set up various aspects of neard's behavior. it's giving "you don't need me but you want me" energy πŸ’β™€οΈ


πŸŽ€ FILE FORMAT πŸŽ€

the configuration file format is key file format ✨ it's made up of sections (groups) of key-value pairs. let's break it down:

  • lines beginning with a # are comments. blank lines are comments too. live your life, write notes, nobody's judging 🫢
  • sections are started by a header line that contains the section name wrapped in [ and ]. iconic brackets, love that for them.
  • a section ends implicitly β€” meaning the moment the next section starts, or the file just... ends. no closing tag, no goodbye, it's giving ghosting πŸ’€
  • every single key-value pair must live inside a section. no free-floating keys, bestie. they need a home. 🏠

description of sections and available keys follows:

🌈 [General] 🌈

this section is the only mandatory section of the configuration file. if you're gonna show up, you show up here. main character energy only πŸ‘‘

  • ConstantPoll=true|false β€” enable constant polling. default is false. what does it do tho? constant polling will force neard into starting a new polling cycle whenever a target or a device are lost. so it just... keeps going, no breaks, obsessed with the grind πŸ”₯
  • DefaultPowered=true|false β€” automatically turn an adapter on when being discovered. default value is false. it's like auto-wake for your adapter, cute 🌸
  • ResetOnError=true|false β€” power cycle the adapter when getting a driver error from the kernel. default value is true. note that one's already on by default, unlike the other two β€” she's proactive πŸ’…
heads up bestie: those true|false values are literal. you write true or false, not vibes, not yes, not maybe. lowercase, no cap. πŸ™ˆ

πŸ‘€ SEE ALSO πŸ‘€

  • neard(8)

that's the whole page, you ate it, you understood it, periodt πŸ’œ

this page came from the File Formats Manual, dated 7 March 2013, and it's neard.conf(5) β€” so if you're citing her, that's the whole glow-up. mwah πŸŽ€βœ¨

πŸ“¦ where this page comes from