SSH to BeagleBone Black over USB



Similar documents
Adafruit's Raspberry Pi Lesson 5. Using a Console Cable

Adafruit's Raspberry Pi Lesson 5. Using a Console Cable

Adafruit's Raspberry Pi Lesson 6. Using SSH

Adafruit's Raspberry Pi Lesson 5. Using a Console Cable. Created by Simon Monk

CPSC 226 Lab Nine Fall 2015

Arduino Lesson 0. Getting Started

Additional Information: SSH, PuTTY, and VmWare

Arduino Lesson 1. Blink

Raspberry Pi Setup Tutorial

Adafruit's Raspberry Pi Lesson 7. Remote Control with VNC

DVS-100 Installation Guide

BeagleBone Black: Installing Operating Systems

Arduino Lesson 13. DC Motors. Created by Simon Monk

VCL Access. VCL provides access to Linux and Windows 7 Virtual Machines. Users will only see those images that they are authorized to access.

DVS-100 Installation Guide

Accessing vlabs using the VMware Horizon View Client for OSX

Junos Pulse VPN Client Installation

Accessing your Staff (N and O drive) files from off campus

CONNECTING TO DEPARTMENT OF COMPUTER SCIENCE SERVERS BOTH FROM ON AND OFF CAMPUS USING TUNNELING, PuTTY, AND VNC Client Utilities

SSH and Basic Commands

Arduino Lesson 14. Servo Motors

Connecting the DG-102S VoIP Gateway to your network

Adafruit's Raspberry Pi Lesson 1. Preparing an SD Card for your Raspberry Pi

The FlexiSchools Online Order Management System Installation Guide

Tutorial: Using HortonWorks Sandbox 2.3 on Amazon Web Services

Adafruit's Raspberry Pi Lesson 3. Network Setup

Comtrend 1 Port Router Installation Guide CT-5072T

Instructions for setting up the network connection in the studnet of Studentenwerk Leipzig

IDS and Penetration Testing Lab II

Comtrend 4 Port Router Installation Guide CT-5361T

APPLICATION NOTE. How to build pylon applications for ARM

Remote Desktop Services - Multimedia. 1. On a PC, open Internet Explorer and type in this URL:

In the following installation procedures, do not disconnect the Mediatrix 3000 Series while the LEDs are flashing.

Using the FDO Remote Access Portal

50-Port 10/100/1000Mbps with 4 Shared SFP. Managed Gigabit Switch WGSW Quick Installation Guide

How To Set Up Hopkins Wireless On Windows 7 On A Pc Or Mac Or Ipad (For A Laptop) On A Network Card (For Windows 7) On Your Computer Or Ipa (For Mac Or Mac) On An Ipa Or

Arduino Lesson 5. The Serial Monitor

OUTLOOK WEB ACCESS (OWA) AND SSL VPN HOME USERS MANUAL

Using Remote Desktop to access your Office Computer or Faculty Remote Desktop Server August, 2005 This document consists of two main parts and an

MiraCosta College now offers two ways to access your student virtual desktop.

Playing sounds and using buttons with Raspberry Pi

Self Help Guide IMPORTANT! Configuring Your Router With Your Modem. Please read the following carefully; This Guide refers to the following Products:

OUTLOOK WEB ACCESS (OWA) AND SSL VPN HOME USERS MANUAL

Installing an Omnicast System Omnicast version 3.5

How to setup EW-7438RPn with a Windows computer to extend an existing Wi-Fi network

QUICKSTART GUIDE FOR CDI CELLULAR STARTER KIT

AdRadionet to IBM Bluemix Connectivity Quickstart User Guide

ThinLinX TLXOS 64-bit Firmware Installation Guide for the Intel NUC Range. Materials Required

Chapter 1 Hardware and Software Introductions of pcduino

Warnings: This manual is intended to guide a technicians or customers who would like to repair DBL's

BarTender Print Portal. Web-based Software for Printing BarTender Documents WHITE PAPER

How To Connect A Raspberry Pi To The Internet On A Microsoft Moonstone 2 (Microsoft) Microsoft Powerbook 2 (Powerbook 2) (Powerboard 2) And Powerbook 3 (Powerstation 2)

Yun Shield User Manual VERSION: 1.0. Yun Shield User Manual 1 / 22.

Remote Access to Unix Machines

ESX System Analyzer Version 1.0 Installation Guide

This document is intended to make you familiar with the ServersCheck Monitoring Appliance

Chapter 1 Installing the Gateway

Quick Note 32. Using Digi RealPort with a Digi TransPort Router. UK Support September 2012

SecureLinx Spider Duo Quick Start Guide

RIU-IP Remote IP Interface User Guide

[HOW TO RECOVER AN INFINITI/EVOLUTION MODEM IDX ] 1

Quick Installation Guide

Transferring Scans from your Dolphin into Destiny

Massey University Wireless Network Client Configuration Mac OS X

The FlexiSchools Online Order Management (FOOM) Installation Guide

File Transfer Examples. Running commands on other computers and transferring files between computers

Arduino Lesson 9. Sensing Light

Industrial L2+ Managed Gigabit/ 10 Gigabit Ethernet Switch. IGS-5225 Series. Quick Installation Guide

Using Internet or Windows Explorer to Upload Your Site

NOC PS manual. Copyright Maxnet All rights reserved. Page 1/45 NOC-PS Manuel EN version 1.3

Securely manage data center and network equipment from anywhere in the world.

VMware Horizon FLEX User Guide

Mini Amazing Box Update for Windows XP with Microsoft Service Pack 2

Using Network Attached Storage with Linux. by Andy Pepperdine

Virtual machine W4M- Galaxy: Installation guide

Cable Connection Procedures for Cisco 1900 Series Routers

Introduction. Installation of SE S AM E BARCODE virtual machine distribution. (Windows / Mac / Linux)

Network Interface Failover using FONA

VPN Web Portal Usage Guide

Using the FDO Remote Access Portal

Sophos UTM. Remote Access via SSL Configuring Remote Client

Intel Do-It-Yourself Challenge Lab 2: Intel Galileo s Linux side Nicolas Vailliet

Arduino Lesson 17. Sending Movement Detector

Turn off all of your network devices, including your computer, Modem and the Router.

Set up and Blink - Simulink with Arduino

QUICK INSTALLATION. MSX-E1516 Ethernet digital I/O system /2014

Chapter 2 Installing ShareScope

Student Halls Network. Connection Guide

4. Rear View. Function Switches 1. Fixed IP 2. DHCP Floating IP 3. Auto IRIS (DC Driver LENS) 4. Fixed LENS (AES)

isupplygw Site Login Troubleshooting

Savvius Insight Initial Configuration

Installing an IBM Workplace/Portal Server on Linux

Uploading and Downloading Files to the HIS Server. Application Requirements

Smartphone Pentest Framework v0.1. User Guide

Turn off all of your network devices, including your computer, Modem and the Router.

7inch HDMI LCD (B) User Manual

Configuring Moxa Nport SMS PASSCODE 2014

«Disaster Recovery» A DOM Restore Guide for Thecus NAS

The care and feeding of Pythons at the Redmond Zoo. (Using Micro Python and pyboard with Windows)

Updating the BIOS and BMC on the FreeNAS Mini

Transcription:

SSH to BeagleBone Black over USB Created by Simon Monk Last updated on 2015-06-01 12:50:09 PM EDT

Guide Contents Guide Contents Overview You Will Need Preparation Installing Drivers (Windows) Installing Drivers (Mac) Installing Drivers (Linux) Browsing Your BeagleBone SSH with Windows and Putty SSH on Mac and Linux Next Steps 2 3 5 6 9 10 12 13 14 17 18 Adafruit Industries https://learn.adafruit.com/ssh-to-beaglebone-black-over-usb Page 2 of 18

Overview In this tutorial, you will learn how to control your BeagleBone Black using SSH with just the USB lead supplied. The BeagleBone Black is being pitched as an American (Raspberry) Pi. It has a similar feature set, including video output. However, where as the Pi is intended as a general purpose Linux machine, the BBB (as we shall call it here) is much better equipped for connecting to external electronics, with many more GPIO pins, analog inputs and fast booting into Ångström Linux. This lesson closely follows the Getting Started documentation on the BeagleBone web site. http://beagleboard.org/getting%20started (http://adafru.it/cbx) Adafruit Industries https://learn.adafruit.com/ssh-to-beaglebone-black-over-usb Page 3 of 18

Adafruit Industries https://learn.adafruit.com/ssh-to-beaglebone-black-over-usb Page 4 of 18

You Will Need To try this out, all you need is a BeagleBone Black and the USB lead that is supplied with it, in the box. http://www.adafruit.com/products/1278 (http://adafru.it/1278) Adafruit Industries https://learn.adafruit.com/ssh-to-beaglebone-black-over-usb Page 5 of 18

Preparation The BBB ships with a USB Lead. This fits into the Mini USB socket next to the RJ45 Ethernet connector. Adafruit Industries https://learn.adafruit.com/ssh-to-beaglebone-black-over-usb Page 6 of 18

Adafruit Industries https://learn.adafruit.com/ssh-to-beaglebone-black-over-usb Page 7 of 18

This lead can server the dual purpose of both supplying power to the BBB and allowing the BBB to emulate a USB modem. It is this trick that allows the BBB to be accessed as if it were networked, allowing you to communicate with it using a browser or SSH client on your computer. You can plug your board in now if you like. After a while, the blue LEDs should flicker and the LED nearest the edge of the board will flash in a heart beat pattern. Adafruit Industries https://learn.adafruit.com/ssh-to-beaglebone-black-over-usb Page 8 of 18

Installing Drivers (Windows) For the BBB to be able to do ad hoc networking with your computer, there is nothing to install on the BBB itself. Its all set up and ready to go. However, to be able to run this on a PC, you will need to install some drivers. On Windows 64 bit, install this: http://beagleboard.org/static/drivers/windows/bone_d64.exe (http://adafru.it/cby) Windows 32 bit, http://beagleboard.org/static/drivers/windows/bone_drv.exe (http://adafru.it/cbz) Windows will probably give lots of security warnings during installation. Adafruit Industries https://learn.adafruit.com/ssh-to-beaglebone-black-over-usb Page 9 of 18

Installing Drivers (Mac) For the BBB to be able to do ad hoc networking with your computer, there is nothing to install on the BBB itself. Its all set up and ready to go. However, to be able to run this on a Mac, you will need to install some drivers. There are two things to install when using a Mac, the network driver which is here: http://beagleboard.org/static/drivers/macosx/rndis/horndis.pkg (http://adafru.it/fi0) and the serial driver which is here: http://beagleboard.org/static/drivers/macosx/ftdi/ftdi_ser.dmg (http://adafru.it/cc1) Once the drivers are installed open Network from System Preferences and you should see your BBB showing up as a network connection. Adafruit Industries https://learn.adafruit.com/ssh-to-beaglebone-black-over-usb Page 10 of 18

Adafruit Industries https://learn.adafruit.com/ssh-to-beaglebone-black-over-usb Page 11 of 18

Installing Drivers (Linux) For the BBB to be able to do ad hoc networking with your computer, there is nothing to install on the BBB itself. Its all set up and ready to go. However, to be able to run this on a Linux computer, you will need to install the udev rules found here: http://beagleboard.org/static/drivers/linux/ftdi/mkudevrule.sh (http://adafru.it/cc2) This script will create a new file called 73-beaglebone.rules in /etc/udev/rules.d/you will probably need to run the script as superuser. Adafruit Industries https://learn.adafruit.com/ssh-to-beaglebone-black-over-usb Page 12 of 18

Browsing Your BeagleBone Before we connect using SSH, lets just test that the connection is active by trying to connect to the BBB with a browser. The BBB will have an IP address, so using Chrome or Firefox (not Internet Explorer) connect to the URL http://192.168.7.2 (http://adafru.it/cc3) You should see a helpful introductory web page served by the BeagleBoard itself. Adafruit Industries https://learn.adafruit.com/ssh-to-beaglebone-black-over-usb Page 13 of 18

SSH with Windows and Putty Now that we can connect to the BeagleBone, let s get a SSH session running. To do this, you will need to use a SSH client, which is no problem if you are a Linux or Max user as these are available from a Terminal window. If you are a Windows user, then you will need to download Putty from here: http://www.putty.org/ (http://adafru.it/aub). Having downloaded and installed Putty (its a single file called putty.exe), run the program. Enter the IP address 192.168.7.2 and click Connect. You will then get a security warning: Adafruit Industries https://learn.adafruit.com/ssh-to-beaglebone-black-over-usb Page 14 of 18

.. after which you will receive the login prompt. Log in with a username of root and no password (just hit return). Adafruit Industries https://learn.adafruit.com/ssh-to-beaglebone-black-over-usb Page 15 of 18

Adafruit Industries https://learn.adafruit.com/ssh-to-beaglebone-black-over-usb Page 16 of 18

SSH on Mac and Linux If you are using a Mac or Linux, then open a terminal window and type the following command: ssh 192.168.7.2 -l root The first time that you log in, you will receive an authenticity warning. Type yes, to continue with the SSH session. Adafruit Industries https://learn.adafruit.com/ssh-to-beaglebone-black-over-usb Page 17 of 18

Next Steps Now that you have command-line access to your BBB, you can browse the file system, install software, monitor processes etc, just as you would with the command line on any Linux computer. About the Author. As well as contributing lots of tutorials about Raspberry Pi, Arduino and now BeagleBone Black, Simon Monk writes books about open source hardware. You will find his books for sale here (http://adafru.it/cah) at Adafruit. Adafruit Industries Last Updated: 2015-06-01 12:50:09 PM EDT Page 18 of 18