Versions Compared

Key

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

Setting up the connection

1

...

. 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 (an IP address that ends in a 1, and usually starts with 192.168).

...

Option 2: Go to the "Network and Sharing Center" in Control Panel, and click on the "VMnet1" connection, then click details, to find the Subnet Address.

...

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".


2.Linux Settings

Start Linux - "play" or "resume" virtual machine
Log on (click on "LinuxVM"; username is userbrain, password databraindata)
In the Linux top toolbar, right- click over the network icon, and select "Wired Settings" (image below)
Select the latest connection - probably wil be at top. It has been "Auto eth1", but may be 'Wired connection 1". Click Edit, go to IPv4 SettingsLook for the ipv4 address; this may be all you need


Toggle network off then on to allow the new settings to take effect.
vImage Added


Add sshd

sudo apt install openssh-server

Troubleshooting Linux Settings

If the IP address changes with DHCP, the:

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 "Apply" enter password (data)

Toggle "Enable Networking off then on to allow the new settings to take effect.
vImage Removed

Image Removed

...

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

...