Difference between revisions of "WND-CHRM on the WEB Project Notes"

From Colettapedia
Jump to navigation Jump to search
Line 8: Line 8:
 
# rm /etc/udev/rules.d/z25_persistent-net.rules
 
# rm /etc/udev/rules.d/z25_persistent-net.rules
 
# make the changes to /etc/network/interfaces and /etc/resolve.conf - I just use DHCP for simplicity
 
# make the changes to /etc/network/interfaces and /etc/resolve.conf - I just use DHCP for simplicity
# AIRPORT IS ABSOLUTELY USELESS FOR THIS TYPE OF THING. YOU HAVE TO HAVE YOUR MAC PHYSICALLY CONNECTED WITH AN ETHERNET CORD.
+
# make sure the ssh daemon is running (su -c '/usr/sbin/ssh')
#* From VirtualBox manual: "On Macintosh hosts, functionality is limited when using AirPort (the Mac’s wireless networking) for bridged networking. Currently, VirtualBox supports only IPv4 over AirPort. For other protocols such as IPv6 and IPX, you must choose a wired interface."
+
===ssh'ing into virtual machine===
## on host OS, you might need to adjust System Preferences -> Network -> Ethernet to ensure your host's access to the internet while your VM is running. I turned my VM on and my host OS's internet cut out. Must be a DHCP IP thing. I ran the network diagnostic tool in System Preferences and it fixed it for me.
+
* AIRPORT IS ABSOLUTELY USELESS FOR THIS TYPE OF THING. YOU HAVE TO HAVE YOUR MAC PHYSICALLY CONNECTED WITH AN ETHERNET CORD.
 +
* From VirtualBox manual: "On Macintosh hosts, functionality is limited when using AirPort (the Mac’s wireless networking) for bridged networking. Currently, VirtualBox supports only IPv4 over AirPort. For other protocols such as IPv6 and IPX, you must choose a wired interface."
 +
* Only those computers that are also physically conneted via ethernet cord will be able to ssh into the VM
 +
# on host OS, you might need to adjust System Preferences -> Network -> Ethernet to ensure your host's access to the internet while your VM is running. I turned my VM on and my host OS's internet cut out. Must be a DHCP IP thing. I ran the network diagnostic tool in System Preferences and it fixed it for me.
 
# Virtual Machine Settings: Settings -> Network -> Attached to: BRIDGED ADAPTER. You HAVE TO CHOOSE eth0 - wired interface.
 
# Virtual Machine Settings: Settings -> Network -> Attached to: BRIDGED ADAPTER. You HAVE TO CHOOSE eth0 - wired interface.
 +
# Check what is the VM IP address is by starting the VM and typing "ifconfig" ... It's the IP address on the second line that comes after "inet addr:"
 +
# ssh into the guest OS from the host OS by using the IP address from the previous step, e.g., "ssh boincadm@10.20.18.168"
 +
# ssh into the host OS from the guest OS by running "ifconfig" on the host and getting the ip address that way. IMPORTANT: YOU MUST ENABLE SSH INTO YOU MACHINE USING SYSTEM PREFERENCES -> SHARING AND CHECK OFF "REMOTE LOGIN"

Revision as of 15:33, 31 July 2010

Setting up BOINC Server Virtual Appliance using VirtualBox

  1. key is to use File->Virtual Media Manager
  2. Load the appropriate vmdk file
  3. Create new VM and attach to the selected hard drive
  4. Save the initial state - take a snap shot so you can always revert to fresh out of the box
  5. boot up VM and login boincadm, password is boincadmpw
  6. su, with password rootpw
  7. rm /etc/udev/rules.d/z25_persistent-net.rules
  8. make the changes to /etc/network/interfaces and /etc/resolve.conf - I just use DHCP for simplicity
  9. make sure the ssh daemon is running (su -c '/usr/sbin/ssh')

ssh'ing into virtual machine

  • AIRPORT IS ABSOLUTELY USELESS FOR THIS TYPE OF THING. YOU HAVE TO HAVE YOUR MAC PHYSICALLY CONNECTED WITH AN ETHERNET CORD.
  • From VirtualBox manual: "On Macintosh hosts, functionality is limited when using AirPort (the Mac’s wireless networking) for bridged networking. Currently, VirtualBox supports only IPv4 over AirPort. For other protocols such as IPv6 and IPX, you must choose a wired interface."
  • Only those computers that are also physically conneted via ethernet cord will be able to ssh into the VM
  1. on host OS, you might need to adjust System Preferences -> Network -> Ethernet to ensure your host's access to the internet while your VM is running. I turned my VM on and my host OS's internet cut out. Must be a DHCP IP thing. I ran the network diagnostic tool in System Preferences and it fixed it for me.
  2. Virtual Machine Settings: Settings -> Network -> Attached to: BRIDGED ADAPTER. You HAVE TO CHOOSE eth0 - wired interface.
  3. Check what is the VM IP address is by starting the VM and typing "ifconfig" ... It's the IP address on the second line that comes after "inet addr:"
  4. ssh into the guest OS from the host OS by using the IP address from the previous step, e.g., "ssh boincadm@10.20.18.168"
  5. ssh into the host OS from the guest OS by running "ifconfig" on the host and getting the ip address that way. IMPORTANT: YOU MUST ENABLE SSH INTO YOU MACHINE USING SYSTEM PREFERENCES -> SHARING AND CHECK OFF "REMOTE LOGIN"