qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-discuss] setup samba for file transfer


From: dE
Subject: Re: [Qemu-discuss] setup samba for file transfer
Date: Wed, 27 Nov 2013 12:02:55 +0530
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130928 Thunderbird/17.0.9

On 11/19/13 14:33, Mahmood Naderan wrote:
Hello,
In order to transfer files between windows guest and linux host, I have installed samba server on the host.

$ yum list samba*
Installed Packages
samba.x86_64                                                 3.6.9-151.el6                                  @sl-security
samba-client.x86_64                                          3.6.9-151.el6                                  @sl-security
samba-common.x86_64                                          3.6.9-151.el6                                  @sl-security
samba-winbind.x86_64                                         3.6.9-151.el6                                  @sl-security
samba-winbind-clients.x86_64                                 3.6.9-151.el6                                  @sl-security


And I configured /etc/samba/smb.conf it in this way:

[smb]
comment = share
path = /media/samba_share
public = no
writable = yes
printable = no
browseable = yes
write list = mahmood vb

 
the share folder is

$ ls -l /media/
total 4
drwxrwxrwx. 2 root root 4096 Nov 19 06:50 samba_share

Then I run the guest windows with "-smb /media/samba_share" option.
Now in windows I get this error

System error 1231 has occurred. The network location can not be reached.

What is wrong with the configuration?

P.S: Usually I use scp and ssh for remote transfers. So if someone has a simpler option than samba please let me know.




Regards,
Mahmood

You should connect the host and the guest via network (user mode will work here) and then you should be able to access the shares on the Windows machine. -smb is a legacy option.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]