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.
- 0 Posts
- 7 Comments
mlfh@lemmy.sdf.orgto Ask Lemmy@lemmy.world•How long is a meter? (Only weird answers/definitions allowed)9·1 day agoYes, with the official M16A4 unit being defined as 1/100th the length between the goal lines of an American Football field.
mlfh@lemmy.sdf.orgto Linux@lemmy.ml•Linux: How to use energy better in general by fine-tuning laptop battery?3·5 days agoThe ups has data output to my firewall/router via usb, which the baremetal servers all connect to via apcupsd. When the ups loses or regains AC power, it broadcasts a message to all of them and they’re each scripted to act accordingly: laptops run on their own batteries, vms migrate over to laptops, non-vital hardware shuts down, etc.
mlfh@lemmy.sdf.orgto Linux@lemmy.ml•Linux: How to use energy better in general by fine-tuning laptop battery?14·6 days agoSome laptop battery firmware allows you to force discharge even when connected to AC, and if your laptop can use the
tlp recalibrate
ortlp discharge
commands then yours is supported.I use this to power my thinkpad servers off of their own batteries during a power outage, to reduce load on my UPS. Great feature.
mlfh@lemmy.sdf.orgto Self-hosting@slrpnk.net•Building Cheap & Efficient Home Servers with... Laptops? | Hardware Haven17·17 days agoIn my experience, mounting some thinkpad servers to the wall above the rack gives the homelab a very International Space Station feel.
mlfh@lemmy.sdf.orgto Ask Lemmy@lemmy.world•Is there any lemmy server hosted from the USA ?8·25 days agoYou can! I registered my first account on ml, and moved to sdf, with a third on world as a backup. You can open one on every instance if you want, or more as individual instance rules permit.
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.