Build Your Own PC Do-It-Yourself For Dummies
Book image
Explore Book Buy On Amazon

Having an Ethernet cable connected to your BeagleBone ensures that you have access to the Internet. This access is really handy, as you may need to install or update an application or work on Internet-related projects.

Establishing this type of communication also enables you to access your BeagleBone from any other devices as long as you remain connected to the same network.

Simply open your terminal window or PuTTY, and you can establish an SSH (secure shell) connection in a similar fashion to the method you use to connect via USB.

Windows

You need a free application called PuTTY to establish an SSH connection using a Windows PC. Here’s how to install it:

  1. Open your web browser.

  2. Go to the free PuTTY download.

  3. Click the putty.exe file to download it.

  4. Run the putty.exe file to install the software.

With PuTTY installed, you need to power up your BeagleBone and follow these steps:

  1. Power up your BeagleBone with a Mini USB cable or with a 5V DC power supply.

    Any time that it is possible, it’s recommended that you power your BeagleBone with a DC power supply so that you are guaranteed to not have any issues with power. Make sure that the outer ring of the plug is ground and the center is 5V.

  2. Connect an Ethernet cable from your router to your BeagleBone.

  3. Open PuTTY.

  4. In the PuTTY Configuration dialog box, select SSH.

  5. Type beaglebone as the host.

    The port needs to remain at the default number, which is 22.

    Your dialog box should have the settings shown.

  6. Click Open.

  7. When you’re asked to log in, type root and press Enter.

  8. When you’re asked to type a password, press Enter.

    By default, no password is set.

When you connect your computer to your BeagleBone for the very first time, you’re prompted by a message warning you that you’re attempting to establish a connection with an unknown host. This message just means that your computer and the BeagleBone aren’t friends yet. Simply click OK to proceed.

image0.jpg

Mac OS X and Linux

In Mac OS X and Linux, you can use the default terminal window to establish an SSH communication, because SSH comes in all Unix-based OSes. Follow these steps:

  1. Power up your BeagleBone with a Mini USB cable or with a 5V DC power supply.

    Any time that it is possible, it’s recommended that you power your BeagleBone with a DC power supply so that you are guaranteed to not have any issues with power. Make sure that the outer ring of the plug is ground and the center is 5V.

  2. Connect an Ethernet cable from your router to your BeagleBone.

  3. Open a new window, as follows:

    • On a Mac, navigate to /Applications/Utilities and double-click Terminal to open a new Terminal window.

    • In Linux, press Ctrl+Alt+T to open a new terminal window.

  4. Type sudo ssh [email protected].

  5. Enter your computer password, and type yes.

  6. When you’re asked to type a password, press Enter or Return.

    By default, no password is set.

    The window should look like this:

    image1.jpg

When you connect your computer to your BeagleBone for the very first time, you’re prompted by a message warning you that you’re attempting to establish a connection with an unknown host. This message just means that your computer and the BeagleBone aren’t friends yet. Simply click OK to proceed.

About This Article

This article can be found in the category: