Finally I solve the problem. Ho.... Ho....
I just reinstall the Mandrake Linux 9.0 with Expert Mode.
Tick all the Developement Tools, it cause around additional 1GB
for all the files and when I compile the VMWare 3.2, it works.
Normally for file sharing between host and virtual machine, I use
manual configure for host file sharing, cause auto configure make
my Samba Server Die immediately.
The default configuration as below.
This is Bridged networking. Meaning that you create a virtual network card using your existing network card. You can assign IP to this network card and in Network Neighbourhood, your virtual machine appear to be a seperated machine. After installed the virtual machine example Win2000, assign IP to the TCP/IP with same range with host PC.
For example your host IP is 192.168.0.1, then you can assign
192.168.0.2 to your virtual machine. If you need internet connection from the host, it need to setup the internet sharing in the host machine, Mandrake use really easy way to do the internet sharing.
This is host-only networking. It use together with Bridged networking, it allow virtual machine to share the host machine files and resources.
During configuration, it prompt for probing private network, just type no and use the manual one. Any IP can use, mine one is 220.127.116.11,subnet mask 255.255.0.0.
This is using NAT, meaning that no extra configuration need in the virtual machine, for example if your virtual machine is Win2000.
Inside TCP/IP, just let it be automatic for IP and DNS.
During configuration, it prompt for probing private network, just type no and use the manual one. Any IP can use, mine one is 18.104.22.168,subnet mask 255.255.0.0.
For samba server setting, normally I use webmin to do the configuration. Download the latest version 1.0.30 at www.webmin.com,
use the rpm package that provided.
upgrade the existing package in your Mandrake using
rpm -U <package name>
Login to the webmin using mozilla or konquerer using
After login, go to server tab choose windows samba server.
As default it shows you already share some printers and home
directory. My configuration is delete all the default sharing for home. Set the windows networking group to current host networking group. Share a directory with only allow root permission only,revalidated by root,group also root. After that go to convert user option to convert the root account to samba account. Details need to try by yourself. In virtual machine, try to map the drive of the host typing the hostname and folder name.
If connection OK, will prompt the username and password for the shared folder.
Any question can ask here or mail me.