Knowledgebase

Network interface is not available after installing CloudLinux

If your network interface is not available after installing CloudLinux, it's important to go through a series of steps to diagnose and potentially resolve the issue. Here's a step-by-step guide to help you troubleshoot:

  1. Check if the Interface is Detected:

    Use the following command to check if the network interface is detected:

    bash

 

  • ip link show

    This will list all detected network interfaces. Look for the one that corresponds to your network card (e.g., eth0, enp0s3, etc.).

  • Check Network Configuration Files:

    Verify that the network configuration files are correctly set up. These files are typically located in the /etc/sysconfig/network-scripts/ directory.

    • Use a text editor like nano to inspect the configuration files:

      bash
    • sudo nano /etc/sysconfig/network-scripts/ifcfg-<interface_name>
    • Ensure that the ONBOOT parameter is set to yes.

  • Restart Networking Service:

    Try restarting the networking service:

    bash
  • sudo systemctl restart network
  • Check Network Manager:

    If NetworkManager is running, it might be managing the interfaces. In some cases, you may want to disable it and use the traditional network-scripts.

    bash
  • sudo systemctl stop NetworkManager sudo systemctl disable NetworkManager
  • Reconfigure Network Settings:

    You can use the nmtui command to configure network settings interactively:

    bash
  • sudo nmtui
  • Check if the Driver is Loaded:

    Verify that the driver for your network card is loaded. You can use the lsmod command to list loaded kernel modules.

    bash
  • lsmod | grep <driver_name>

    Replace <driver_name> with the name of your network card's driver (e.g., e1000, igb, etc.).

  • Check for Errors in System Logs:

    Use dmesg or check the logs for any errors related to network interfaces:

    bash

 

dmesg | grep -i eth

or

bash

 

  • journalctl | grep -i eth
  • Check for Hardware Issues:

    Ensure that the network card is properly seated and that there are no physical issues with the hardware.

  • Check Udev Rules:

    Verify that there are no custom Udev rules causing conflicts:

    bash

 

  1. ls -l /etc/udev/rules.d/
  2. Reinstall Network Drivers:

    If the network interface still isn't working, you might need to reinstall the network drivers for your specific hardware.

  3. Contact CloudLinux Support:

    If none of the above steps work, it's advisable to contact CloudLinux support or consult their documentation for specific troubleshooting steps related to their OS.

Always ensure that you have backups of important data before attempting any significant changes to your system. If you're unsure about any step, it's best to seek guidance from a professional.

  • 0 Users Found This Useful
Was this answer helpful?