主にLinuxサーバー設定記録をメモします

設定確認

# ethtool eth0
Settings for eth0:
	Supported ports: [ TP ]
	Supported link modes:   10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	                        1000baseT/Full 
	Supports auto-negotiation: Yes
	Advertised link modes:  10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	                        1000baseT/Full 
	Advertised pause frame use: No
	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: pumbag
	Wake-on: g ← ここが「d」になっている場合は次の設定変更が必要となる
	Current message level: 0x00000001 (1)
	Link detected: yes

Wake On LAN有効化

# ethtool -s eth0 wol g

再起動の有効化 2通りの方法があるのでいずれかを設定

再起動後の有効化 その1
# vi /etc/rc.local
# 最終行に追加
/sbin/ethtool -s eth0 wol g
再起動後の有効化 その2
# vi /etc/sysconfig/network-scripts/ifcfg-eth0
# 最終行に追加
ETHTOOL_OPTS="wol g"

Menu

メニュー

アプリケーション

アプリケーション

その他

【メニュー編集】

管理人/副管理人のみ編集できます