読者です 読者をやめる 読者になる 読者になる

物理的にLANケーブルが刺さっているか確認するLinuxコマンド

linux

ethtoolコマンドの Link detected: の欄を見るとそもそもネットに繋がる環境かどうかがわかる

つながるとき Link detected: yesになっている

# ethtool eth0
Settings for eth0:
    Supported ports: [ TP ]
    Supported link modes:   10baseT/Half 10baseT/Full 
                            100baseT/Half 100baseT/Full 
                            1000baseT/Half 1000baseT/Full 
    Supported pause frame use: No
    Supports auto-negotiation: Yes
    Advertised link modes:  10baseT/Half 10baseT/Full 
                            100baseT/Half 100baseT/Full 
                            1000baseT/Half 1000baseT/Full 
    Advertised pause frame use: Symmetric
    Advertised auto-negotiation: Yes
    Link partner advertised link modes:  10baseT/Half 10baseT/Full 
                                         100baseT/Half 100baseT/Full 
                                         1000baseT/Full 
    Link partner advertised pause frame use: No
    Link partner advertised auto-negotiation: Yes
    Speed: 1000Mb/s
    Duplex: Full
    Port: Twisted Pair
    PHYAD: 1
    Transceiver: internal
    Auto-negotiation: on
    MDI-X: off
    Supports Wake-on: g
    Wake-on: g
    Current message level: 0x000000ff (255)
                   drv probe link timer ifdown ifup rx_err tx_err
    Link detected: yes

つながらないとき Link detected: noになってる

# ethtool eth1
Settings for eth1:
    Supported ports: [ TP ]
    Supported link modes:   10baseT/Half 10baseT/Full 
                            100baseT/Half 100baseT/Full 
                            1000baseT/Half 1000baseT/Full 
    Supported pause frame use: No
    Supports auto-negotiation: Yes
    Advertised link modes:  10baseT/Half 10baseT/Full 
                            100baseT/Half 100baseT/Full 
                            1000baseT/Half 1000baseT/Full 
    Advertised pause frame use: Symmetric
    Advertised auto-negotiation: Yes
    Speed: Unknown!
    Duplex: Unknown! (255)
    Port: Twisted Pair
    PHYAD: 2
    Transceiver: internal
    Auto-negotiation: on
    MDI-X: Unknown
    Supports Wake-on: g
    Wake-on: g
    Current message level: 0x000000ff (255)
                   drv probe link timer ifdown ifup rx_err tx_err
    Link detected: no

参考リンク

@IT:ネットワークインターフェイスの状況を調べるには

Rubyのmerge()は順番によって挙動が変わる

当然といえば当然だが

# Here your code !
a = {
  hoge: {
    piyo: 111
  }
}

b = {
  hoge: {
    piyo: 222,
    fuga: {
      foo: 333
    }
  }
}

p a.merge(b)
p b.merge(a)

結果

{:hoge=>{:piyo=>222, :fuga=>{:foo=>333}}}
{:hoge=>{:piyo=>111}}

Dead or Alive 5 I'm a Fighterの歌詞

Dead or Aliveとかやったことすらないけど、偶然聴いて気に入ったのでメモ


Dead or Alive 5 OST - Showdown

※
I just want a true love and true loving you,
even if it brings me pain, gives me what I want.
I just want a real love and real loving you,
loving you I just want to keep loving you. Dead or Alive.


Here comes the heat, cold blooded.
never show you weakness can be something that you may have uttered.
you know you can't outsmart us.
you like to press a button.
still struggling for a touch want to get out a club.
It's Dead or Alive, what would you do?
would you let the other ones crew you like the ones that use to crew?
I won't bow down. no one can stop me.

I'm suppose to it's a battle against my own shadow I kept steppin' up my game to get the hell out of sin curren.
endurance and we just weren't on the same page your arguments became way too occurrence. 

Love is power, however let alone it's re-sour cuz we can't be seen eyeing cuz it gets shallow every hour we won't wait til it just won't be.
we will not fade, we will not lose to a someone and it will not get in my path

※繰り返し

won't let it en-fear me, this feat will preserve.
I won't let any fears get my nerves and try to steer.
correctly for fill tax. collectively.
basically peel the skin of fruits effectively and excessively.
destiny a little bit of pain in my life ecstatically cut in the years of my life and go dig distressingly
Hey, i'm living in the way that i try to live it the way i live it gotta be killing it
if i don't i'll be dead. 

sometimes it's not just forces born,
just determination just go for the opprotunity from next door.
pain is the war my thoughts my actions like nor.
 my faith is way to strong for then my steel's tensed off.

The day I lose to myself is the death of me which means that i stop is the day that I die deliberately. 

Still won't bow down, to you, or to me.

※繰り返し

what i want is best for you, best for me. best for me is the worst gonna get to me get to the full disgust of villain.
I wanna call somebody for help. I have to I wouldn't hesitate. battlefield, ooh baby.

You must lowblow wick if you do a dance 'cept the math you know I mean.
we can both rise up, best believe in me.
best believe I Punch you flat to be you and me.

※繰り返し

なお歌詞ソースはYoutube

2017年のEdgeのUser-Agent

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.79 Safari/537.36 Edge/14.14393

相変わらずひどいな

東洋大学理事長を日立製作所社長の前で閉じ込めた不具合

コピペ
766 : 番組の途中ですがアフィサイトへの転載は禁止です (ワッチョイ d921-vi6t)2017/01/10(火) 19:43:43.61 ID:pgi1RbQF0
東洋大学ってどんだけ日立のとばっちり受けてるんだよ
773 : 番組の途中ですがアフィサイトへの転載は禁止です (ワッチョイ 934c-HvS5)2017/01/10(火) 21:58:38.01 ID:EN2G4w6+0
>>766 
マスコミまで呼んで社長の目の前でご自慢のスマートロックが誤作動し学長が部屋に閉じ込められたという 
あの伝説の東洋大学か
815 : 番組の途中ですがアフィサイトへの転載は禁止です (ササクッテロラ Sp8d-+flj)2017/01/11(水) 10:20:43.29 ID:qETS+97up
>>773 
IoT案件で赤羽台に居たものです 
元通産官僚の理事長を閉じ込めたのマジねw東洋大学OBOGで日立グループとBPで構成される白山大樹の会の会員や製作所の社長や会長や東洋大理事で日立OB陣の前で盛大にやらかしたからクソ笑ったわw 
自分達で公家と名乗ってさ、スケジュール管理から製造まで全部下請けに丸投げして当人達は赤い銀行や緑の銀行や自社で優雅に勤務してさ、深夜の一時二時に何寝てんじゃ!と電話で恫喝してさ、晴れ姿で理事長を閉じ込めてマジざまーみろだね 
唯一残念だったのは公家と威張り散らしてるだけあって、自分達は何も謝罪せずに末端やPMやGLを引きずり出して理事や理事長に土下座させた事だね 

全部下請けに丸投げしといて、電話越しに何勝手に仕様変えてんだー!何勝手に作業してんだー!承認の判子貰いに此処(大手町・シーサイド)まで来いよ馬鹿!と横槍入れてマジクソだ 
潰れてくれ!

ぜひ見てみたいものだ

http://hitomi.2ch.net/test/read.cgi/poverty/1483875064/hitomi.2ch.net