Embedding Windows shares of a host system without DHCP

mvBlueCOUGAR-P, mvBlueLYNX-M7

  1. Share your hard disk or your directory under Windows or Linux.
    Do not forget to set write premission for the user.
    tl_files/mv11/images/support/faq/MV-324_01.jpg
  2. Now, start the VMware server.
  3. Open the configuration menu of the Virtual Machine and change Ethernet 2 to "Custom: Specific virtual network = Vmnet1 (Host-only)".
    tl_files/mv11/images/support/faq/MV-324_02.jpg
  4. The, execute on the host system ipconfig (Windows) or ifconfig (Linux) and keep the IP address of VMnet1 in mind (e.g. 192.168.10.1).
    tl_files/mv11/images/support/faq/MV-324_03.jpg
  5. Start the mvSDK Virtual Machine.

Since "mvSDK for intelligent cameras Version 0.11.0b RC14", step 5 and 6 are obsolete.

  1. (Optionally, when using a Proxy) Open a shell and create a file called /etc/apt/apt.conf with following content:
    Acquire::http::Proxy
    "http://NAME:PASSWORD@PROXY-SERVER:1234/";
    
  2. Install smbfs by using the command sudo aptiude install smbfs and confirm with "y".
  3. Now, you can enter the embedding in /etc/fstab:
    //192.168.10.1/windowsshare   
    /mnt cifs auto,exec,uid=1000,umask=000,user,username=XXX,password=XXX      0       0
    
  4. 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.

Back