this post was submitted on 18 Feb 2025
265 points (99.3% liked)

Linux

50359 readers
1434 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by AlpΓ‘r-Etele MΓ©der, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

So I'm working on a server from home.

I do a cat /sys/class/net/eth0/operstate and it says unknown despite the interface being obviously up, since I'm SSH'ing into the box.

I try to explicitely set the interface up to force the status to say up with ip link set eth0 up. No joy, still unknown.

Hmm... maybe I should bring it down and back up.

So I do ip link set eth0 down and... I drive 15 miles to work to do the corresponding ip link set eth0 up

50 years using Unix and I'm still doing this... πŸ˜₯

you are viewing a single comment's thread
view the rest of the comments
[–] despotic_machine@lemmy.dbzer0.com 28 points 4 days ago (2 children)

Why don't you use chained commands, or better yet simply create an alias that chains down/up, then use the alias instead?

[–] ExtremeDullard@lemmy.sdf.org 89 points 4 days ago (5 children)

Because I plain forgot I was remote. It's as simple and as stupid as that.

[–] IsoKiero@sopuli.xyz 16 points 4 days ago

We've all been there. If you do this stuff for a living, you've done that way more than once.

Fair enough. I've done worse in my time as a keyboard jockey.

[–] melroy@kbin.melroy.org 8 points 4 days ago

That is why you have KVMs..

That is a totally fair explanation. End of story. No blame. Honest mistake.

[–] eldavi@lemmy.ml 5 points 4 days ago (1 children)

time to setup a console server so that you don't do that again.

[–] Lodespawn@aussie.zone 9 points 4 days ago* (last edited 4 days ago) (1 children)

Until they have to troubleshoot the console server ..

[–] eldavi@lemmy.ml 6 points 4 days ago (2 children)

then setup a super console server. lol

[–] darklamer@lemmy.dbzer0.com 10 points 3 days ago (1 children)

I have once actually used a console server console server to troubleshoot a misbehaving console server.

[–] eldavi@lemmy.ml 5 points 3 days ago

i once worked at a place that had something like this and; it sounds silly; but i got a live demonstration that it was the smartest thing ever.

[–] fossphi@lemm.ee 6 points 3 days ago (2 children)

It's console servers all the way down (up?)

[–] eldavi@lemmy.ml 4 points 3 days ago (1 children)

and you make each one geographically closer than the previous one until there's one right next to you. lol

[–] fossphi@lemm.ee 1 points 3 days ago (1 children)

So that's why we have mobile phones

[–] eldavi@lemmy.ml 3 points 3 days ago

so long as you're mobile, any phone can become a mobile phone. lol

[–] catloaf@lemm.ee 2 points 3 days ago

Nah, you only need two, each connected to the other. Use one to work on the other.