10.05.2014 20:25, Michael Meier wrote:
> Package: qemu
> Version: 2.0.0+dfsg-4
> Severity: normal
> 
> When using the -smb parameter, qemu does not start up the smbd service.
> it creates the necessary config file in the /tmp/ folder though.

Please try to browse \\10.0.2.4\ from windows with your
command line, and see if any additional files will be
created in that temp folder.

> If I start it up by hand:
> smbd -s /tmp/qemu-smb.19409-0$/smb.conf
> smbd gets started up correctly and i can access it from the virtual machine 
> using:
> \\10.0.2.2\qemu   (not 10.0.2.4)

10.0.2.2 is redirected to host.  So if you start qemu manually
on the host, sure thing it will be available as 10.0.2.2.

Only 10.0.2.4 (by default) is redirected to qemu-started smbd.

> the command used to start up qemu is (generated by aqemu):
> /usr/bin/kvm -monitor stdio -soundhw ac97 -k es -vga std -enable-kvm -m 2048 
> -localtime -snapshot -drive file="/home/rmm/data/Virtual 
> Machines/windows-7-x64.qcow2",if=virtio -boot once=c,menu=off -net 
> nic,vlan=0,model=virtio -net 
> user,vlan=0,smb=/home/rmm/data/tmp,smbserver=10.0.2.4 -name "Windows 7 x64"

Ok.

> not using kvm doesn't make any difference, also giving a fixed ip to the smb 
> parameter (host). does not make any difference.
>From the virtual machine I can't ping 10.0.2.4 (the default ip it should use) 
>so I guess this virtual nic never gets created?

No, 10.0.2.4 does not support ping.  Only samba ports (139 and 443) are 
redirected,
not ICMP.

What version of samba do you use?

Thanks,

/mjt


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to