She/They

  • 0 Posts
  • 118 Comments
Joined 1 year ago
cake
Cake day: June 30th, 2023

help-circle



  • Sorry, didn’t make it home until today and not sure if you get notifications on edits. You will need a monitor and keyboard hooked up to your server as you will not have ssh access until the network config is “fixed”. I would do the below with the GPU removed, so you know 100% that your networking config is correct before mucking about further.

    Step 1 - Create 99-default.link file

    Add a /etc/systemd/network/99-default.link with the below contents.

    # SPDX-License-Identifier: MIT-0
     #
     # This config file is installed as part of systemd.
     # It may be freely copied and edited (following the MIT No Attribution license).
     #
     # To make local modifications, one of the following methods may be used:
     # 1. add a drop-in file that extends this file by creating the
     #    /etc/systemd/network/99-default.link.d/ directory and creating a
     #    new .conf file there.
     # 2. copy this file into /etc/systemd/network or one of the other paths checked
     #    by systemd-udevd and edit it there.
     # This file should not be edited in place, because it'll be overwritten on upgrades.
    
     [Match]
     OriginalName=*
    
     [Link]
     NamePolicy=mac
     MACAddressPolicy=persistent
    

    Step 2 - Reboot and find new name of NIC that will be based on MAC

    I forget if you have to reboot, but I am going to assume so. At this point, you can get the new name of your nic card and fix your network config.

    1. ip link should list all of your nic devices, both real and virtual. Here is how mine looks like for reference, with the MAC obfuscated:
    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
        link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    2: enxAABBCCDDEEFF: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master vmbr0 state UP mode DEFAULT group default qlen 1000
        link/ether AA:BB:CC:DD:EE:FF brd ff:ff:ff:ff:ff:ff
    3: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
        link/ether AA:BB:CC:DD:EE:FF brd ff:ff:ff:ff:ff:ff
    

    Step 3 - Fix your network config and restart network manager

    You will need to edit your /etc/network/interfaces file so the correct card is used.

    1. Make a copy of /etc/network/interfaces, just in case you mess something up.
    2. sudo vim /etc/network/interfaces (or whatever text editor makes you happy) It will need to look something like below. I have to have DHCP turned on for mine, so your config likely uses static. Really all you need to do is change wherever it says enp yada yada to the enxAABBCCDDEEFF you identified above.
     source /etc/network/interfaces.d/*
    
     auto lo
     iface lo inet loopback
    
     iface enxAABBCCDDEEFF inet manual
    
     auto vmbr0
     iface vmbr0 inet dhcp
     #iface vmbr0 inet static
     #address 192.168.5.100/20
     #gateway 192.168.0.1
         bridge-ports enxAABBCCDDEEFF
         bridge-stp off
         bridge-fd 0
    
    1. Restart your networking service. You shouldn’t need to reboot. sudo systemctl restart networking.service

    Step 4 - Profit?

    Hopefully at this point you have nework access again. Check the below, do some ping tests, and if it doesn’t work, double check that you edited the interfaces file correctly.

    1. sudo systemctl status networking.service will show you if anything went wrong and hopefully show that everything is working correctly
    2. ip -br addr show should show that the interface is up now.
    lo               UNKNOWN        127.0.0.1/8 ::1/128
    enxAABBCCDDEEFF  UP
    vmbr0            UP             192.168.5.100/20 
    

    At this point, if all is well, I would reboot anyways, just to make sure. If you add any GPUs, sata drives, other PCI device, disable/enable wifi/bt in the BIOS, or anything else that changes the PCI numbering, you don’t have to worry about your NIC changing.












  • I am still in love with my Mighty+. You can get a Titanium mouth piece that is pretty sweet, but the rubber to keep it from falling out is garbage. I wrapped a little bit of gaffers tape around it, and that works much better. Otherwise, I use the plastic one.

    I am not the type to buy large collections of dry herb vapes, but ever since my state went legal, the bud must flow. 😁


  • Like other posts, Factorio. You will lose sleep. Set timers…

    Proton and Vulkan make most things easy-ish if you are using Steam. Note that there is a little properties button on the game page that you probably need to use to force it to use Proton so it will install. Proton DB is your friend. Lutris + Wine is pretty good too. Proton is just Wine with enhancements.

    You may find Helldivers a lot of fun too, especially if you can play with friends. It is suitably ridiculous in the best way and is sort of human vs aliens/robots. All of the humans (us) play on co-op teams to bring Democracy to the universe. There is a game master from the company that makes it that is leading the war against us. Like I said, suitably ridiculous. Most of my friends are playing it nightly and it will be a big part of our LAN party this weekend.


  • Ok. I tried Firefox for about a month on my Android phone and Mac, but unfortunately had to go back to Chrome on both. I don’t really know what to do at this point. I run enough firewalls and ad blockers that using Chrome has never particularly bothered me from a usability standpoint, but I get the point everyone is trying to make. However, I also don’t want to spend weeks of my life fighting to get yet another open source program to work the same as the “other” program, or find some substitute that I can live with.

    I used to use Firefox when I was a kid and loved all of the extensions. However, it seems severely lacking now. I tried to find something to give me group tabs, and found old abandoned projects or some tree thing that made 0 sense to me. I saw an article I think explaining that it is coming? I don’t understand why a feature like this is missing when it used to exist a long time ago. Seems like basic functionality to me. Also, why is the tab bar so big? It takes up a lot of screen real estate.

    The thing that killed it for me was the lack of PWA support, which is how I have used Outlook for around 6+ years. I fought with the extension for a while and things sort of worked on and off for a few days here or there, but half the time it would open emails in the main browser anyway. Once it got to the point where Outlook was completely blank and refused to load at all, I gave up. I could never get it to work again. I hoped I could maybe setup the PWA to just be in Chrome or Safari, but it just opens it as a tab in Firefox anyway. I tried, but I am not going to spend hours fighting with it anymore at this point and it would be nice if it was built into the browser instead of a random extension.

    It was a better experience on the phone, and I like the bar on the bottom, until I realized it was draining my battery. I found a thread of users complaining about it for the last few months with no fix. I don’t even use the sync feature, but that supposedly is the culprit? Phone kept dying and I barely used it. Looked at the battery usage screen and there it was, almost the top item. I would love to use Firefox on Android, but not at the expense of my battery. Sorry.


  • I do a lot on my M1 air and I haven’t even considered I would have RAM issues with 16GB. Windows, I would be getting 64GB to not be miserable. I don’t run as much as you all the time, but having a container or two going, far too many browser tabs, PDFs, 3-4 intellij projects, discord, teams, and probably other things I am forgetting about is the norm. I even have AutoCAD open sometimes.

    The biggest difference is Mx is arm based, which goes a long way into getting better performance and battery life. I really need to look up again how Apple manages memory, swap, and performance in general. I just checked Activity Monitor and even with most of the memory showing as used, I don’t even notice. If my laptop were to die tomorrow due to my clumsy fumbling, I am getting another Mac. My only wish is getting Vulkan support. That would be amazing. Not going to hold my breath on that though.

    Now, 8GB is a crime and it is not something I would recommend for any laptop/desktop, no matter what it is running. Not saying it wouldn’t work ok on a Mac for someone who only uses it for web browsing, but it is utterly ridiculous that 8GB is even an option these days. This is a dumb hill for Apple to die on and 16 should be the absolute minimum.

    I have a debloated W11 VM on my proxmox server that I have used only once and is only there for some unknown emergency. With a little fiddling, I got it to idle under 4GB. I don’t plan to run servers on my laptop and invested enough on a little server rack to give me things like file servers, VMs, more permanent containers, and somehow got talked into making a gaming VM that I use at LAN parties. The 3U case for the main server travels very well.

    Personally, I would try and get some of your server stuff off your machine. You can even take a look at some docker swarm or similar k8 concepts to reduce your container load. RPis are another good choice for some lower load server operations. I have a little RPi swarm that is powered by PoE+, though I plan on trying k8 on them soon to get some experience. RPis are also small enough that you could throw one in your bag if you needed something portable and are fairly inexpensive. Just a thought and may not be possible with your server applications.



  • I will happily defend you on this point. Down vote away people. As long as you don’t shove past the rows in front of you or bonk me with luggage, we good. I try to remember the passengers who had to store luggage father back and see if I can get it passed forward. I will totally boss people to sit back down if someone needs to get to the front ASAP due to close connections. If it is going to be a while, I will try to grab my backpack and sit back down.

    Now, people with oversized rollerboards? Yeah. I get pretty irritated over that and the vast number of issues that causes with boarding and deplaning. The airlines make it worse with price hikes. I personally check all of my luggage and rarely run into issues. If I have any major concerns I will throw a couple things into a bag that will fit under my seat or FedEx it if we are really going there.