ifplugd.conf(5)

πŸ“¦
version 0.28 Β· 2 versions
, in debian bookworm, ubuntu jammy, ubuntu noble

πŸ’– ifplugd.conf β€” the manual page, but make it cute πŸ’–

okay bestie, welcome to ifplugd.conf(5) β€” it lives in the File Formats Manual section and it's genuinely one of the most lowkey important little files in your whole system. let's get into it 🫢


✨ NAME ✨

ifplugd.conf β€” the configuration file for ifplugd, and yes it's exactly as iconic as it sounds πŸ’…


🌸 SYNOPSIS 🌸

/etc/default/ifplugd

that's the path, that's the whole vibe, that's where it lives πŸ“


πŸ¦‹ DESCRIPTION πŸ¦‹

so ifplugd.conf is the configuration file for ifplugd. it's a shell script, bestie β€” a real one β€” and it gets sourced by the init script that starts the daemon up. so basically it's not a config file you parse, it's a config file you run. main character energy fr fr.

its whole job is to set environment variables, and those variables get interpreted by the init script. that's the tea. that's the whole assignment. β˜•βœ¨


πŸ‘‘ OPTIONS πŸ‘‘

  • INTERFACES β€” this is the one that says which ethernet interfaces we're monitoring, periodt. it has to contain a space separated list of network interface names. most people are gonna just put "eth0" here and call it a day, no shade, but you can add extra interfaces if you wanna monitor more than one device. and there's a special value too, and it's giving ✨: "auto" turns on a more or less working auto detection of the network devices that are available. warning though β€” this will NOT make you happy if you're using network module auto loading, because it literally cannot detect network devices that are currently unloaded. so like. keep that in mind bestie 😭
  • HOTPLUG_INTERFACES β€” this one lists the interfaces that can be hotplugged, aka the ones on PCMCIA, USB or WLAN adapters. you can set it to "all" which makes the udev script start an ifplugd process for any hotplugged interface β€” except the ones you already listed in INTERFACES, those are excluded, we don't double dip πŸ’…
  • ARGS β€” extra command line arguments for the ifplugd invocation. wanna know what they do? go read ifplugd(8), it's all in there πŸ“–
  • ARGS_iface β€” if you specify this for a particular interface, it takes precedence over ARGS. super handy when more than one network device is hanging around and they all want different treatment. one size fits all is not the vibe here πŸŽ€

🌈 SEE ALSO 🌈


πŸ’œ COMMENTS πŸ’œ

this man page was written using xmltoman(1) by Oliver Kurth. credit where credit is due, we love a documentation moment 🫢


okay and for the sign-off β€” this page is from the Manuals collection, filed under the User corner of the ifplugd.conf(5) manual, and that's the whole thing bestie. go forth and configure your interfaces, you're gonna slay πŸŽ€πŸ’–βœ¨πŸ”₯

πŸ“¦ where this page comes from