Thanks @xavier01. I tried to make it working, but it seems that Windors 7 have problems with virtio. I get message with
No signed device drivers were found. Make sure that the installation media contains the correct drivers, and then click OK. - exactly as in this thread: Windows 7 VirtIO Drivers will not install - VM Engine (KVM) - Unraid
If there is no other option, I’ll need to switch to W8 or W10.
@gordonthree - your advice was spot on. I managed to set up network with it, and now the VM have network access.
Done that I tried to connect samba share, but I done something wrong, because there is no share visible. On host machine:
smbc_opendir: No such file or directory
Load smb config files from smb.conf
Error loading services.
No locked files
In /etc/smb.conf aside from adding [sambashare] record in first post I changed only
interfaces = 127.0.0.0/8 eth0 to
interfaces = 127.0.0.0/8 eth1 as
eth0 is a bridge to
If this is relavant the shared folder is on another drive mounted in
Just to beeing sure if the daemon is running i tested smbd with
echo "hello" | telnet localhost 139 and get:
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.
Here is the testparm dump:
Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
Weak crypto is allowed
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
# Global parameters
log file = /var/log/samba/log.%m
logging = file
map to guest = Bad User
max log size = 1000
obey pam restrictions = Yes
pam password change = Yes
panic action = /usr/share/samba/panic-action %d
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
passwd program = /usr/bin/passwd %u
server role = standalone server
unix password sync = Yes
usershare allow guests = Yes
idmap config * : backend = tdb
comment = VM_Share
path = /media/user/device_label/vm_share
read only = No
valid users = user
The smb.conf file also contains:
workgroup = WORKGROUP
; interfaces = 127.0.0.0/8 eth1
; bind interfaces only = yes
Listing shares with smbclient -L 127.0.0.1 -U user gets:
session setup failed: NT_STATUS_CONNECTION_DISCONNECTED