Skip to contentSkip to conversation

question on samba/linux_guest

Qemu-devel Christian MICHON 1 participant 2 messages Nov 30, 2006 – Dec 8, 2006

lore
Share & tools
lore
#0 lore raw

Hi list,

I know for sure "-smb" option is meant for using samba inside a Windows guest inside a linux host.

I would like to do the opposite: having a Windows host and a properly configured samba inside a linux guest, use windows explorer to browse specific disk areas of the linux guest.

I can already do this using vmplayer in host-only network mode, similar to the network user mode over slirp. The problem is that I do not know what IP address I should use when mapping the disk inside windows host.

Indeed, the IP address inside the qemu guest is something like 10.0.2.15, but I cannot access it from XP. I tried to fiddle with "-redir" options, but it refuses to redirect port 445 (though I'm admin on XP).

Has anyone managed this yet ? If so, please share the command lines. It must be possible, but maybe not easy.

Just a precision: I want to use the slirp mode only, not the tap-win32 stuff. Thanks in advance

Signature · 1 line
Christian
#1 lore raw

it was silly of me to discard the qemu-tap stuff actually... Unless I use tunneling, I cannot access the guest from the windows host directly using an IP address. And windows refuses to mount something like \\10.0.2.16:5555\

The problem disappears if I use tap-win32...

So now I can do some linux specific stuff inside the guest (kernel compilation) and get the result out of the guest filesystem using samba (launch a parallel session of qemu on windows using the freshly compiled kernel)

If someone one day finds a way to do it using slirp/user mode, I'm still interested... :)

Quoted 17 lines · Christian MICHON

I would like to do the opposite: having a Windows host and a properly configured samba inside a linux guest, use windows explorer to browse specific disk areas of the linux guest.

I can already do this using vmplayer in host-only network mode, similar to the network user mode over slirp. The problem is that I do not know what IP address I should use when mapping the disk inside windows host.

Indeed, the IP address inside the qemu guest is something like 10.0.2.15, but I cannot access it from XP. I tried to fiddle with "-redir" options, but it refuses to redirect port 445 (though I'm admin on XP).

Has anyone managed this yet ? If so, please share the command lines. It must be possible, but maybe not easy.

Just a precision: I want to use the slirp mode only, not the tap-win32 stuff. Thanks in advance

Signature · 1 line
Christian