Ubuntu system remote boot operation example

Time: 2017-05-22Source: Huajun News NetworkAuthor: Wu Ma Xiangsi

In the Ubuntu system, with simple settings, the system can be remotely booted, that is, wake on lan. Taking computer A and computer B as examples, we will introduce the method of remote booting in Ubuntu.

Ubuntu system remote boot operation example

Starter (Computer A) ----------》 Computer started remotely (Computer B)

1. The computer that is turned on remotely (Computer B):

1. Reboot the computer and enter BIOS setup

2. Set Wake On Land / Wake On PCI (E) to Enable

3. Save and enter the Ubuntu screen

4. sudo apt-get install ethtool

5. sudo ethtool -s eth0 wol g (eth? ? Depends on the network card number of the computer, you can use ifconfig to confirm)

6. nano/etc/rc.local

Add the following 2 lines:

sleep 5

ethtool -s eth0 wol g

7. nano /etc/init.d/halt

NETDOWN=no

8. Query computer network card number (MAC)

ifconfig

What is displayed after HWaddr is the network card number.

2. Starter (Computer A):

1. sudo apt-get install wakeonlan

2. wakeonlan The network card number of computer B, for example:

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

The above is an introduction to the remote boot method of Ubuntu. Through the above settings, you can remotely start computer B on computer A, which is simple and practical.

Related articles更多>>