Embedding Windows shares of a host system without DHCP
- Share your hard disk or your directory under Windows or Linux.
Do not forget to set write premission for the user.
- Now, start the VMware server.
- Open the configuration menu of the Virtual Machine and change Ethernet 2 to "Custom: Specific virtual network = Vmnet1 (Host-only)".
- The, execute on the host system
ifconfig(Linux) and keep the IP address of VMnet1 in mind (e.g. 192.168.10.1).
- Start the mvSDK Virtual Machine.
Since "mvSDK for intelligent cameras Version 0.11.0b RC14", step 5 and 6 are obsolete.
- (Optionally, when using a Proxy) Open a shell and create a file called
/etc/apt/apt.confwith following content:
- Install smbfs by using the command
sudo aptiude install smbfsand confirm with "y".
- Now, you can enter the embedding in
/mnt cifs auto,exec,uid=1000,umask=000,user,username=XXX,password=XXX 0 0
- Finally, you can mount the share manually via
sudo mount -a.
By entering this in fstab, the share will be embedded during every reboot. If you want this temporarily, you can do this via shell like this:
sudo mount.cifs //192.168.10.1/windowsshare /mnt
You can choose the destination as you like. Instead of
/mnt, for example, to
/home/mvbc/workspace/eigenesprojekt. However, you have to create the directory prior to that.
If you do not need the host-only access anymore, you have to reset Ethernet 2 to the default value and remove the entry in fstab.