LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Samba and virtual machines and other... (https://www.linuxquestions.org/questions/linux-networking-3/samba-and-virtual-machines-and-other-499548/)

144419855310001 11-07-2006 05:22 PM

Samba and virtual machines and other...
 
Hi

I've been trying to do two things recently, and am running FC5 x86_64. I have Windows 98 running as a virtual machine with qemu. (The actual machine is in a .vmdk file, but that's because I gave up on vmplayer as it doesn't seem to like kernel upgrades <---btw, I'm not worried about this).

I would like to be able to access and exchange some of the files
on my virtual machines. I've thought of two methods so far: firstly, creating a ftp server in a folder in my home folder which windows would be able to write into. Unfortunately, though windows could read the contents of this folder in Internet explorer, I couldn't find out how to make this folder writable remotely (i.e. from within the virtual machine), or whether this is even possible.

Secondly, I thought of using Samba to mount Windows 98. I fiddled around with system-config-samba (the fedora samba configuration GUI tool) but had no idea what I was doing.

I've never done any networking before, would anybody be able to help me out two things I would like to do above?

NB. I have already explored the possibilities of vmware diskmount. It did not work.

I would also be interested in learning a little about samba, so if anyone would be able to give a personal recommendation on a newbie's guide, that would be great.

ITintuition 11-08-2006 12:28 PM

Samba involves a lot of coding, which is relatively difficult for somebody with no networking experience. Fortunately there's a lot of literature out there to fill the knowledge gaps. A good starting point is the Samba.org How To found at http://us4.samba.org/samba/docs/man/...TO-Collection/. Next you'll want to read up on Samba via Google, there's plenty of resources out there you just need to know where to look. Finally, I recommend signing up for the Samba mailing list on the website. There's a legion of Samba experts that would be happy to help you... as long as you do the homework first. A question like, "How to I setup a smb.conf for Fedora Core 5?" Isn't a valid one because it shows that you haven't even started yourself. Read the literature to get comfortable with the system and when you get stuck turn to the Samba mailing list or this forum. Good luck ;)

144419855310001 11-09-2006 03:23 PM

----------

144419855310001 11-09-2006 03:24 PM

Whoa!

The contents page for that link is 1300 words!

That might take a bit of reading



Thanks for the reply though

144419855310001 11-11-2006 06:46 PM

samba and qemu
 
Well I found in the qemu documentation that the
Quote:

-smb dir
option can be set to enable samba networking.

However, I followed the instructions in the qemu man page on how to configure it within my windows98 machine, but haven't managed to get it working!

My smb.conf:
Quote:

[new]
path = /home/user/new
writeable = yes
browseable = yes
guest ok = yes
qemu man page instructions:
From within windows98, I could not find C:\Windows\lmhosts, only C:\Windows\lmhosts.sam . Therefore I copied "lmhosts.sam" to create a "lmhosts" file, and added "10.0.2.4 smbserver" to the bottom of both of them, just to be on the safe side.

I then started qemu with
Quote:

qemu -smb /home/user/new /vm/Windows98-s001.vmdk
but with no success. I don't know what is going wrong... (smbd is running, by the way).

Any ideas?

144419855310001 11-13-2006 07:15 AM

___bump___

144419855310001 11-15-2006 08:31 AM

___bump!____

c'mon, somebody must know...


All times are GMT -5. The time now is 04:44 AM.