🐍🩶🐢

She/They

  • 0 Posts
  • 97 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.








  • 🐍🩶🐢@lemmy.world
    cake
    toMemes@lemmy.mlJust use Firefox
    link
    fedilink
    English
    arrow-up
    8
    ·
    1 month ago

    Thank you. I admit I don’t use Firefox right now due to issues I ran in to during my trial run earlier this year. Once the battery drain issues are fixed on the Android client I can at least switch back to it on my phone.

    My company surprised me last week as we did an install and things didn’t work right in Firefox for the customer. My boss and the team are committed to fixing it and doing better on browser testing. There was not a moment of hesitation on this decision. We of course told them to use Edge, Safari, or Chrome in the meantime, but by no means are we throwing it on the bottom of the “fix” pile. Team is almost done and ready to send to QA. Super proud.





  • It looks like with multiple power cubes you can break it up. My favorite thing about the switch is the separate joy cons. This is far far far less painful for me to hold than traditional controllers. If this worked on Linux, Mac, PlayStation, and my Steamdeck, I might try it, as long as I could return it if it doesn’t work out.

    I struggle with buttons in general. My palms are too small so I can’t wrap my hand around them very well. I have to death grip with my palm or I drop it, but I am constantly shifting around as my fingers can’t reach certain things easily either. The off-axis joysticks on an Xbox controller is a no go as I have to hold the controller rotated a bit which means that up isn’t up. I do much better with PS5 controllers, but still get a lot of pain in my hands if I play too much.

    https://www.byowave.com/faq





  • 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.