Installing virtualmin - name of my primary network interface?

Hi all,

I am installing virtualmin using the automated install script as per https://www.virtualmin.com/download.html#gpl on my vps. I am running a clean install of CentOS 6 64bit Minimal with OpenVZ as my virtualization type. During the install I get the error “Unable to determine IP address of primary interface. Please enter the name of your primary network interface:”

ifconfig returns:

lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:167 errors:0 dropped:0 overruns:0 frame:0 TX packets:167 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:19225 (18.7 KiB) TX bytes:19225 (18.7 KiB)

venet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:127.0.0.1 P-t-P:127.0.0.1 Bcast:0.0.0.0 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
RX packets:232785 errors:0 dropped:0 overruns:0 frame:0
TX packets:119159 errors:0 dropped:55 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:343962700 (328.0 MiB) TX bytes:6420600 (6.1 MiB)

venet0:0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:121.216.97.10 P-t-P:121.216.97.10 Bcast:121.216.97.10 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1

I looked on the forums and found a similar questions however it appears that some people are using venet0 and others venet0:0. While I am competent with linux I am a programmer not a systems admin so I am a little unsure which one to use based upon the output of ifconfig above. I can see my ip on venet0:0. Which one should I use?

Thanks in advance :slight_smile:

For “Unable to determine IP address of primary interface.” should be venet0:0 if i remember right, last time i had this problem was more than a year ago.

But before that if i can suggest next:
- install fresh centos 6 64bit
- run "yum -y update" and then "yum clean all"
- optional: "yum -y install perl", remember not so long time ago Virtualmin had problem to install and then run if perl was missing. Even it should sort this during the installation something was wrong (probably bugged on Virtualmin side) so i was forced to install perl before i start with Virtualmin. Either way if you have perl installed no harm, you will just get the message "nothing to do".
- after that "wget http://software.virtualmin.com/gpl/scripts/install.sh"
- sh install.sh
- wait to be done

If you still get that same question during the installation try with “venet0:0” but something is wrong with your server or his configuration. Like i sad i had this problem in the past and after i lost hours looking around i ask my host to check the server and actually was a misconfiguration on his part what prevented Virtualmin to automatically pick up right interface.

Thank you for your response :slight_smile: