Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to install Virtualmin - GPL on a Centos x64 VPS.

After downloading the script, I tried running it... At one stage this is the message that i received--

eth0: error fetching interface information: Device not found
INFO - Unable to determine IP address of primary interface.
Please enter the name of your primary network interface:

How do I determine the IP address/name of the primary network interface? Do I have to ask my web host about this information?

Thanks, Arvind.

share|improve this question
up vote 0 down vote accepted

eth0 is the most common ethernet device name, but it is not the only one, other device names are possible. Do this:


On line which says default in the first column, the last column will be the device name you most probably need. Afterwards, run this:

ifconfig <devicename>

Look for the value after inet addr, usually on line 2 of output. This is the IP address you're looking for.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.