Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Two ways of starting manually and booting the network card automatically

Shulou Source: shulou.com Published: 2022-06-01 04:26:45 10月05日 Update

Start the network card with the image above: # ifup eth0 #

With the picture above: it shows that the network card has been started successfully and can surf the Internet.

[root@localhost ~] # cat / etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth0

HWADDR=00:0C:29:BD:78:EB

TYPE=Ethernet

UUID=13a9bdf9-d87e-40c9-be52-15aad3bd4bf5

ONBOOT=no

NM_CONTROLLED=yes

BOOTPROTO=dhcp

[root@localhost ~] # echo "ONBOOT=yes" > > / etc/sysconfig/network-scripts/ifcfg-eth0

# set the Nic to boot automatically

Tags: Network card above success manual method Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Huawei Apple Shulou Technology Microsoft NVidia