Raspberry Pi in Headless Operation

Slides:



Advertisements
Similar presentations
11 ©Copyright By D-Link HQ TSD James Chu Smart III Switch Smart Console Utility Ver 2.
Advertisements

Presented by W1BAW Bruce Wattendorf. What is a Raspberry PI A $35 computer with out a monitor, keyboard, mouse but they all can be added.
DSL-2730B, DSL-2740B, DSL-2750B.
CSCI 1411 FUNDAMENTALS OF COMPUTING LAB Lab Introduction 1 Shane Transue MSCS.
The Internet. Telnet Telnet means using your computer as a terminal. All commands you type are sent to the host computer you are connected to and executed.
Introduction to the Raspberry Pi ® Saman Amighi 10/2013 ® Raspberry Pi Foundation.
Overview Basic functions Features Installation: Windows host and Linux host.
6 February LAN-50/500 Ethernet Communication.
Cisco Confidential 1 © 2011 Cisco and/or its affiliates. All rights reserved.
Embedded Programming and Robotics Lesson 12 Introducing the Raspberry Pi Intro to Raspberry Pi1.
Remote Accessing Your Home Computer Using VNC and a Dynamic DNS Name.
Raspberry Pi Training Truman College Goals of our Training Today Unbox and boot up the Raspberry Pi (RPi) Learn how to access the desktop graphical.
One to One instructions Installing and configuring samba on Ubuntu Linux to enable Linux to share files and documents with Windows XP.
Eucalyptus Virtual Machines Running Maven, Tomcat, and Mysql.
Copyright© 2003 Avaya Inc. All rights reserved Upgrade to Communication Manager 2.0 with Migration to Linux 8.0 Purpose: This presentation was prepared.
Tutorial 11 Installing, Updating, and Configuring Software
Lab How to Use WANem Last Update Copyright 2011 Kenneth M. Chipps Ph.D. 1.
Objectives Define IP Address To be able to assign an IP address with its Subnet Mask and Default Gateway to a PC that operates using Windows 7 or Fedora.
System Administration and Basic Functionality Version 4.0 – September 2007 Q-Advisor Quick Start.
Lexmark Wireless Printer Adaptor Instructions Step 1. For a Mac, go to network preferences/ select built-in-ethernet and click on TCP/IP tab and annotate.
AN INTRO TO UNIX/LINUX COMMANDS BY: JIAYANG WANG.
Copyright (c) by CNAPTICS Corporation. All rights reserved.1 INFO Oracle Database 11g: Administration II Presented By: Marc S. Paller,
Booting Ubuntu Linux Live CSCI 130 – Fall 2008 Action Lab Dr. W. Jones.
Intel Do-It-Yourself Challenge Wi-Fi Nicolas Vailliet Intel Software
Click to edit Master subtitle style Mobile Test Suite Installation and configuration Paul Shepherd Senior Repair Technician Zebra Technologies Europe Limited.
PDA Program Install Manual IT Team. 1. Execute Internet Explorer 2. Connect Website 3. Download 4. Installation 5. Run 6. Setting 1. Execute.
Networking in Linux. ♦ Introduction A computer network is defined as a number of systems that are connected to each other and exchange information across.
Creating Programs on UNIX This term you can create programs on UNIX or you can create programs using a C++ compiler on your PC. This set of slides steps.
1 Getting Started with C++ Part 2 Linux. 2 Getting Started on Linux Now we will look at Linux. See how to copy files between Windows and Linux Compile.
Intro to Raspberry Pi A Southwest Florida Hackerspace Workshop Presented by: Russell Benzing & Eric Schiffli.
Agenda Overview of Seneca Computer System File Servers / Student Computer Accounts Telnet application How to Logon to Learn / Phobos accounts How to Change.
Chapter 2: Configure a Network Operating System
AN INTRO TO UNIX/LINUX COMMANDS BY: JIAYANG WANG.
CCNA1 v3 Module 1 v3 CCNA 1 Module 1 JEOPARDY K. Martin.
CS 120 Extra: The CS1 Server Tarik Booker CS 120.
Chapter 7: Using Network Clients The Complete Guide To Linux System Administration.
PuTTY Introduction to Web Programming Kirkwood Continuing Education by Fred McClurg © Copyright 2016, All Rights Reserved ssh client.
Installing iHRIS on VMWare
Holland Computing Center STAT802 Create and access Anvil Windows 10 SAS instance 01/23/2017.
RASPBERRY PI WORKSHOP.
Instructor Materials Chapter 2: Configure a Network Operating System
Running your own web server
Mini Robot Chassis Top View
IPv6 Hands-on pre-GDB IPv6 workshop 7th of June 2016 edoardo
BBBK – WiFi, Ad-hoc network and Wireless access point
Assignment Preliminaries
Introduction to Networking
Creating Programs on UNIX
Engineering Innovation Center
1. Press the Power button or switch to flip on the printer, if it is turn off. 2. From the Home display screen on the product control panel, click the.
Installing the HP LaserJet Pro 500 color MFP M570 printer software in Windows on a Wireless Network & Wired Network.
Windows Operating Systems (Cont.)
Intro to UNIX System and Homework 1
INSTALLING AND SETTING UP APACHE2 IN A LINUX ENVIRONMENT
Networking for Home and Small Businesses – Chapter 2
Hardware Appliance Installation and Configuration
CGS 3175: Internet Applications Fall 2009
Raspberry Pi – VNC Server Connection
Linux as a Virtual Machines
Working with Mac OS and Linux
Networking for Home and Small Businesses – Chapter 2
Dell Latitude Laptop Student setup.
Beginning Raspberry Pi
Linux File System Commands
1.3 Given a scenario, apply appropriate Microsoft command line tools
Copyright (c) 2017 by Dr. E. Horvath
See Next Slide Example 13 (continued)
Windows Operating System
How to install and manage exchange server 2010 OP Saklani.
Robot and Crickit HAT © Copyright 2019 by Dr. Elizabeth I. Horvath and Dr. Eva A. Horvath 1.
Presentation transcript:

Raspberry Pi in Headless Operation What is headless operation? The Raspberry Pi does not need to be connected to a keyboard, mouse, or monitor in order for you to run Python programs. It is possible to use ssh (Secure Shell) or VNC(Virtual Network Computing) to execute programs or preform remote administration. This presentation discusses the configuration of the Raspberry Pi for remote terminal access using ssh. Copyright (c) 2017 by Dr. E. Horvath

Change the default password on the Raspberry Pi You need to change your password for the pi account from the default password (raspberry) to a new password, otherwise unauthorized users can access your Raspberry Pi once you enable ssh. Menu -> Preferences -> Raspberry Pi Configuration Change Password Copyright (c) 2017 by Dr. E. Horvath

Enable ssh on the Raspberry Pi Menu -> Preferences -> Raspberry Pi Configuration Interfaces -> Enable SSH Reboot the Raspberry Pi Copyright (c) 2017 by Dr. E. Horvath

Determing the MAC Address Open the terminal and type the following: ifconfig You should see the configuration for wlan0. wlan0 Link encap:Ethernet HWaddr b8:27:eb:78:33:33 inet addr:192.168.10.150 Bcast:10.131.159.255 Mask:255.255.224.0 inet6 addr: fe80::ba27:ebff:fe67:f0eb/64 Write down the HWaddr, this is the hardware (MAC address) for your Raspberry Pi. b8:27:eb:78:33:33 is the address for the wireless NIC on this Raspberry Pi. Copyright (c) 2017 by Dr. E. Horvath

Configuring the IP Address Connect to your wireless access point. Click on the icon of two computers located in the upper right-hand corner of your computer monitor. You should also create a DHCP reservation on your wireless access point for your Raspberry Pi HWAddr (MAC address) so that you are always assigned the same IP address. You must review the documentation for your wireless access point to determine how you create a DHCP reservation. If your wireless access point does not have a web-based interface then note the IP address, which is discussed on the following slide. Copyright (c) 2017 by Dr. E. Horvath

Determing the IP Address Open the terminal and type the following: ifconfig You should see the configuration for wlan0. wlan0 Link encap:Ethernet HWaddr b8:27:eb:78:33:33 inet addr:192.168.10.150 Bcast:10.131.159.255 Mask:255.255.224.0 inet6 addr: fe80::ba27:ebff:fe67:f0eb/64 Write down the inet addr (IP address), this is the address assigned by DHCP to your Raspberry Pi. 192.168.10.150 is the address for the wireless NIC on this Raspberry Pi. Copyright (c) 2017 by Dr. E. Horvath

Specifying the default WiFi network Create a backup copy of the wpa_supplicant.conf file sudo cp /etc/wpa_supplicant/wpa_supplicant.conf /etc/wpa_supplicant/wpa_supplicant.conf.backup Copyright (c) 2017 by Dr. E. Horvath

Specifying the default WiFi network Edit the /etc/wpa_supplicant/wpa_supplicant.conf file. sudo nano /etc/wpa_supplicant/wpa_supplicant.conf #Initial file ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 network={ ssid="MYHOMENETWORK" key_mgmt=NONE } ssid="PAW" Copyright (c) 2017 by Dr. E. Horvath

Copyright (c) 2017 by Dr. E. Horvath Delete all of the networks except the one you with which you need to connect #Updated file ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 network={ ssid="MYHOMENETWORK" key_mgmt=NONE } Copyright (c) 2017 by Dr. E. Horvath

Save the updated wpa_supplicant.conf file. Press Ctrl+O (This saves the file) Hit the Enter key (Accept the filename) Press Ctrl+X (This exits the nano editor) Copyright (c) 2017 by Dr. E. Horvath

Copyright (c) 2017 by Dr. E. Horvath Headless Operation Shutdown your Raspberry Pi. Disconnect your Raspberry Pi from the keyboard, mouse, and monitor. Plug in your Raspberry Pi to your Power Pack. SSH (Secure Shell to the Raspberry Pi) Connecting from Windows - Download and install Putty from http://www.putty.org/. Input your inet addr (IP address) to connect. Connecting from Linux - Go to the Terminal and type ssh pi@192.168.10.150. You would input your IP address. Copyright (c) 2017 by Dr. E. Horvath

Copyright (c) 2017 by Dr. E. Horvath Running python files python3 SenseHatOne.py You may need to navigate to the correct subdirectory. Use cd directoryname to change the current directory Copyright (c) 2017 by Dr. E. Horvath

Safely Shutdown the Raspberry Pi Go to the Terminal sudo shutdown -h now Copyright (c) 2017 by Dr. E. Horvath