Empty on Sync.
She/They
Empty on Sync.
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.
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
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.
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
You will need to edit your /etc/network/interfaces
file so the correct card is used.
/etc/network/interfaces
, just in case you mess something up.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
sudo systemctl restart networking.service
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.
sudo systemctl status networking.service
will show you if anything went wrong and hopefully show that everything is working correctlyip -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 not at home, but what I did was change the 99-default.link file. I found this from the two pages below. https://wiki.debian.org/NetworkInterfaceNames#CUSTOM_SCHEMES_USING_.LINK_FILES https://wiki.debian.org/NetworkInterfaceNames
Basically, by doing this, your nic cards will be forcibly named using the mac address:
#/etc/systemd/network/99-default.link
[Match]
OriginalName=*
[Link]
NamePolicy=mac
MACAddressPolicy=persistent
Afterwards, you will need to reboot and then update your network config file to use the correct names. I don’t ever change the network config with the GUI in proxmox as it has wrecked it too many times. I will update this reply again later with some more information on what to do.
🤣 no need. I certainly am not Linus levels of stickler on it and don’t sit there and worry about it. I just found the concepts he is trying to teach very helpful. Fail fast and breaking things up into smaller methods that do “a thing”.
See, when I was in school, they didn’t teach fail fast and if anything they told you not to. Nowadays, we have moved past that nonsense. I gave it a shot about a year ago, and it has made me a better programmer. I am not going to sit there and count braces, but things are a lot easier when you get the error cases over with and out of the way.
There are always going to be exceptions, but I have personally found a lot of value in using ‘fail fast’, and making more smaller methods that say what they do. I am not always great at that second part, but it is a process. As someone with severe ADHD, it has made it a lot easier to work through problems. Sure, you can end up with more lines of code, but who cares. Compiler should be optimizing most of that shit out anyway.
https://m.youtube.com/watch?v=CFRhGnuXG-4
Watch this. I have found that this makes it way easier to debug shit, is more readable, and cuts down on mistakes.
Hey, you ok? I am not ok today, but I definitely don’t want to fill my skull with bullets. Go wash your sheets/bedding. For whatever reason, clean sheets are the best.
I changed my settings to name nic cards by mac address instead of the enumeration as I got sick of the name changing when I would add/remove pci devices.
I know right? It sucks having a curved screen with a case as it pushes my thumb in the exact worst spot on the side of the screen. I accidentally do things all the time. I rest my thumb on the case edge to try and avoid it, but if I barely tilt, it touches the oversensitive touchscreen. First world problems.
Same. I had to uninstall due to the battery drain issues. Pixel 6 Pro. Battery life is not something I am willing to compromise on.
I lucked out. Success at last! Now I can continue to code furiously doing things I know how to do.
Been there. Done that. FML on searching for programming help some days. Versioning is a nightmare as the way you “used” to do things is no longer relevant and the rest of the results are some asshole saying it is a duplicate question that was answered 10 years ago…that is no longer fucking relevant!
Sorry. Yesterday sucked. I hope today is less frustration and more things working like they are supposed to.
Sames. They make sweet monitors.
Mine did that too recently! It really freaked me out as I normally share my contact card and tell them to send me theirs after, but I immediately got all of their information as soon as I texted them. I have a Pixel 6 Pro.
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 usually look at their GitHub or what have you to see if there are packages or instructions there. I have been able to solve most issues this way. Otherwise I see how much of a bitch it will be to compile from source. Depending what it is, I also check to see if there is a docker image instead.
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.
I will have to give it a shot, though I am still pessimistic. I was kind of turned off by the whole Pocket or whatever advertisement thing it wanted to enable. Vivaldi has been fine for me so far.