this post was submitted on 16 Feb 2024
717 points (97.6% liked)

Programmer Humor

32557 readers
499 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
(page 2) 29 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 9 months ago

Not exactly the same thing, but on one of my systems, eth0 and eth1 swapped position after a kernel update, so the IP was on the wrong interface. I had IPMI/BMC on the system so didn't have to physically go to it and plug in a keyboard and monitor, but I still had to deal with manually typing a long randomly-generated password, twice (one to log in and once again for sudo).

I'm glad "predictable" interface names are supported now. Those eth0/eth1/etc names were dangerous since the numbers were just based on the order the kernel loaded the drivers and initialized them in, which can change across reboots. The predictable names are based on physical position in the system, so they're consistent across reboots.

[–] [email protected] 2 points 9 months ago (1 children)

That moment when you forget to run sudo ufw allow ssh after enabling the firewall

[–] [email protected] 2 points 9 months ago (1 children)
[–] [email protected] 1 points 9 months ago

Yeah sorry my brain is fried

[–] [email protected] 2 points 9 months ago (2 children)

I know I forgot to reactivate my firewall yesterday, but I'm too scared of getting locked in to do it remotely. I have physical access to it, but gotta wait after work

load more comments (2 replies)
load more comments
view more: ‹ prev next ›