• 0 Posts
  • 51 Comments
Joined 1 year ago
cake
Cake day: June 23rd, 2023

help-circle












  • Ubuntu GUI/apt fail

    Back when I used ubuntu, Unity was stuck with old gnome packages. This meant that the version gnome-terminal packaged with ubuntu (up to at least 18.04) didn’t have text reflow on window size changes.

    You could add the upstream sources, upgrade the specific text reflow package only, and then disable the sources.

    I forgot to disable the sources, or typed dist-upgrade (this happened multiple times…). Broke the whole desktop/lightdm setup with half upgraded packages, and half removed packages (for preparation to install new versions). Way easier to reinstall the os than to disentangle. Unity was a mess then anyway.

    Moral: Actually read the package change summaries when doing updates/removes/installs, and [ y/N ] means actually check what the fuck you think you’re agreeing to.

    BtrFS snapshots for idiots

    I’ve also run automated snapshots on my btrfs partition, then run out of space doing multi-hop system upgrade on fedora (dnf has a plugin that creates a snapshot every time it kicks in.

    You can imagine there were many changes happenning per snapshot, and I effectively could have rolled back 4 major fedora versions… Til I ran out of space.

    I couldn’t get a replacement drive in time, and I had an hour to rebuild my laptop before needing to be on a customer site, so sadly I couldn’t preserve my drive for later investigation. My best guess is the high-water-mark was configured incorrectly, and somehow it was able to ‘write’ data past the extents of the filesystem.

    Rollback did work for my home partition, but I had to mount it from another OS to get it to work - so no data loss!

    By that time I’d already reinstalled the os to the root partition/subvolume however, so I couldn’t determine the exact cause of failure :(

    Moral: Snapshots are not backups, and ‘working’ is not ‘tested’



  • No, that’s handled by ARP requests. In this case, it’s likely that the DHCP server is on the gateway, as that’s a pretty common setup for home ISP router arrangements.

    Gateway refers to a router that has access to other networks. In this case, the default gateway, which will be the router that has access to the internet.

    DNS or name servers are a separate option in DHCP leases, as are the IP addresses for DHCP servers, which are more of a windows thing generally.

    In this case this comment is probably an accurate description of what’s happened:

    https://lemm.ee/comment/7429148



  • I’d hesitate to call it truly enterprise, but I’ve used the 24 port/10Gbe version of these in a datacenter. Not many issues to write home about - seems to handle vlanning pretty well.

    Has 10Gbe uplinks, US power, and PoE+. Probably access to a fancy dashboard too.

    $1600 is probably as cheap as you’re getting.

    Edit: Oh yeah, they’re probably not dual attached, and the ‘redundant power supply’ (RPS) is a separate appliance, which I consider kinda bullshit, that takes up another U.

    I’ve had no trouble with actual switching performance though fwiw.

    Edit 2: They’re probably compatible with the AR mobile app, which is hella cool, and somewhat useful in customer sites.

    48 port Ubiquiti