Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To test:
Start ("Play") the virtual machine
In the Centos 6 version (as of October 2013), the password is "data" (there is only one user, which you click). In the old Centos 5 version, the usual username/password is Paul/kokako
You'll usually need to start a terminal (see icon on top toolbar).
Type FSL to get FSL

Setting up the connection

1-A. VMware settings (Player)

The network settings are already set in the copy of the VM, so all you need to do is look for the Subnet address. Go to the "Network and Sharing Center" in Control Panel, and click on the "VMnet1" connection, then click details, to find the Subnet Address (see snapshot):

Uploaded ImageImage Removed

1-B. VMware settings (WorkStation)This section NOT needed if you are using VMware Player'

Start by turning the VM off (under the "System" menu, select "Shut Down")

Set the network connection to Host to Host: in VMplayer, Edit Settings, Virtual Network Editor, VMnet1.
Select "Host-only" option, turn off "Use local DHCP service"
Make a note of the Subnet Address of VMnet1 (e.g., 192.168.65.0) and subnet mask (usually 255.255.255.0)

Note: I had to turn off the VNnet8, in Sep 2013 (Centos 6 and Workstation 10).

Under the VM Settings, select Network Adapter, select Connected + Connected at power on", "Host-only".

Uploaded ImageImage Removed

Video: Setting Linux Network Parameters (* Does not work in Internet Explorer)

***MISSING IMAGE***

2. Linux Settings

Start Linux - "play" or "resume" virtual machine
Log on (username is Paul)
In the Linux window, System => Administration => Network (you'll need to enter the password again, same as for Paul)
Select "eth0" in the Devices list, Edit
Set the IP address to be 100 on the subnet (e.g., 192.168.65.100), and set the subnet mask, and the "Default gateway address" will be the subnet address with a 1 at the end (example below).
Click "Activate"
Uploaded ImageImage Removed

Troubleshooting Linux Settings

Sometimes after an upgrade, there are changes to the network settings. 

sshd
To stop the slow SSH login, edit /etc/ssh/sshd_config (open a terminal, "su" to log on as super-user same password, cd to /etc/ssh, "gedit sshd_config) and add a like "UseDNS no, and make sure there are no DNS servers

Uploaded ImageImage Removed

3. Windows (matlab) settings

Install "PuTTY" - Google it and choose the Windows installer.
After installing, run once and connect to the IP address of the Linux VM; say Yes to add the certificate to the cache.
If you get a timeout error, start a Command Prompt and ping the IP address
e.g., C:\Users\Paul>ping 192.168.65.100
If you don't get a connection, re-check the above settings (and make sure you "Activate" the changes in the Network Configuration).

Run CSPM, Options, Local settings, and enter the IP address and the username and password of the Linux user; do Ping, and "Test Send-Command".

Shared folder

Choose a shared folder; I use one on the network, but something simple is good (e.g., "V:\LinuxShare\"). Avoid spaces in any Linux path.

...

In Windows, change the folder permissions so that all users can modify, read and write.Image Removed


Updating

To update:

  1. Change the VM's network settings to bridged
  2. Start/restart the VM
  3. Under System, Administration, Network, "Edit" the eth0 device and set to DHCP instead of static address
  4. Under System, Administration, Server Settings, Services, go to Network and restart
  5. To Add or Remove, go to Applications, Add/Remove Software
  6. To Update, go to Applications, System Tools, Software Updater
  7. Change back to static IP (System, Administration, Network, "Edit" the eth0 device)
  8. Change the VM settings back to Host-Only, restart