computer A    &   B

B啟動電源→進入BIOS Setting→wake on land/wake on PCIE (enable)

儲存BIOS設定並離開然後進入ubuntu OS

打開terminal,鍵入 sudo apt-get install ethtool

                            sudo ethtool -s eth0 wol g     (ether number can use ifconfig to check)

                            nano /etc/rc.local

                           

                            sleep 5

                            ethtool -s eth0 wol g

                            nano /etc/init.d/halt

                            NETDOWN = no

查詢網卡號碼(mac)

HWaddr 後顯示的就是網卡號碼

 

換電腦A

鍵入 sudo apt-get install wakeonlan

       wakeonlan 00:11:22:33:44:55:66

 

ending

 


arrow
arrow
    全站熱搜

    Brian 發表在 痞客邦 留言(0) 人氣()