Composite USB Gadgets on the Raspberry Pi Zero isticktoit.net 1 / :36. g_{hid,ether,serial,*}

Size: px
Start display at page:

Download "Composite USB Gadgets on the Raspberry Pi Zero isticktoit.net 1 / :36. g_{hid,ether,serial,*}"

Transcription

1 1 / :36 g_{hid,ether,serial,*}

2 2 / :36 $ sudo BRANCH=next rpi-update $ echo "dtoverlay=dwc2" sudo tee -a /boot/config.txt $ echo "dwc2" sudo tee -a /etc/modules libcomposite $ sudo echo "libcomposite" sudo tee -a /etc/modules /sys/

3 3 / :36 isticktoit_usb /usr/bin/ $ sudo touch /usr/bin/isticktoit_usb #create the file $ sudo chmod +x /usr/bin/isticktoit_usb #make it executable $ sudo nano /usr/bin/isticktoit_usb #edit the file rc.local /etc/rc.local $ sudo nano /etc/rc.local GNU nano File: /etc/rc.local... /usr/bin/isticktoit_usb # libcomposite configuration exit #!/bin/bash cd /sys/kernel/config/usb_gadget/ mkdir -p isticktoit cd isticktoit echo 0x1d6b > idvendor # Linux Foundation echo 0x0104 > idproduct # Multifunction Composite Gadget echo 0x0100 > bcddevice # v1.0.0 echo 0x0200 > bcdusb # USB2 mkdir -p strings/0x409 echo "fedcba " > strings/0x409/serialnumber echo "Tobias Girstmair" > strings/0x409/manufacturer echo "isticktoit.net USB Device" > strings/0x409/product mkdir -p configs/c.1/strings/0x409 echo "Config 1: ECM network" > configs/c.1/strings/0x409 /configuration echo 250 > configs/c.1/maxpower

4 4 / :36 # see gadget configurations below # End functions ls /sys/class/udc > UDC mkdir -p functions/acm.usb0 ln -s functions/acm.usb0 configs/c.1/ # End functions $ sudo systemctl enable getty@ttygs0.service install screen screen sudo apt-get $ sudo screen /dev/ttyacm $ dmesg grep "USB ACM device" $ sudo nano /usr/bin/isticktoit_usb

5 5 / :36 mkdir -p functions/ecm.usb0 # first byte of address must be even HOST="48:6f:73:74:50:43" # "HostPC" SELF="42:61:64:55:53:42" # "BadUSB" echo $HOST > functions/ecm.usb0/host_addr echo $SELF > functions/ecm.usb0/dev_addr ln -s functions/ecm.usb0 configs/c.1/ # End functions ls /sys/class/udc > UDC #put this at the very end of the file: ifconfig usb netmask up route add -net default gw $ dmesg grep cdc_ether [ ] cdc_ether 1-1:1.2 eth0: register 'cdc_ether' at usb-0000:00:14.0-1, CDC Ethernet Device, 48:6f:73:74:50:43 [ ] usbcore: registered new interface driver cdc_ether [ ] cdc_ether 1-1:1.2 enp0s20u1i2: renamed from eth0 $ sudo ifconfig enp0s20u1i netmask up $ ssh l pi $ sudo nano /usr/bin/isticktoit_usb

6 6 / :36 mkdir -p functions/hid.usb0 echo 1 > functions/hid.0/protocol echo 1 > functions/hid.0/subclass echo 8 > functions/hid.0/report_length echo -ne \\x05\\x01\\x09\\x06\\xa1\\x01\\x05\\x07\\x19\\xe0 \\x29\\xe7\\x15\\x00\\x25\\x01\\x75\\x01\\x95\\x08\\x81\\x02 \\x95\\x01\\x75\\x08\\x81\\x03\\x95\\x05\\x75\\x01\\x05\\x08 \\x19\\x01\\x29\\x05\\x91\\x02\\x95\\x01\\x75\\x03\\x91\\x03 \\x95\\x06\\x75\\x08\\x15\\x00\\x25\\x65\\x05\\x07\\x19\\x00 \\x29\\x65\\x81\\x00\\xc0 > functions/hid.0/report_desc ln -s functions/hid.usb0 configs/c.1/ # End functions $ sudo su # echo -ne "\0\0\x4\0\0\0\0\0" > /dev/hidg0 #press the A-button # echo -ne "\0\0\0\0\0\0\0\0" > /dev/hidg0 #release all keys $ cd PATH_TO_HARDPASS_REPO $ make #compile the program $ echo -n "hello world!" sudo./scan /dev/hidg0 1 2 count=1024

7 7 / :36 $ dd if=/dev/zero of=~/usbdisk.img bs=1024 count=1024 $ mkdosfs ~/usbdisk.img sudo nano /usr/bin/isticktoit_usb FILE=/home/pi/usbdisk.img mkdir -p ${FILE/img/d} # mount -o loop,ro,offset= t ext4 $FILE ${FILE/img/d} # FOR OLD WAY OF MAKING THE IMAGE mount -o loop,ro, -t vfat $FILE ${FILE/img/d} # FOR IMAGE CREATED WITH DD mkdir -p functions/mass_storage.usb0 echo 1 > functions/mass_storage.usb0/stall echo 0 > functions/mass_storage.usb0/lun.0/cdrom echo 0 > functions/mass_storage.usb0/lun.0/ro echo 0 > functions/mass_storage.usb0/lun.0/nofua echo $FILE > functions/mass_storage.usb0/lun.0/file ln -s functions/mass_storage.usb0 configs/c.1/ # End functions$

8 8 / :36 Article Revisions 1.000: Initial article 1.001: Added 'Hi, Hackaday' 1.010: Fixed configuration script ('') (thanks, Hans) 1.011: Fixed and simplified a few things (thanks, Tom) 1.100: Fixed the 'press A-button' example (missing `-ne`) (thanks, Jim)

Kernel USB Gadget Configfs Interface. Matt Porter Linaro

Kernel USB Gadget Configfs Interface. Matt Porter Linaro Kernel USB Gadget Configfs Interface Matt Porter Linaro Overview Prereqs: understand USB Linux USB Terminology Brief history of USB gadget subsystem Other filesystem-based gadget interfaces Using USB gadget

More information

USB System Design in Sitara Devices Using Linux. [Part 6]: Use USB in Device Mode Bin Liu (EP, Processors)

USB System Design in Sitara Devices Using Linux. [Part 6]: Use USB in Device Mode Bin Liu (EP, Processors) USB System Design in Sitara Devices Using Linux [Part 6]: Use USB in Device Mode Bin Liu (EP, Processors) Agenda Define USB Use Case Design USB Hardware Configure USB in Kernel Verify USB in sysfs Use

More information

More Raspian. An editor Configuration files Shell scripts Shell variables System admin

More Raspian. An editor Configuration files Shell scripts Shell variables System admin More Raspian An editor Configuration files Shell scripts Shell variables System admin Nano, a simple editor Nano does not require the mouse. You must use your keyboard to move around the file and make

More information

Assume that username is cse. The user s home directory will be /home/cse. You may remember what the relative pathname for users home directory is: ~

Assume that username is cse. The user s home directory will be /home/cse. You may remember what the relative pathname for users home directory is: ~ Introduction to Open Source Software Development Spring semester, 2017 School of Computer Science and Engineering, Pusan National University Joon-Seok Kim LINUX: COMMANDS Review Lab #1 2 Create Directories

More information

This tutorial will guide you how to setup and run your own minecraft server on a Linux CentOS 6 in no time.

This tutorial will guide you how to setup and run your own minecraft server on a Linux CentOS 6 in no time. This tutorial will guide you how to setup and run your own minecraft server on a Linux CentOS 6 in no time. Running your own server lets you play together with your friends and family with your own set

More information

INd_rasN SOME SHELL SCRIPTING PROGRAMS. 1. Write a shell script to check whether the name passed as first argument is the name of a file or directory.

INd_rasN SOME SHELL SCRIPTING PROGRAMS. 1. Write a shell script to check whether the name passed as first argument is the name of a file or directory. 1. Write a shell script to check whether the name passed as rst argument is the name of a le or directory. Ans: #!/bin/bash if [ -f $1 ] echo "$1 is a le" echo "$1 is not a le" 2. Write a shell script

More information

I think this is messy. I don't do it that way, but to keep things dead simple, the default way is presented here.

I think this is messy. I don't do it that way, but to keep things dead simple, the default way is presented here. ################################################################### ##### Raspberry Pi3, 8-16Gb card, Rasbian-Stretch-lite ###### ################################################################### N8AVX

More information

PiCloud. Building owncloud on a Raspberry PI

PiCloud. Building owncloud on a Raspberry PI PiCloud Building owncloud on a Raspberry PI PiCloud - Building owncloud on a Raspberry PI by Sebastian Büttrich is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International

More information

GNU/Linux 101. Casey McLaughlin. Research Computing Center Spring Workshop Series 2018

GNU/Linux 101. Casey McLaughlin. Research Computing Center Spring Workshop Series 2018 GNU/Linux 101 Casey McLaughlin Research Computing Center Spring Workshop Series 2018 rccworkshop IC;3df4mu bash-2.1~# man workshop Linux101 RCC Workshop L101 OBJECTIVES - Operating system concepts - Linux

More information

Development Environment Embedded Linux Primer Ch 1&2

Development Environment Embedded Linux Primer Ch 1&2 Development Environment Embedded Linux Primer Ch 1&2 Topics 1) Systems: Host and Target 2) Host setup 3) Host-Target communication CMPT 433 Slides #3 Dr. B. Fraser 18-05-05 2 18-05-05 1 Host & Target Host

More information

Linux Essentials Objectives Topics:

Linux Essentials Objectives Topics: Linux Essentials Linux Essentials is a professional development certificate program that covers basic knowledge for those working and studying Open Source and various distributions of Linux. Exam Objectives

More information

The Broadband Ham Net community has had a need for a stand alone time server for their meshes. This document will attempt to fill in this need.

The Broadband Ham Net community has had a need for a stand alone time server for their meshes. This document will attempt to fill in this need. Introduction: The Broadband Ham Net community has had a need for a stand alone time server for their meshes. This document will attempt to fill in this need. Some caveats to consider before embark on a

More information

Embedded Linux. A Tour inside ARM's Kernel

Embedded Linux. A Tour inside ARM's Kernel Embedded Linux A Tour inside ARM's Kernel Contents 1. Shell basics 2. Introduction to Embedded Linux 3. Kernel Programming for Module / Driver Installation 4. Module / Device Driver in RPi 5. Cross Compiling

More information

Linux Systems Administration Getting Started with Linux

Linux Systems Administration Getting Started with Linux Linux Systems Administration Getting Started with Linux Network Startup Resource Center www.nsrc.org These materials are licensed under the Creative Commons Attribution-NonCommercial 4.0 International

More information

Interfacing with Raspberry Pi 3 Model B Updated: 9/19/17

Interfacing with Raspberry Pi 3 Model B Updated: 9/19/17 Interfacing with Raspberry Pi 3 Model B Updated: 9/19/17 A. Objectives 1. Learn about basics of Python programming 2. Learn how to use Python and Shell scripts to control GPIO ports on the Pi B. Time of

More information

The TinyHPC Cluster. Mukarram Ahmad. Abstract

The TinyHPC Cluster. Mukarram Ahmad. Abstract The TinyHPC Cluster Mukarram Ahmad Abstract TinyHPC is a beowulf class high performance computing cluster with a minor physical footprint yet significant computational capacity. The system is of the shared

More information

Davide Cavaliere 18 th February 2017

Davide Cavaliere  18 th February 2017 Davide Cavaliere www.monocilindro.com dadez87@gmail.com 18 th February 2017 This guide explains how to set in read mode your Raspberry Pi 3, running the latest Raspbian Jessie (January 2017). This feature

More information

Let us ping! First we will learn the Hello World of a networked machine.

Let us ping! First we will learn the Hello World of a networked machine. AN INTRODUCTION TO LINUX NETWORKING In this article, we ll explore networking under GNU/Linux. You ll find it interesting to manage the entire network through certain valid keystrokes known as commands.

More information

Enabling CDC-ETHER Connection for Skywire CAT1

Enabling CDC-ETHER Connection for Skywire CAT1 Enabling CDC-ETHER Connection for Skywire CAT1 NimbeLink Corp Updated: May 2017 PN 30111 rev 5 NimbeLink Corp. 2017. All rights reserved. 1 Table of Contents Table of Contents 2 1. Introduction 2 1.1 Orderable

More information

Providing Traditional Computational Facility through TV SetTop Box (PROTRACTS)

Providing Traditional Computational Facility through TV SetTop Box (PROTRACTS) Providing Traditional Computational Facility through TV SetTop Box (PROTRACTS) Mr. PydalaBhasha #1, Mr.K. Muni Chandra Sekhar #2 1 Assistant Professor, Department of I.T, Sree Vidyanikethan Engineering

More information

Quick Start Guide for BeagleBone. Table of Contents. by Brian Fraser Last update: Sept 24, 2017

Quick Start Guide for BeagleBone. Table of Contents. by Brian Fraser Last update: Sept 24, 2017 Quick Start Guide for BeagleBone by Brian Fraser Last update: Sept 24, 2017 This document guides the user through: 1. Installing Ubuntu in a virtual machine. 2. Connecting to the target using serial port

More information

Configuring Linux pppd for a Skywire Global LTE CAT-M1 NL-SW-LTE-QBG96

Configuring Linux pppd for a Skywire Global LTE CAT-M1 NL-SW-LTE-QBG96 Configuring Linux pppd for a Skywire Global LTE CAT-M1 NL-SW-LTE-QBG96 NimbeLink Corp Updated: July 2018 PN 1001753 rev 2 NimbeLink Corp All Rights Reserved 1 Table of Contents Table of Contents 2 1. Introduction

More information

Kernel Graphics Development on Remote Machines , Joonas Lahtinen Intel Corporation

Kernel Graphics Development on Remote Machines , Joonas Lahtinen Intel Corporation Kernel Graphics Development on Remote Machines 2018-02-03, Joonas Lahtinen Intel Corporation 1 About the author Joonas Lahtinen IRC: dolphin@freenode (Registered : Aug

More information

Raspberry Pi Class Ed 299. Mike Davis Truman College 5/26/2015

Raspberry Pi Class Ed 299. Mike Davis Truman College 5/26/2015 Raspberry Pi Class Ed 299 Mike Davis Truman College 5/26/2015 Goals for Today Discuss Raspberry Camera Projects Fruit Rotting Air Powered Car Photo booth Use a Python Program to control the camera Copy,

More information

LING 408/508: Computational Techniques for Linguists. Lecture 5

LING 408/508: Computational Techniques for Linguists. Lecture 5 LING 408/508: Computational Techniques for Linguists Lecture 5 Last Time Installing Ubuntu 18.04 LTS on top of VirtualBox Your Homework 2: did everyone succeed? Ubuntu VirtualBox Host OS: MacOS or Windows

More information

Overview LEARN. History of Linux Linux Architecture Linux File System Linux Access Linux Commands File Permission Editors Conclusion and Questions

Overview LEARN. History of Linux Linux Architecture Linux File System Linux Access Linux Commands File Permission Editors Conclusion and Questions Lanka Education and Research Network Linux Architecture, Linux File System, Linux Basic Commands 28 th November 2016 Dilum Samarasinhe () Overview History of Linux Linux Architecture Linux File System

More information

How to install Microsoft Windows XP SP3 on Debian GNU / Linux Squeeze

How to install Microsoft Windows XP SP3 on Debian GNU / Linux Squeeze How to install Microsoft Windows XP SP3 on Debian GNU / Linux Squeeze Author : admin I have never did a proper install of Windows XP on Debian before hand. Even though I experimented once long time ago.

More information

Lab Working with Linux Command Line

Lab Working with Linux Command Line Introduction In this lab, you will use the Linux command line to manage files and folders and perform some basic administrative tasks. Recommended Equipment A computer with a Linux OS, either installed

More information

Contents. Note: pay attention to where you are. Note: Plaintext version. Note: pay attention to where you are... 1 Note: Plaintext version...

Contents. Note: pay attention to where you are. Note: Plaintext version. Note: pay attention to where you are... 1 Note: Plaintext version... Contents Note: pay attention to where you are........................................... 1 Note: Plaintext version................................................... 1 Hello World of the Bash shell 2 Accessing

More information

Adafruit's Raspberry Pi Lesson 6. Using SSH

Adafruit's Raspberry Pi Lesson 6. Using SSH Adafruit's Raspberry Pi Lesson 6. Using SSH Created by Simon Monk Last updated on 2017-08-16 01:12:07 AM UTC Guide Contents Guide Contents Overview Enabling SSH Using a blank boot file Using Raspi-Config

More information

dnsmasq configuration

dnsmasq configuration Aim: Raspberry Pi searches for known router's (SSID) If the router is not found then it creates a hotspot so tablets, phones and computers can connect to the Raspberry Pi's WiFi hotspot, which is not routed

More information

1. $ who 2. $ date 3. $ echo $? 4. $ echo $$ 5. $ ps 6. $ echo $PATH 7. $ echo $HOME 8. $ echo \thola 9. $ echo "\thola" 10. $ echo e "\thola" 11.

1. $ who 2. $ date 3. $ echo $? 4. $ echo $$ 5. $ ps 6. $ echo $PATH 7. $ echo $HOME 8. $ echo \thola 9. $ echo \thola 10. $ echo e \thola 11. 1. $ who 2. $ date 3. $ echo $? 4. $ echo $$ 5. $ ps 6. $ echo $PATH 7. $ echo $HOME 8. $ echo \thola 9. $ echo "\thola" 10. $ echo e "\thola" 11. $ cal 2015 12. $ uname a 13. $ script $(date +%F) script

More information

USB 3.0 Dual Port Gigabit. Ethernet Cable

USB 3.0 Dual Port Gigabit. Ethernet Cable USB 3.0 Dual Port Gigabit Ethernet Cable User Manual Ver. 1.00 All brand names and trademarks are properties of their respective owners. Contents: Chapter 1: Introduction... 3 1.1 Product Introduction...

More information

RearPi Documentation. Download Google Play. Donate

RearPi Documentation. Download Google Play. Donate RearPi Documentation Download Google Play Donate 1 Table of Contents Hardware...3 Configuration...6 WiFi Hot-spot...6 Automate WiFi Hot-spot ON/OFF in car (optional)...6 Raspberry Pi Model B...10 Installation

More information

User-friendly Cross-platform Industry 4.0 Web Viewer Smartphone-App Free Hotline

User-friendly Cross-platform Industry 4.0 Web Viewer Smartphone-App Free Hotline Documentation Dragonfly QuickHMI with Raspberry Pi Version 6.0 User-friendly Cross-platform Industry 4.0 Web Viewer Smartphone-App Free Hotline Indi.Systems GmbH Universitätsallee 23 D-28359 Bremen Tel.

More information

Itron Riva Dev Software Development Getting Started Guide

Itron Riva Dev Software Development Getting Started Guide Itron Riva Dev Software Development Getting Started Guide Table of Contents Introduction... 2 Busybox Command-line [Edge and Mini]... 2 BASH Scripts [Edge and Mini]... 3 C Programs [Edge and Mini]... 5

More information

Recap From Last Time:

Recap From Last Time: Recap From Last Time: BGGN 213 Working with UNIX Barry Grant http://thegrantlab.org/bggn213 Motivation: Why we use UNIX for bioinformatics. Modularity, Programmability, Infrastructure, Reliability and

More information

= Session-(1.4) Preparing the Workstation for the Lab / OS Installation = Session-(1.4) Preparing the Workstation for the Lab / OS Installation

= Session-(1.4) Preparing the Workstation for the Lab / OS Installation = Session-(1.4) Preparing the Workstation for the Lab / OS Installation = Session-(1.4) Preparing the Workstation for the Lab / OS Installation = Session-(1.4) Preparing the Workstation for the Lab / OS Installation (1.4.1) Hardware Recommendation. (1.4.2) Operating System

More information

BGGN 213 Working with UNIX Barry Grant

BGGN 213 Working with UNIX Barry Grant BGGN 213 Working with UNIX Barry Grant http://thegrantlab.org/bggn213 Recap From Last Time: Motivation: Why we use UNIX for bioinformatics. Modularity, Programmability, Infrastructure, Reliability and

More information

RNG-406Uv2. USB 3.0 to Gigabit Ethernet Cable

RNG-406Uv2. USB 3.0 to Gigabit Ethernet Cable RNG-406Uv2 USB 3.0 to Gigabit Ethernet Cable Contents: Chapter 1: Introduction... 3 1.1 Product Introduction... 3 1.2 Features... 3 1.3 System Requirements... 4 1.4 Package Contents... 4 Chapter 2: Getting

More information

Configuring Linux pppd for a Skywire 4G LTE CAT3 Verizon

Configuring Linux pppd for a Skywire 4G LTE CAT3 Verizon Configuring Linux pppd for a Skywire 4G LTE CAT3 Verizon NimbeLink Corp Updated: September 2017 PN 30058 rev 5 NimbeLink Corp All Rights Reserved 1 Table of Contents Table of Contents 2 1. Introduction

More information

3 Connection, Shell Serial Connection over Console Port SSH Connection Internet Connection... 5

3 Connection, Shell Serial Connection over Console Port SSH Connection Internet Connection... 5 Contents 1 Description 2 2 Supported Devices 3 3 Connection, Shell 4 3.1 Serial Connection over Console Port...................... 4 3.2 SSH Connection................................. 4 3.3 Internet Connection...............................

More information

Install and Configure Ubuntu on a VirtualBox Virtual Machine

Install and Configure Ubuntu on a VirtualBox Virtual Machine Install and Configure Ubuntu on a VirtualBox Virtual Machine Ronald Mak Department of Computer Engineering Department of Computer Science January 11, 2019 Introduction Because the class will use Linux

More information

#Uncomment the second line to enable any form of FTP write command. #write_enable=yes

#Uncomment the second line to enable any form of FTP write command. #write_enable=yes Installing and configuring Apache 2 in Linux Please note that dashes (-) are used to indicate what you should type, they should not be included in the command. Install Linux on an old desktop, dual core

More information

If you had a freshly generated image from an LCI instructor, make sure to set the hostnames again:

If you had a freshly generated image from an LCI instructor, make sure to set the hostnames again: Storage Node Setup A storage node (or system as your scale) is a very important unit for an HPC cluster. The computation is often about the data it produces and keeping that data safe is important. Safe

More information

You will need to know the IP address or the hostname of the pi (as discussed above) to continue and login to your pi via putty over Ethernet.

You will need to know the IP address or the hostname of the pi (as discussed above) to continue and login to your pi via putty over Ethernet. MEGR3092 Advanced Motorsports Instrumentation. Raspberry pi project. V0.38 10/4/16 Logger build guide: You will likely find this easier with a HDMI cord and a usb keyboard. If those are not available,

More information

HOW-TO-GUIDE: demonstrating Fabric Attach using OpenVSwitch

HOW-TO-GUIDE: demonstrating Fabric Attach using OpenVSwitch HOW-TO-GUIDE: demonstrating Fabric Attach using OpenVSwitch 1 Target audience System Engineers interested to understand the Fabric Attach (FA) technology and/or for demo proposes. Why does it make sense

More information

Introduction: What is Unix?

Introduction: What is Unix? Introduction Introduction: What is Unix? An operating system Developed at AT&T Bell Labs in the 1960 s Command Line Interpreter GUIs (Window systems) are now available Introduction: Unix vs. Linux Unix

More information

Using RANCID. Contents. 1 Introduction Goals Notes Install rancid Add alias Configure rancid...

Using RANCID. Contents. 1 Introduction Goals Notes Install rancid Add alias Configure rancid... Using RANCID Contents 1 Introduction 2 1.1 Goals................................. 2 1.2 Notes................................. 2 2 Install rancid 2 2.1 Add alias............................... 3 2.2 Configure

More information

Introduction to Linux. Woo-Yeong Jeong Computer Systems Laboratory Sungkyunkwan University

Introduction to Linux. Woo-Yeong Jeong Computer Systems Laboratory Sungkyunkwan University Introduction to Linux Woo-Yeong Jeong (wooyeong@csl.skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu What is Linux? A Unix-like operating system of a computer What is an

More information

Introduction to the shell Part II

Introduction to the shell Part II Introduction to the shell Part II Graham Markall http://www.doc.ic.ac.uk/~grm08 grm08@doc.ic.ac.uk Civil Engineering Tech Talks 16 th November, 1pm Last week Covered applications and Windows compatibility

More information

Introduction to Linux

Introduction to Linux Introduction to Linux Prof. Jin-Soo Kim( jinsookim@skku.edu) TA - Kisik Jeong (kisik@csl.skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu What is Linux? A Unix-like operating

More information

RTNET for the SPB and LiRE. Patrick Hohmann

RTNET for the SPB and LiRE. Patrick Hohmann RTNET for the SPB and LiRE Patrick Hohmann www.l3s.de/spb 1 MoRob Modular Educational Robotic Toolbox A project to develop a framework for teaching/research with Robotics Project Partners: L3S Hannover

More information

Exercise 1: Basic Tools

Exercise 1: Basic Tools Exercise 1: Basic Tools This exercise is created so everybody can learn the basic tools we will use during this course. It is really more like a tutorial than an exercise and, you are not required to submit

More information

My guide for setting up a raspberry pi zero w as a wifi rerouter and access point

My guide for setting up a raspberry pi zero w as a wifi rerouter and access point My guide for setting up a raspberry pi zero w as a wifi rerouter and access point references: 1: http://www.0xf8.org/2016/02/using-your-raspberry-pi-zeros-usb-wifi-adapter-as-both-wificlient-and-access-point/

More information

Install and Configure wxwidgets on Ubuntu

Install and Configure wxwidgets on Ubuntu Install and Configure wxwidgets on Ubuntu Ronald Mak Department of Computer Engineering Department of Computer Science January 12, 2019 Introduction wxwidgets is a C++ library that allows you to develop

More information

Creating a low end server for SOHO.

Creating a low end server for SOHO. Introduction Creating a low end server for SOHO. Small office and home (SOHO) servers have low demand for computer resources and bandwidth. With a small factor (small sized) computer a secure solution

More information

Defensie Exercises preparing for the exam.

Defensie Exercises preparing for the exam. Defensie Exercises preparing for the exam. 1. Stuur de inhoud van het bestand /etc/passwd naar het bestand /tmp/gebruikers en zorg dat het bestand /tmp/gebruikers gesorteerd is in omgekeerde volgorde 2.

More information

Raspberry Pi (RPi) Setup Documentation Instrumentation Development Lab Department of Physics and Astronomy University of Hawaii at Manoa

Raspberry Pi (RPi) Setup Documentation Instrumentation Development Lab Department of Physics and Astronomy University of Hawaii at Manoa Raspberry Pi (RPi) Setup Documentation Instrumentation Development Lab Department of Physics and Astronomy University of Hawaii at Manoa AUTHOR: Bronson Edralin DATE: 9/11/14 1 Table of Contents 1. INTRODUCTION

More information

USB Type-C Dual Port Gigabit. Ethernet Cable

USB Type-C Dual Port Gigabit. Ethernet Cable USB Type-C Dual Port Gigabit Ethernet Cable User Manual Ver. 1.00 All brand names and trademarks are properties of their respective owners. Contents: Chapter 1: Introduction... 3 1.1 Product Introduction...

More information

Understand USB (in Linux)

Understand USB (in Linux) Understand USB (in Linux) Krzysztof Opasiak Samsung R&D Institute Poland 1 Agenda What USB is about? Plug and Play How BadUSB works? May I have my own USB device? Q & A What USB is about? What Internet

More information

Spring 2017 Gabriel Kuri

Spring 2017 Gabriel Kuri Lab 2 ECE 431L Spring 2017 Gabriel Kuri This lab is made up of two parts. Part 1 will consist of familiarizing yourself with the Raspberry Pi (RPi). It includes running Unix/Linux commands to become somewhat

More information

IoT with Intel Galileo Gerardo Carmona. makerobots.tk

IoT with Intel Galileo Gerardo Carmona. makerobots.tk IoT with Intel Galileo Gerardo Carmona Outline What is Intel Galileo? Hello world! In Arduino Arduino and Linux Linux via SSH Playing around in Linux Programming flexibility How GPIOs works Challenge 1:

More information

Installation of the OS

Installation of the OS Lab 1 Installation of the OS 1.1 Objectives The goal of this first session is to install a Debian/Linux operating system from scratch on a Intel x86- based computer. The installation will be made on a

More information

D, E I, J, K. Generalized Regular Expression Parser (GREP), 110 Generic 105 key (Intl) PC, 29 git command, 242

D, E I, J, K. Generalized Regular Expression Parser (GREP), 110 Generic 105 key (Intl) PC, 29 git command, 242 Index A Advanced Linux Sound Architecture (ALSA) device, 214 Airplay amixer command, 252 boot, 255 build script, 254 Build.PL script, 254 central controlling system, 251 lsmod command, 252 make command,

More information

Introduction to remote command line Linux. Research Computing Team University of Birmingham

Introduction to remote command line Linux. Research Computing Team University of Birmingham Introduction to remote command line Linux Research Computing Team University of Birmingham Linux/UNIX/BSD/OSX/what? v All different v UNIX is the oldest, mostly now commercial only in large environments

More information

SAMA5D3x-CM Instruction to program images with PEEDI

SAMA5D3x-CM Instruction to program images with PEEDI SAMA5D3x-CM Instruction to program images with PEEDI 1) To begin programing with PEEDI you need to prepare some cables and install a terminal emulation software 1.1 First ensure that you have installed

More information

Linux PPPd for LTE CAT M1 Verizon Skywire on Raspberry Pi 3

Linux PPPd for LTE CAT M1 Verizon Skywire on Raspberry Pi 3 Linux PPPd for LTE CAT M1 Verizon Skywire on Raspberry Pi 3 NimbeLink Corp Updated: June 2018 PN 30273 rev 4 NimbeLink Corp All Rights Reserved 1 Table of Contents Table of Contents 2 Introduction 3 Orderable

More information

USER MANUAL: 4G. The PiIoT is a WAN communications board which provides a 2G / 3G / 4G

USER MANUAL: 4G. The PiIoT is a WAN communications board which provides a 2G / 3G / 4G USER MANUAL: 4G The PiIoT is a WAN communications board which provides a 2G / 3G / 4G wireless interface for the Raspberry Pi 2 and 3. Conforming to the HAT specification, the PiIoT also provides location

More information

USB Type-C Gigabit Ethernet. Adapter

USB Type-C Gigabit Ethernet. Adapter USB Type-C Gigabit Ethernet Adapter User Manual Ver. 1.00 All brand names and trademarks are properties of their respective owners. Contents: Chapter 1: Introduction... 3 1.1 Product Introduction... 3

More information

Assignment 1: Build Environment

Assignment 1: Build Environment Read the entire assignment before beginning! Submit deliverables to CourSys: https://courses.cs.sfu.ca/ Late penalty is 10% per calendar day (each 0 to 24 hour period past due, max 2 days). This assignment

More information

This guide assumes that you are setting up a masternode for the first time. You will need:

This guide assumes that you are setting up a masternode for the first time. You will need: KRT MN Guide Setting up a masternode requires a basic understanding of Linux and blockchain technology, as well as the ability to follow instructions closely. It also requires regular maintenance and careful

More information

Git & Github Fundamental by Rajesh Kumar.

Git & Github Fundamental by Rajesh Kumar. Git & Github Fundamental by Rajesh Kumar About me Rajesh Kumar DevOps Architect @RajeshKumarIN www.rajeshkumar.xyz www.scmgalaxy.com 2 What is git Manage your source code versions Who should use Git Anyone

More information

Adding a Real Time Clock to Raspberry Pi

Adding a Real Time Clock to Raspberry Pi Adding a Real Time Clock to Raspberry Pi Created by lady ada Last updated on 2016-11-03 01:44:48 AM UTC Guide Contents Guide Contents Overview Wiring the RTC Adafruit DS1307 Real Time Clock Assembled Breakout

More information

Link Gateway ISO Installation Manual

Link Gateway ISO Installation Manual Link Gateway ISO Installation Manual Copyright 2016 NetLinkz. All Rights Reserved. No part of this publication may be reproduced, transmitted, transcribed, stored in a retrieval system, or translated into

More information

CENG 334 Computer Networks. Laboratory I Linux Tutorial

CENG 334 Computer Networks. Laboratory I Linux Tutorial CENG 334 Computer Networks Laboratory I Linux Tutorial Contents 1. Logging In and Starting Session 2. Using Commands 1. Basic Commands 2. Working With Files and Directories 3. Permission Bits 3. Introduction

More information

Introduction to Linux

Introduction to Linux Introduction to Linux Prof. Jin-Soo Kim( jinsookim@skku.edu) TA - Dong-Yun Lee (dylee@csl.skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu What is Linux? A Unix-like operating

More information

Embedded System Design

Embedded System Design Embedded System Design Lecture 10 Jaeyong Chung Systems-on-Chips (SoC) Laboratory Incheon National University Environment Variables Environment variables are a set of dynamic named values that can affect

More information

Cross-compilation with Buildroot

Cross-compilation with Buildroot Instituto Superior de Engenharia do Porto Mestrado em Engenharia Eletrotécnica e de Computadores Arquitetura de Computadores Cross-compilation with Buildroot Introduction Buildroot is a tool that can be

More information

Automatic Creation of a Virtual Network with VBoxManage [1]

Automatic Creation of a Virtual Network with VBoxManage [1] Automatic Creation of a Virtual Network with V... 1 Automatic Creation of a Virtual Network with VBoxManage [1] Submitted by Steve [2] on Wed, 18/09/2013-5:46pm I am using VirtualBox to create multiple

More information

ECE 471 Embedded Systems Lecture 10

ECE 471 Embedded Systems Lecture 10 ECE 471 Embedded Systems Lecture 10 Vince Weaver http://www.eece.maine.edu/ vweaver vincent.weaver@maine.edu 3 October 2013 Announcements Homework #2 has been assigned. extended until the 10th. The due

More information

Linux Kung Fu. Ross Ventresca UBNetDef, Fall 2017

Linux Kung Fu. Ross Ventresca UBNetDef, Fall 2017 Linux Kung Fu Ross Ventresca UBNetDef, Fall 2017 GOTO: https://apps.ubnetdef.org/ What is Linux? Linux generally refers to a group of Unix-like free and open source operating system distributions built

More information

Setting up a Chaincoin Masternode

Setting up a Chaincoin Masternode Setting up a Chaincoin Masternode Introduction So you want to set up your own Chaincoin Masternode? You ve come to the right place! These instructions are correct as of April, 2017, and relate to version

More information

Introduction To. Barry Grant

Introduction To. Barry Grant Introduction To Barry Grant bjgrant@umich.edu http://thegrantlab.org Working with Unix How do we actually use Unix? Inspecting text files less - visualize a text file: use arrow keys page down/page up

More information

Unix/Linux Basics. Cpt S 223, Fall 2007 Copyright: Washington State University

Unix/Linux Basics. Cpt S 223, Fall 2007 Copyright: Washington State University Unix/Linux Basics 1 Some basics to remember Everything is case sensitive Eg., you can have two different files of the same name but different case in the same folder Console-driven (same as terminal )

More information

Precursor Steps & Storage Node

Precursor Steps & Storage Node Precursor Steps & Storage Node In a basic HPC cluster, the head node is the orchestration unit and possibly the login portal for your end users. It s one of the most essential pieces to get working appropriately.

More information

MacGyver IT: w/raspberry Pi 3 Kevin Capwell META Pat Zielke Viroqua

MacGyver IT: w/raspberry Pi 3 Kevin Capwell META Pat Zielke Viroqua Kevin Capwell META Pat Zielke Viroqua DISCLAIMER: The open-source software discussed is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of

More information

USER MANUAL: Raspberry Pi 2

USER MANUAL: Raspberry Pi 2 USER MANUAL: Raspberry Pi 2 The PiIoT is a WAN communications board which provides an HSPA wireless interface for the Raspberry Pi 2 and 3. Conforming to the HAT specification, the PiIoT also provides

More information

Raspberry Pi Tutorial Connect to WiFi or Create An Encrypted DHCP... Network as Fallback. Lasse Christiansen Development. 1 of 11 3/9/2013 9:04 AM

Raspberry Pi Tutorial Connect to WiFi or Create An Encrypted DHCP... Network as Fallback. Lasse Christiansen Development. 1 of 11 3/9/2013 9:04 AM of 3/9/03 9:04 AM Lasse Christiansen Development lcdev.dk Home About Me Subscribe to RSS November 8, 0 by Lasse Christiansen in Linux, RPi Comments ( 8 ) Raspberry Pi Tutorial Connect to WiFi or Create

More information

Basic Linux Command Line Interface Guide

Basic Linux Command Line Interface Guide This basic Linux Command-Line Interface (CLI) Guide provides a general explanation of commonly used Bash shell commands for the Barracuda NG Firewall. You can access the command-line interface by connecting

More information

CSCM98 Lab Class #5 Getting familiar with the command line

CSCM98 Lab Class #5 Getting familiar with the command line CSCM98 Lab Class #5 Getting familiar with the command line Lab Class Description. Unix has some powerful commands that can be combined inside shell scripts. Today we will have a look at various commands

More information

Connect the GSM-DSA to a router where the network is configured to x with a mask

Connect the GSM-DSA to a router where the network is configured to x with a mask GSM-DSA Application note Summary Preparing the raspberry pi environment In order to make the most out of your GSM-DSA, it is best to make sure that the operation system is up to date. To do this we need

More information

Docker task in HPC Pack

Docker task in HPC Pack Docker task in HPC Pack We introduced docker task in HPC Pack 2016 Update1. To use this feature, set the environment variable CCP_DOCKER_IMAGE of a task so that it could be run in a docker container on

More information

IBM AIX Basic Operations V5.

IBM AIX Basic Operations V5. IBM 000-190 AIX Basic Operations V5 http://killexams.com/exam-detail/000-190 QUESTION: 122 Which of the following options describes the rm -i command? A. It removes and reports the file names it removes.

More information

Configure router. 26. Start AirPort Utility (located in the Utilities folder). The AirPort Utility window show a component diagram:

Configure router. 26. Start AirPort Utility (located in the Utilities folder). The AirPort Utility window show a component diagram: Configure router The Raspberry Pi 3 (RPi) should be assigned a fixed IP address in the router. After installing osmc for the first time, you should configure the router. 26. Start AirPort Utility (located

More information

Raspberry Pi NTP Clock Setup Guide

Raspberry Pi NTP Clock Setup Guide Raspberry Pi NTP Clock Setup Guide Several steps are involved in getting your Raspberry Pi to operate as a NTP Clock. To begin with, you must obtain a LCD Plate (www.adafruit.com) and build it. You must

More information

Shifter Configuration Guide 1.0

Shifter Configuration Guide 1.0 Shifter Configuration Guide 1.0 Contents Contents About Shifter Configuration Guide...3 Configure the Docker Daemon...4 Configure Shifter...7 Rebuild the Compute Node initramfs and cpio Files...10 Configure

More information

Introduction of Linux

Introduction of Linux Introduction of Linux 阳 oslab2018_class1@163.com 寅 oslab2018_class2@163.com PART I Brief Introduction Basic Conceptions & Environment Install & Configure a Virtual Machine Basic Commands PART II Shell

More information

Power over Ethernet (PoE) Adaptor

Power over Ethernet (PoE) Adaptor Power over Ethernet (PoE) Adaptor For the Raspberry Pi model B+, Pi2 and Pi3 User Manual www.circuitsurgery.com Page 1 of 6 Description N.B.: In this manual the term "Raspberry Pi" will refer to the Raspberry

More information

Lezione 8. Shell command language Introduction. Sommario. Bioinformatica. Mauro Ceccanti e Alberto Paoluzzi

Lezione 8. Shell command language Introduction. Sommario. Bioinformatica. Mauro Ceccanti e Alberto Paoluzzi Lezione 8 Bioinformatica Mauro Ceccanti e Alberto Paoluzzi Dip. Informatica e Automazione Università Roma Tre Dip. Medicina Clinica Università La Sapienza Sommario Shell command language Introduction A

More information