LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-07-2006, 05:22 PM   #1
144419855310001
Member
 
Registered: Apr 2006
Distribution: ubuntu 7.04
Posts: 219

Rep: Reputation: 30
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.
 
Old 11-08-2006, 12:28 PM   #2
ITintuition
Member
 
Registered: Sep 2006
Location: The Pacific Northwest
Distribution: SUSE 10, Ubuntu, Fedora Core 6
Posts: 34

Rep: Reputation: 15
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
 
Old 11-09-2006, 03:23 PM   #3
144419855310001
Member
 
Registered: Apr 2006
Distribution: ubuntu 7.04
Posts: 219

Original Poster
Rep: Reputation: 30
----------

Last edited by 144419855310001; 11-09-2006 at 03:25 PM.
 
Old 11-09-2006, 03:24 PM   #4
144419855310001
Member
 
Registered: Apr 2006
Distribution: ubuntu 7.04
Posts: 219

Original Poster
Rep: Reputation: 30
Whoa!

The contents page for that link is 1300 words!

That might take a bit of reading



Thanks for the reply though
 
Old 11-11-2006, 06:46 PM   #5
144419855310001
Member
 
Registered: Apr 2006
Distribution: ubuntu 7.04
Posts: 219

Original Poster
Rep: Reputation: 30
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?

Last edited by 144419855310001; 11-11-2006 at 06:48 PM.
 
Old 11-13-2006, 07:15 AM   #6
144419855310001
Member
 
Registered: Apr 2006
Distribution: ubuntu 7.04
Posts: 219

Original Poster
Rep: Reputation: 30
___bump___
 
Old 11-15-2006, 08:31 AM   #7
144419855310001
Member
 
Registered: Apr 2006
Distribution: ubuntu 7.04
Posts: 219

Original Poster
Rep: Reputation: 30
___bump!____

c'mon, somebody must know...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
virtual machines ?'s tlarkin SUSE / openSUSE 7 10-05-2006 04:15 PM
New Category - Virtual Machines BaptismOfFire LQ Suggestions & Feedback 5 02-19-2006 08:00 PM
Virtual drives and/or Machines Astral_Nomad Linux - Software 2 10-27-2005 12:42 AM
Virtual Machines Berticus Linux - Newbie 8 10-18-2005 12:38 AM
Virtual Machines ZoZo Linux - General 2 09-23-2002 12:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration