269

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 29 points 1 month ago

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 90 points 1 month ago

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

[-] IsoKiero@sopuli.xyz 17 points 1 month ago

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

[-] despotic_machine@lemmy.dbzer0.com 9 points 1 month ago

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

[-] melroy@kbin.melroy.org 8 points 1 month ago

That is why you have KVMs..

[-] eldavi@lemmy.ml 5 points 1 month ago

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

[-] Lodespawn@aussie.zone 9 points 1 month ago* (last edited 1 month ago)

Until they have to troubleshoot the console server ..

[-] eldavi@lemmy.ml 6 points 1 month ago

then setup a super console server. lol

[-] darklamer@lemmy.dbzer0.com 10 points 1 month ago

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

[-] eldavi@lemmy.ml 5 points 1 month 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 1 month ago

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

[-] eldavi@lemmy.ml 4 points 1 month ago

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 1 month ago

So that's why we have mobile phones

[-] eldavi@lemmy.ml 3 points 1 month ago

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

[-] catloaf@lemm.ee 2 points 1 month ago

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

[-] friend_of_satan@lemmy.world 1 points 1 month ago

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

this post was submitted on 18 Feb 2025
269 points (98.9% liked)

Linux

52815 readers
512 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