Remote Boot in Linux

Source: Internet
Author: User
The following two conditions must be met to enable remote boot: first, the remote boot machine must be in the Lan and you know the MAC address of the machine. second, your network card supports the network wake-up function. of course, most network cards now support the network wake-up function. Check whether your Nic is a remote boot condition. you must meet the following requirements: First, the remote boot machine must be in the LAN, and you know the MAC address of this machine. Secondly, your network card supports the network wake-up function. of course, most network cards now support the network wake-up function. Check if your Nic is
The following two conditions must be met to enable remote boot: first, the remote boot machine must be in the Lan and you know the MAC address of the machine. second, your network card supports the network wake-up function. of course, most network cards now support the network wake-up function. Check whether your network card supports the network wake-up function. you only need to run the ethtool command on the machine that is remotely started to check whether the network card supports the network wake-up function.
# Ethtool eth0
Settings for eth0:
Supported ports: [tp mii]
Supported link modes: 10 baseT/Half 10 baseT/Full
100 baseT/Half 100 baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10 baseT/Half 10 baseT/Full
100 baseT/Half 100 baseT/Full
Advertised auto-negotiation: Yes
Speed: 100 Mb/s
Duplex: Full
Port: MII
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: pumbg
Wake-on: g [prompt: g indicates it has been started. d indicates it is disabled]
Current message level: 0x00000001 (1)
Link detected: yes
Tip: You must have the root permission for the preceding commands. Otherwise, the following error occurs: $/sbin/ethtool eth0.
Network management network bitsCN_com
Settings for eth0:
Cannot get device settings: Operation not permitted
Cannot get wake-on-lan settings: Operation not permitted
Current message level: 0 × 000000ff (255)
Cannot get link status: Operation not permitted
If the network wake-up function is disabled, run the following command to enable the network wake-up function: # ethtool-s eth0 wol g
Install the wake-up software: # apt-get install wakeonlan
Obtain the physical address of the remote machine Nic: # ifconfig
Eth0 Link encap: Ethernet HWaddr 00: 16: k5: 64: A9: 68 [Mac address]
Inet addr: 192.168.6.56 Bcast: 192.168.6.255 Mask: 255.255.255.0
54com.cn
Inet6 addr: fe80: 216: 17ff: fe6b: 289/64 Scope: Link
Up broadcast running multicast mtu: 1500 Metric: 1
RX packets: 3179855 errors: 0 dropped: 0 overruns: 0 frame: 0
TX packets: 2170162 errors: 0 dropped: 0 overruns: 0 carrier: 0
Collisions: 0 fig: 1000
RX bytes: 3832534893 (3.5 GB) TX bytes: 390304845 (372.2 MB)
Interrupt: 17
Run the following command to enable remote boot: # wakeonlan 00: 16: k5: 64: A9: 68

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.