After almost half a century, I'm still doing it...
After almost half a century, I'm still doing it...
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're viewing a single thread.
Why don't you use chained commands, or better yet simply create an alias that chains down/up, then use the alias instead?
28 1 ReplyBecause I plain forgot I was remote. It's as simple and as stupid as that.
88 0 ReplyWe've all been there. If you do this stuff for a living, you've done that way more than once.
16 0 ReplyFair enough. I've done worse in my time as a keyboard jockey.
8 0 ReplyThat is why you have KVMs..
8 1 Replytime to setup a console server so that you don't do that again.
4 0 ReplyUntil they have to troubleshoot the console server ..
8 0 Replythen setup a super console server. lol
6 0 ReplyI have once actually used a console server console server to troubleshoot a misbehaving console server.
9 0 Replyi 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.
5 0 Reply
It's console servers all the way down (up?)
6 0 Replyand you make each one geographically closer than the previous one until there's one right next to you. lol
4 0 ReplySo that's why we have mobile phones
1 0 Replyso long as you're mobile, any phone can become a mobile phone. lol
3 0 Reply
That is a totally fair explanation. End of story. No blame. Honest mistake.
1 0 Reply