Home>Article>Operation and Maintenance> Set redhat to automatically connect to the network when booting

Set redhat to automatically connect to the network when booting

PHP中文网
PHP中文网 Original
2017-07-13 18:16:15 2807browse

1. Set up automatic network connection after booting up
1. Log in with root account
2. Open etcsysconfignetwork-scrpts directory
3.vi ifcfg-eth0
4. Change ONBOOT to yes


2. How to connect to the network without a graphical interface
1.ifconfig -a View network configuration
2.ifup eth0 (the network card device viewed by the above command)

The above is the detailed content of Set redhat to automatically connect to the network when booting. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:rsync random startup script Next article:rsync random startup script