Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi, I'm running VMware 4 for linux and then I'm running Win XP within that, as I still need XP but wireless Networking sucks in it...it is way to fragile, so this may be slower, but I'm trying to make the transition to a pure linux system. Anyways, I can't get the networking to run between the two OS's as stated on the VMware website.
I want to be able to share files between Linux (host) and W XP (Guest), but this seems to run through Samba or something, and I know nothing about that.
If someone knows how to get this working please help, especially if you can also help with the W XP end of things too.
Distribution: Slackware 9.x, Knoppix, Damn Small Linux, RedHat.
Posts: 465
Rep:
Hi remember that VMware 4 have the option to drag and drop or just go to Virtual Machine and select "Edit Virtual Machine" then make a folder to share in linux and assign in Guest Disk "Z"
or
1. Ok you can do the following steps:
You don't need samba running localy to access a share on another computer.
You will first have to make a mount point (eg "mkdir /mnt/winshare") then mount the share:
code: mount -t smbfs -o username=Gerardoj,password=password //windoze/share /mnt/winshare
(Of course with out spaces)
Long step and old
2.Connecting to a Linux Host from a Windows Guest
If you want to share the directory /home/user/shared, for example, on a Linux host operating system with a Windows guest operating system, follow these steps:
1. On the Linux host operating system, copy the smb.conf file to a file called something like smb.conf.orig.
cd /etc/vmware/vmnet1/smb
cp smb.conf smb.conf.orig
2. Modify Samba on the Linux host system. Edit the following lines in
/etc/vmware/vmnet1/smb/smb.conf.
1. Comment out the line starting with interfaces=<IP addresses>.
2. Below this line, add interfaces=vmnet1 vmnet8.
3. Provide a network workgroup name. Set workgroup=<name>.
4. If you do not want to use the standard DNS name for the Linux system, set netbiosname=<Linux system name>.
5. You can leave security=user, unless you cannot connect, in which case use security=share.
6. Set encrypt passwords=yes.
7. In the [global] section, define a different shared memory access key. Add this line:
sysv shm key=/dev/vmnet8
8. For better performance, at this line:
socket options = TCP_NODELAY
edit the line to state:
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
Note: This setting must be entered on one line.
9. To create the share, add the following:
[SHARE_NAME]
path = /home/user/shared
public = no
writable = yes
printable = no (since you want to share files, not a printer)
10. Save this file and create a backup copy to protect these changes when you upgrade VMware Workstation.
Restart the Samba services to load the new settings.
If VMware Workstation is running on the Linux host system, suspend or shut down all running virtual machines and close all VMware Workstation windows.
On the Linux host operating system, at a command prompt, type
/etc/init.d/vmware restart
On some Linux distributions, the command is
/etc/rc.d/init.d/vmware restart
Start VMware Workstation and run the Windows guest operating system from which you want to connect to the Linux host. The user ID you use to log in to the Windows guest must be in the Linux host's smbpasswd file. If you use the same user name and password to log in to the guest as you do on the Linux host, then you are not prompted to log in when you browse the Linux host.
If you are connecting to the Linux system from a Windows Me, Windows 98 or Windows 95 guest operating system, NetBEUI must be installed in the guest operating system before you can browse the file system. If you need to install NetBEUI, you may need your Windows installation CD-ROM.
When the system restarts, the Samba service does not appear in the list of services starting up, but it does start, unless an error appears.
feel free to email me for questions!!
waiting...
Linux: Fast, Stable, Flexible
Sorry, a little embarassed now after figuring out how VMware 4 handles file sharing.
It has the option built right in if you look hard enough.
Sry to post here after so long, but i am having the same problem as you and i can't find the option to share...looked a lot already but nothing seems to pop out TT____TT... help?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.