Ubuntu system remote boot operation example

  
                

In the Ubuntu system, the system can be remotely booted by simple setup, that is, wake on lan. The following is a case of computer A and computer B, and introduces Ubuntu to remote boot.

initiator (computer A) ----------- "remotely-on computer (computer B)

a, the remote computer is turned on ( Computer B):

1. Reboot and go to 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? ? depending on the computer network card number, 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 the computer network card number (MAC)

ifconfig

HWaddr shows the network card number

Second, the initiator (computer A):

1. sudo apt-get install wakeonlan

2. wakeonlan computer B network card Number, for example:

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

The Ubuntu remote boot method is introduced. With the above settings, you can remotely turn on the computer B on the computer A, which is simple and practical.

Copyright © Windows knowledge All Rights Reserved