All-
I just installed CentOS 6 64-bit and I'm unable to add a network adapter properly. I have tried using E1000, VMXNET2, and VMXNET3. I even tried adding all 3 at once, and none appear when I type ifconfig. Only loopback appears.
Does anyone have any ideas on what I need to do? I thought installing vmware tools might help, but I need to use yum to do that, and I have no internet connection.
Thanks in advance!
if you use dhcp in your network, run the follow command :
#dhclient eth0 -v
if you use static ip, run the follow command:
#ifconfig eth0 IPADDRESS
eg:
#ifconfig eth0 192.168.0.1
Try the command :
#ifconfig eth0 up
It now is listed, but it doesn't get an IP address. It does show an inet6 address though 😕
You can download Linux-Tools from VMware and try installing tools from that.
Try stop/start networking in CentOS and check if its work.
Hope it helps
Please tell me if it works or not
Best is Cloud
Armin Lavaee
can you initiate the tools install through you vi client?
do you have dhcp available? if not you can try to configure a static ip using ifconfig.
if you use dhcp in your network, run the follow command :
#dhclient eth0 -v
if you use static ip, run the follow command:
#ifconfig eth0 IPADDRESS
eg:
#ifconfig eth0 192.168.0.1
Thanks!
dhclient eth0 -v did it
Now I have to type that everytime I restart
Any idea how to fix that?
You Can edit a network file for next boot your nic start automatically:
#nano /etc/sysconfig/networking/devices/ifcfg-eth0
change de follow lines :
#device
DEVICE=eth0
#start on boot?
ONBOOT=yes
#start device with dhcp client running
BOOTPROTO=dhcp
type : Ctrl+x to save and y to confirm
att.
Joao Castro
regards, if you found this or other information useful, please consider awarding points for "Correct" or "Helpful"