Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Network Troublshooting => General Networking Support in Linux => Topic started by: pmtan on May 04, 2005, 10:30:35 AM

Title: Linux in VMware cannot connect to internet
Post by: pmtan on May 04, 2005, 10:30:35 AM
guys,

i need help at here. i'm using a desktop with window xp OS and installed a VMware 5 on my desktop.
i create a virtual machine with vmware which i installed linux redhat 9 to my virtual machine.
i configure my network with different ip with my desktop. but i cannot connect to internet using my linux. i can't even ping out or ping to my virtual machine.

is there any way to overcome it?

thanks
Title: Linux in VMware cannot connect to internet
Post by: dragoncity99 on May 04, 2005, 01:18:19 PM
Check the if ur network card driver is loaded or not. I think it's not loaded.

1. Type the lsmod command on the console:

Quote
root@localhost# lsmod


You should see a module name "pcnet32" loaded. If not, the definitely it's not working at all.

2. Now, to load the driver:
Quote
root@localhost# modprobe pcnet32


3. Assign ip to ur network card now.:
Quote
root@localhost#ifconfig eth0 192.168.1.1


Ok, now this definitely works if ur kernel is compile with that network card support. Else, u should get the kernel recompiled.