Difference between revisions of "CCRMA Comet How To Connect"

From CCRMA Wiki
Jump to: navigation, search
(Windows 7)
 
(10 intermediate revisions by 2 users not shown)
Line 6: Line 6:
  
 
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.)
 +
<!-- 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. -->
  
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:
+
Now for your computer to be able to access your Raspberry Pi, install "Bonjour Browser" for Mac (download from [http://www.tildesoft.com tildesoft.com]) and open it. Now disconnect the Ethernet cable from your Mac. Go to System Preferences -> Sharing and click on the "Internet Sharing" submenu. For "To computers using," check Ethernet. Be sure to check the Internet Sharing box on the left. Last, reconnect the Ethernet cable -- now the steps below should work!
 
+
Configure: Manually
+
 
+
IP Address: 192.168.105.105
+
 
+
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 ==
+
In future you will not need to run bonjour browser to get things to work, but it is a good utility to use to see wether or not your device is connecting. Look under the "workgroup" subheading to see if satellite is available.
Windows 7 users should follow [https://ccrma.stanford.edu/wiki/Satellite_CCRMA_Windows this link]
+
  
 
== Linux ==
 
== Linux ==
  
Instructions for Ubuntu 10.04 Netbook Remix:
+
First install avahi-daemon to resolve ip via zeroconf.
  
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.
+
* sudo apt-get install avahi-daemon (for debian distros
  
Go to "System" -> "Network Connections".
+
You can now connect from the terminal with ssh
  
Under the "Wired" tab of the dialog that opens click "Add".
+
* ssh -XY ccrma@satellite.local
 +
<!-- For internet connection sharing, this link might help (I haven't tried it yet):  https://help.ubuntu.com/community/Internet/ConnectionSharing -->
  
Set the "Connection name" to something logical, like CCRMA Satellite.  Paste the value you copied from HWAddress in the "MAC address" box.
+
== Windows 7 ==
  
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".
+
* Download http://support.apple.com/downloads/DL999/en_US/BonjourPSSetup.exe to get bonjour support on Windows.
  
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''
+
* 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.)
  
<!-- For internet connection sharing, this link might help (I haven't tried it yet):  https://help.ubuntu.com/community/Internet/ConnectionSharing -->
+
You will need to set up internet connection sharing, follow the instructions on the following page
 +
 
 +
http://www.dummies.com/how-to/content/how-to-share-an-internet-connection-in-windows-7.html
 +
 
 +
* 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 using the user name ''ccrma''.
 +
*** PLEASE NOTE IN THE BELOW IMAGES YOU WILL SEE A DEPRECATED IP, PLEASE PUT IN 'satellite.local' NOT '192.168.105.106'
 +
<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.
  
 
<center>[[250a 2009]]</center>
 
<center>[[250a 2009]]</center>
 
[[Category:Satellite CCRMA]][[Category:PID]][[Category:NMC 2011]]
 
[[Category:Satellite CCRMA]][[Category:PID]][[Category:NMC 2011]]

Latest revision as of 10:13, 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.)

Now for your computer to be able to access your Raspberry Pi, install "Bonjour Browser" for Mac (download from tildesoft.com) and open it. Now disconnect the Ethernet cable from your Mac. Go to System Preferences -> Sharing and click on the "Internet Sharing" submenu. For "To computers using," check Ethernet. Be sure to check the Internet Sharing box on the left. Last, reconnect the Ethernet cable -- now the steps below should work!

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.

In future you will not need to run bonjour browser to get things to work, but it is a good utility to use to see wether or not your device is connecting. Look under the "workgroup" subheading to see if satellite is available.

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 -XY ccrma@satellite.local

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

You will need to set up internet connection sharing, follow the instructions on the following page

http://www.dummies.com/how-to/content/how-to-share-an-internet-connection-in-windows-7.html

  • 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 using the user name ccrma.
      • PLEASE NOTE IN THE BELOW IMAGES YOU WILL SEE A DEPRECATED IP, PLEASE PUT IN 'satellite.local' NOT '192.168.105.106'


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.
250a 2009