• mlfh@lemmy.sdf.org
    link
    fedilink
    arrow-up
    32
    ·
    18 hours ago

    ifupdown2 has a 15-character interface name limit, and the systemd predictable interface naming system uses the mac address for usb nics (giving them a 15-character name), so if you try to create a vlan subinterface of a usb nic using the standard interface.vlan naming scheme on a systemd host, it will fail, and you’ll have to set up systemd network link files to rename the base interfaces to something shorter.

    • orsetto@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      27
      ·
      17 hours ago

      I’m almost sure the backstory to how you gained this knowledge is “i spent hours debugging something, and that 15 chars limit was the problem”

      • mlfh@lemmy.sdf.org
        link
        fedilink
        arrow-up
        15
        ·
        17 hours ago

        Yep exactly! Setting up a raspberry pi low-performance computing cluster with secondary usb nics, going slowly insane trying to figure out why the vlan interfaces wouldn’t work when their base interfaces worked just fine, and going down all of the wrong rabbit holes along the way.

        • orsetto@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          9
          ·
          16 hours ago

          And all that just because someone decided that an array bigger that 16 bytes would have been too expensive (/s probably)

    • Eheran@lemmy.world
      link
      fedilink
      arrow-up
      8
      ·
      17 hours ago

      Reminds me of the ESP32 ROM dictionary only taking a 15 character limit and simply bugging out silently without any notification whatsoever. Arduino, so easy to use, great for beginners. It has got all the wild goose chases!

    • corsicanguppy@lemmy.ca
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      2
      ·
      12 hours ago

      Tell me you had to do real work with Systemd and discovered what a steaming useless pile of millennial shite it is as a whole, without using those words. The only cure for lennart’s cancer is to cut it out.