![]() ![]() Yes – Non-root users are allowed to control this device. Yes – Modify /etc/nf if the DNS directive is set. No - This device should not be activated at boot-time. Yes - This device should be activated at boot-time. ONBOOT= –> Where is one of the following: MACADDR= –> Where is the hardware address of the Ethernet device in the form AA:BB:CC:DD:EE:F nano /etc/sysconfig/network-scripts/ifcfg-ethXģ) Configure the variables in the file for your conneciton: DEVICE=eth0Ĥ) The most common configuration parameters with explanations are:ĭEVICE= –> where is the name of the physical device.ĭNS= –> where is a name server address to be placed in /etc/nf Method 1 – Using Network Configuration Fileġ) First determinte the name of your network adapter by running the following: sudo lshw -class network -shortĢ) Using your favourite text editor open the configuration file for your network adapter, replacing X with the name of your network adapter determined in the previous step. There are a number of options/methods available to do this outlined below. This guide details howto configure a static IP on CentOS 7 or 8 on an operating system installed without a GUI. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |