[Linux] 一些nmcli 的筆記
nmcli已經成為現代Linux 重要的網路管理工具之一,正好我有一些工作設定會用到,藉此做一些筆記。
Wake-on-LAN --
先利用"ethtool <device name>",查看 "Wake on :" 如果是"d" => 表示被disabled
設定永久WOL :
- nmcli c modify <device name> 802-3-ethernet.wake-on-lan magic ;
- Reboot into the OS, 利用 ethtool查看,"Wake on" 部份應該顯示 "g";
- Shut down the system, 使用另外一台device進行WOL,此時應該可以成功喚醒機器