Difference between revisions of "CCRMA Comet How To Connect"

From CCRMA Wiki
Jump to: navigation, search
Line 7: Line 7:
 
If you are using Mac OS 10.6.3 through 10.8, you need to install [http://www.macupdate.com/app/mac/26593/xquartz XQuartz] so that XWindows will work. (Prior versions (10.5+) have XWindows installed by default in the OS X Developer Tools, but if it is missing for you then first try downloading X11 from the same link.)
 
If you are using Mac OS 10.6.3 through 10.8, you need to install [http://www.macupdate.com/app/mac/26593/xquartz XQuartz] so that XWindows will work. (Prior versions (10.5+) have XWindows installed by default in the OS X Developer Tools, but if it is missing for you then first try downloading X11 from the same link.)
  
Go to ''System Preferences'', select ''Network'', and choose the ''Ethernet'' module. Write down your current settings in case you think that you might need them in the future. (For example, if you use Ethernet to connect to the Internet in your dormitory, you probably want to save these settings for when you go home.) Now change your Ethernet settings to the following:
 
  
Configure: Manually
 
  
IP Address: 192.168.105.105
+
<!-- If your laptop is currently connected to the Internet using some method other than Ethernet: It can be convenient to enable your kit to get onto the Internet. Go to ''System Preferences'' and choose ''Sharing''. Edit the settings so that your Internet connection is shared with the Ethernet port. In order to do this, you may have to disable ''Internet Sharing'' temporarily. Finally, click the ''Internet Sharing'' checkbox to enable this option. -->
 
+
Subnet Mask: 255.255.255.0
+
 
+
The remaining items such as ''Router, DNS Server,'' and ''Search Domains'' can be left blank for now, and click the ''Apply'' button in the bottom right to apply the settings.
+
 
+
<!-- If your laptop is currently connected to the Internet using some method other than Ethernet: It can be convenient to enable your kit to get onto the Internet. '''Internet Sharing will not work on Mac OS X 10.7 (Lion) or Mac OS X 10.8 (Mountain Lion)''', so skip this step on those systems. Go back to ''System Preferences'' and choose ''Sharing''. Edit the settings so that your Internet connection is shared with the Ethernet port. In order to do this, you may have to disable ''Internet Sharing'' temporarily. Finally, click the ''Internet Sharing'' checkbox to enable this option. -->
+
  
 
You will use the Terminal program to login to Satellite CCRMA over the Ethernet connection.  
 
You will use the Terminal program to login to Satellite CCRMA over the Ethernet connection.  
  
Now open up a window in Terminal. Your Satellite CCRMA kit should choose the IP address 192.168.105.106. To check that it is visible type the command ''ping 192.168.105.106'', and see how fast the network response is. Once you are satisfied, hit Control-C to quit ''ping''. Then, to finally login to Satellite CCRMA, type  
+
Now open up a window in Terminal. Your ccrma comet can be resolved via the hostname "satellite.local". To check that it is visible type the command ''ping satellite.local'', and see how fast the network response is. Once you are satisfied, hit Control-C to quit ''ping''. Then, to finally login to Satellite CCRMA, type  
  
''ssh -XY ccrma@192.168.105.106''
+
''ssh -XY ccrma@satellite.local''
  
 
The password should be ''temppwd''.
 
The password should be ''temppwd''.
  
 
== Windows 7 ==
 
== Windows 7 ==
Windows 7 users should follow [https://ccrma.stanford.edu/wiki/Satellite_CCRMA_Windows this link]
 
  
== Linux ==
+
* Download http://support.apple.com/downloads/DL999/en_US/BonjourPSSetup.exe to get bonjour support on Windows.
  
Instructions for Ubuntu 10.04 Netbook Remix:
+
* Then Download [http://sourceforge.net/projects/xming/files/Xming/6.9.0.31/Xming-6-9-0-31-setup.exe/download XMING] and install it.  Then start the Xming program from the Start Menu--it is in a folder called Xming.  (I believe that it is not necessary to start the XLaunch program -- hopefully someone can confirm this during the next workshop.)
  
Run ifconfig in a terminal and look for your wired ethernet device. It will probably be called "eth0". Copy down the value next to HWaddr.
+
* Then download [http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html Putty].  It will stay in your Downloads folder unless you put it somewhere else, such as the Desktop.
 +
** Go to the ''Connection | SSH | X11'' panel and check "Enable X11 forwarding" <Br>[[Image:PuttyX11.png]]
 +
** Go to the ''Connection | SSH | Tunnels'' panel and check "Local ports accept connections from other hosts"<Br>[[Image:PuttyTunnels.png]]
 +
** Go to the ''Session'' panel and enter ccrma@satellite.local into the "Host name" field to specify that you want to log in to satellite.local (the IP address of CCRMA comet) using the user name ''ccrma''.<Br>[[Image:PuttySession.png]]
 +
** '''Select "Default Settings" and then click the "Save" button so that all these settings are saved by default.'''
 +
** Finally click on the "Open" button to open the connection.
 +
** The password is ''temppwd''
 +
** Since a default pd patch started on boot, you can stop it by typing ''stop-default''
 +
** Then run the command<Br>''pd &''<Br>to make sure that pd can successfully forward its Window to your laptop.
  
Go to "System" -> "Network Connections".
+
== Linux ==
 
+
Under the "Wired" tab of the dialog that opens click "Add".
+
  
Set the "Connection name" to something logical, like CCRMA Satellite.  Paste the value you copied from HWAddress in the "MAC address" box.
+
First install avahi-daemon to resolve ip via zeroconf.
  
Click the "IPv4 Settings" tab.  Change "Method" to "Manual".  Next to "Addresses" click "Add".  In the "Address" column type "192.168.105.105".  In the "Netmask" column type "255.255.255.0".  Click "Apply".
+
* sudo apt-get install avahi-daemon (for debian distros
  
In the notification area on your desktop panel, click the NetworkManager Applet icon.  Select the connection you just created.  You now should be able to ssh into the board by typing ''ssh -XY ccrma@192.168.105.106'' in a terminal. The password is ''temppwd''
+
You can now connect from the terminal with ssh
  
 +
* ssh ccrma@satellite.local
 
<!-- For internet connection sharing, this link might help (I haven't tried it yet):  https://help.ubuntu.com/community/Internet/ConnectionSharing -->
 
<!-- For internet connection sharing, this link might help (I haven't tried it yet):  https://help.ubuntu.com/community/Internet/ConnectionSharing -->
  
 
<center>[[250a 2009]]</center>
 
<center>[[250a 2009]]</center>
 
[[Category:Satellite CCRMA]][[Category:PID]][[Category:NMC 2011]]
 
[[Category:Satellite CCRMA]][[Category:PID]][[Category:NMC 2011]]

Revision as of 02:21, 4 October 2013

How To Connect

On this page, we explain how to connect to Satellite CCRMA over the Ethernet cable.

Mac OS X

If you are using Mac OS 10.6.3 through 10.8, you need to install XQuartz so that XWindows will work. (Prior versions (10.5+) have XWindows installed by default in the OS X Developer Tools, but if it is missing for you then first try downloading X11 from the same link.)



You will use the Terminal program to login to Satellite CCRMA over the Ethernet connection.

Now open up a window in Terminal. Your ccrma comet can be resolved via the hostname "satellite.local". To check that it is visible type the command ping satellite.local, and see how fast the network response is. Once you are satisfied, hit Control-C to quit ping. Then, to finally login to Satellite CCRMA, type

ssh -XY ccrma@satellite.local

The password should be temppwd.

Windows 7

  • Then Download XMING and install it. Then start the Xming program from the Start Menu--it is in a folder called Xming. (I believe that it is not necessary to start the XLaunch program -- hopefully someone can confirm this during the next workshop.)
  • Then download Putty. It will stay in your Downloads folder unless you put it somewhere else, such as the Desktop.
    • Go to the Connection | SSH | X11 panel and check "Enable X11 forwarding"
      PuttyX11.png
    • Go to the Connection | SSH | Tunnels panel and check "Local ports accept connections from other hosts"
      PuttyTunnels.png
    • Go to the Session panel and enter ccrma@satellite.local into the "Host name" field to specify that you want to log in to satellite.local (the IP address of CCRMA comet) using the user name ccrma.
      PuttySession.png
    • Select "Default Settings" and then click the "Save" button so that all these settings are saved by default.
    • Finally click on the "Open" button to open the connection.
    • The password is temppwd
    • Since a default pd patch started on boot, you can stop it by typing stop-default
    • Then run the command
      pd &
      to make sure that pd can successfully forward its Window to your laptop.

Linux

First install avahi-daemon to resolve ip via zeroconf.

  • sudo apt-get install avahi-daemon (for debian distros

You can now connect from the terminal with ssh

  • ssh ccrma@satellite.local
250a 2009