Hi,
I install the vmware virtual machine in the win xp desktop.
I install the OS redhat linux into the vmware virutal machine .
After installation , I bootup the linux and I find the lan interface , eth0 ,eth1 ,eth2 cannot startup and failure ....
I cannot ssh from the XP to the linux vrtual machine ....
I have already create the eth adaptor in the virtual machine .
why ??? Is the lan card create wrong ???
What type of the lan card I need to create and use ???
any advice ???
Welcome to the forums!
1. Have you assigned a virtual NIC to the guest?
2. Have you installed the VMWare Tools inside the guest? These contains beside other important things the appropriate drivers:
http://pubs.vmware.com/ws65_ace25/ws_user/new_guest_tools_ws.html
AWo
VCP 3 & 4
\[:o]===\[o:]
=Would you like to have this posting as a ringtone on your cell phone?=
=Send "Posting" to 911 for only $999999,99!=
Hi,
I have set the NIC already.
I have install the VMware tools already....
the lan interface eth0, eth1 ,eth2 cannot up ....
Why ???Any suggestion ....
The linux kernel version is 2.4 .......
Any advice ???
So "ifconfig -a" doesn't show a LAN interface?
Which network card does "lspci" show?
Post the .vmx file of the guest.
AWo
VCP 3 & 4
\[:o]===\[o:]
=Would you like to have this posting as a ringtone on your cell phone?=
=Send "Posting" to 911 for only $999999,99!=
Hi,
where is *.vmx file in linux ???
The guest OS is linux , the host Os is win XP home edition .
I cannot find it out by command "find -name *.vmx" ....
Please advice the location .....
I get below output when type "lspci" .
00:11.0 Ehternet contorller: Advanced Micro Devbices 79c970 (rev 10)
00:12.0 Ehternet contorller: Advanced Micro Devbices 79c970 (rev 10)
00:13.0 Ehternet contorller: Advanced Micro Devbices 79c970 (rev 10)
I tyep ifconfig -a ...
All the interface ,eth0 ,eth1 ,eth2 have no IP address as it is not up
I attach the Red Hat Linux.vmx file in window XP , Host machine
Pleae advice how to fix it .......
Ahh, you found the .vmx file
O.K., form reading your .vmx file the standard vNIC is used as there's no special entry regarding the type like "ethernet0.virtualDev = "". That means the AMD PCVnet32 adapter is emulated which should be run withe the appropriate driver "pcnet32". If you enter "lsmod" in the guest you should see "vmxnet" and "pcnet32" loaded. Is this the case?
Add the following line to your .vmx file: ethernet0.virtualDev = "vmxnet"
Start the guest and check with "lspci" if it has changed to: "Ethernet controller: VMware Inc Abstract Ethernet Controller (rev 10)"
Have you already gone through the network configuration within Redhat? I mean have you configured the vNIC's to use DHCP, for example?
What happens when you enter "/etc/init.d/network stop" and then "/etc/init.d/network start"?
AWo
VCP 3 & 4
\[:o]===\[o:]
=Would you like to have this posting as a ringtone on your cell phone?=
=Send "Posting" to 911 for only $999999,99!=
In lsmod , there is only pcnet32 , there is no vmxnet
I add below line in the *.vmx file
ethernet0.virtualDev = "vmxnet"
But I get below line in "lspci"
Ethernet controller VMWare Inc: Unknown device 0720 (rev 10)
When I restart the network by command "network stop" , "network start" ....
Below is the ouput ......
Bringing up interface wth0 : pcnet32 device eth0 does not seem to be present , delaying initialization
I use kernel 2.4 ........
Please advice ...
Let's start small.
From your .vmx file I see you have three custom vNIC's all connected to VMnet8. VMnet8 is the NAT virtual network, so I don't know why you did that, doesn't make sense to me. I would suggest that you start with one vNIC, connected to VMNet8 by using "NAT" not custom. You can configure that in the guest hardware editor (where you added the vNIC's).
Post the output of "lsmod | grep vm" and "ps -e | grep vm". As long as "lsmod" doesn't show teh "vmxnet" module it seems that the VMware Tools (which contain the drivers" are not installed correctly.
AWo
VCP 3 & 4
\[:o]===\[o:]
=Would you like to have this posting as a ringtone on your cell phone?=
=Send "Posting" to 911 for only $999999,99!=
Edited by AWo
Belowos the command lsmod
Module Size Used by Tainted: PF
parport_pc 19076 1 (autoclean)
lp 8996 0 (autoclean)
autofs 13268 0 (autoclean) (unused)
vmhgfs 38380 5
pcnet32 18240 0
ipt_REJECT 3928 6 (autoclean)
iptable_filter 2412 1 (autoclean)
sg 36524 0 (autoclean)
sr_mod 18136 0 (autoclean)
ide-scsi 12208 0
ide-cd 35708 0
keybdev 2944 0 (unused)
mousedev 5492 0 (unused)
hid 22148 0 (unused)
usb-uhci 26348 0 (unused)
ext3 70784 2
BusLogic 100796 0 (unused)
sd_mod 13452 0 (unused)
Below is command "lsmod |grep vm "
vmhgfs 38380 4
below is command "ps -ef |grep vm"
root 1776 1 0 20:45 ? 00:00:00 /usr/sbin/vmware-guestd --background /var/run/vmware-guestd.pid
Please advice
O.K., the VMware Tools are not installed correct. Several modules and processes are missing.
Please take the ".tar.gz" VMware Tools file and try to install that one. You need to have the Kernel source and the gcc compiler installed in your guest. Follow this manual for installation: http://pubs.vmware.com/ws65_ace25/ws_user/ws_newguest_tools_linux_2.html
When the process starts to compile the single modules (like vmxnet, vmhgfs, ....) check for errors or the statement that this module fits into the running kernel.
Reboot the guest and try again.
For a quick try you also can add the line ethernet0.virtualDev="vlance" to the guest .cmx file and use the AMD PCnet32 driver and see if the network comes up. You may have to go through the guest OS specific network configuration again.
But at the end you better have the VMware Tools running. Using the vlance adapter doesn't give you the full performance and other important things are missing without the VMware Tools. So you should replace "vlance" with "vmxnet" at the end.
AWo
VCP 3 & 4
\[:o]===\[o:]
=Would you like to have this posting as a ringtone on your cell phone?=
=Send "Posting" to 911 for only $999999,99!=
Seems to be a big in the vmware-tools installer. I had to do this:
sudo chmod -R a+rX /usr/lib/vmware-tools
sudo chmod -R a+rX /etc/vmware-tools