Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Two ways of starting manually and booting the network card automatically

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

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

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report