April 27, 2024, 12:45:43 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: Linux in VMware cannot connect to internet  (Read 4100 times)

Offline pmtan

  • New Member
  • Posts: 1
Linux in VMware cannot connect to internet
« 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

Offline dragoncity99

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 551
Linux in VMware cannot connect to internet
« Reply #1 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.