Spring 2017 Gabriel Kuri

Size: px
Start display at page:

Download "Spring 2017 Gabriel Kuri"

Transcription

1 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 familiar with the environment. Part 2 of the lab will introduce the student to Layer 2 (Data Link) of the OSI model through the use of switches in the lab and some network based testing. Part 2 will also involve some networking with the workbench directly across from your own. The workbenches will be numbered by the instructor at the beginning of the lab. It s important you remember this number as it used in some of the exercises in this lab. Whenever you see wb# substitute the # for your workbench number. For this lab, document all of the command output by copying and pasting in to a separate document to be saved for later use within the lab report. The questions that are asked throughout the lab should be answered in the lab report and a copy of the command output should be included in the lab report. Part 1 Checkout an RPi and console cable from the Instructor or TA. The Linux operating system for the RPi (Raspbian) is preloaded on to the microsd card that s already installed in the RPi. There is also a power adapter with a micro USB plug to power the RPi. In order to connect to the console of the RPi, you need to connect the wires of the console cable to the RPi s GPIO header and connect the other end of the cable to one of the USB ports on your workstation. Connection of the console cable wires to the RPi are fairly simple. You will connect only 3 of the 4 wires to the RPi, black (pin 6), white (pin 8), and green (pin 10). DO NOT CON- NECT THE RED WIRE TO THE BOARD. See the diagram below for the pin numbers on the GPIO header and their location relative to the board: 1

2 Once the console cable is connected to both the board and workstation, run the program Putty. When the window opens, change the Connection Type to Serial and in the Serial Line box, you will need to change the port from COM1 to the port the USB console cable is attached to; it will probably be somewhere between COM4 - COM9. In order to figure out which port it s on, go to the Control Panel and open up Device Manager (you may need to search for it). In Device Manager you will expand Ports and look for Prolific USB-to-Serial. It should list the COM port number. In the Speed setting, change it to and then click Connect Press Enter in the Putty window and you should receive a login prompt. The username is pi and the password is engineering. If you do not receive a login prompt or you are unable to connect to the console, please ask the Instructor or TA for assistance. After logging in to the RPi, run the following commands to familiarize yourself with the RPi: 1. ifconfig eth0 If you recall from last week s lab, ifconfig is used on Unix/Linux operating systems to configure network interfaces. What is the MAC address (ie Layer 2 Hardware address) of your Raspberry Pi? The first 24 bits (ie 6 hexadecimal characters) are assigned by the IEEE to hardware manufacturers. Search the Internet for IEEE OUI assignments and search the first 6 hexadecimal characters (ie 24 bits) of your MAC address to see which manufacturer it s assigned to. 2. ls -l / ls command is used to list the contents of a directory. This particular command lists the files of the root file system. List the files in /lib. List the files in /home. 3. uname -a uname prints the name, version, and other details of the Unix operating system. What version of the operating system are you running? What date was it compiled? What Linux kernel architecture was it compiled for? 4. nano -w test-wb# nano is one of several text editors commonly used on Unix machines. Add your name and your lab partner s name each to a separate line of the file. Type Ctrl-X, then Y, then confirm the filename to save the file. You will exit to the command prompt. Type ls -l to confirm the file exists. You will use it later in the lab. 2

3 Part 2 1. ifconfig eth #/24 up Substitute # for your workbench number. What is the IP address you configured for your RPi? Validate the IP address on your RPi using ifconfig? 2. ping -n -c # Substitute # for the workbench across from yours. Is their RPi responding to pings? If not, see if they ve made it this far in the lab, if not, wait for them to get to this portion of their lab to configure the network interface on their RPi. Once you start receiving successful ping responses from the other workbench, we will examine the traffic between the two RPis by using tshark. Run the following command, which will run tshark in realtime to capture traffic on the network and filter for the ping traffic (in the TCP/IP world it s a type of ICMP traffic), and write that output to a file in /tmp/icmp.out. sudo tshark -V -i eth0 -f icmp -l > /tmp/icmp.out 2>&1 Then go ahead and run the ping command again. After the ping command is finished, type: sudo pkill tshark The last command terminated the tshark process. Now we will review the output of what tshark captured. In order to view the output of the capture, type: cat /tmp/icmp.out Review the capture output. What is the source MAC address? Is it the MAC address of your RPi? What is the destination MAC address? Ask the workbench students at the workbench next to you for their RPi s MAC address. Does it match the destination MAC address? Do you see the IP address of your RPi and the IP address of the RPi at the workbench next to you in the capture? How many bytes is the frame? 3. iperf3 -i 1 -s iperf3 is a command that tests network performance. You are going to work with the workbench across from you. One RPi will act as the server the other will act as the client, decide ahead of time who will be the server or client. The RPi acting as the server needs to run their command first: 3

4 iperf3 -i 1 -s The RPi acting as the client then runs their command: iperf3 -i 1 -u -t 30 -c # Substitute the # for the workbench across from yours. Review the output, what was the highest and lowest speed? Now repeat this procedure but with your workbench acting as the client or server, what ever you were not last time. Type man iperf3 and review the manual. What would you change so that iperf3 would run for 2 minutes? 4. scp test-wb# pi@ # The scp command (secure copy) will copy the file you created earlier in the lab over to the workbench across from you. The command will ask for a password, which is the same password you use to login to the RPi. Make sure the workbench across from you has copied their file to your RPi. To confirm, type ls -l and see if the file that matches their workbench number is there. If so, type cat test-wb# substituting # for their workbench number. cat is a command that reads files sequentially and prints their contents. Do you see the names of the people in the workbench across from you? If so, they have successfully copied their file to your RPi. What is the date and time listed on the file they copied over? Part 3 Part 3 focuses on examining the test switch in the lab. We will look at a variety of information and statistics on the switch, including the MAC address table. The switch is in the back of the lab and serves the port your RPi is plugged in to. First you ll need to login to the switch from the RPi: ssh student@ When prompted for the password, type ece431l and press Enter. Run the following commands and review the output. 1. show mac address-table dynamic This command tells the switch to show you the MAC addresses it has learned on it s own interfaces. This particular test switch has a total of 48 built-in copper interfaces. The interfaces are labeled F1/0/x, where x is a number between Look for the MAC address of your RPi, which interface is it on? Make note of the interface, because you will use it for the remainder of the lab. 4

5 2. show interfaces F1/0/x controller Replace x with your interface number. Review the output. What speed is your interface on the switch (ie what speed connection do your RPi have to the test switch)? Is flow-control enabled? Has your interface seen any FCS errors? How many Unicast Frames has your interface seen? What size frames has your interface received the most? 3. show version This command display the information about the switch, including the make, model, version of software it s running, and other related information. What model is the switch? What version of software is it running? Lab Report In addition to answering the questions in Parts 1-3 and including the contents of the output in Parts 1-3 in your lab report, answer the following questions: 1. Why do you suppose the first 24 bits of a MAC address are assigned by the IEEE to the hardware manufacturer rather than simply letting the manufacturer choose whatever they want for the first 24 bits? 2. Why was the ping response time to the RPi on the workbench across from you so low? What might have made it higher? 3. Why do you think the destination MAC address in the tshark output was that of the RPi of the workbench across from you? 4. When examining the tshark output, you saw two addresses (MAC address and IP address). Why do we need two different addresses (MAC address and IP address) to get to the same destination, shouldn t the RPi only need 1 address to send the ping? 5. Did the network performance test reach a speed close to the speed of the network interface the RPi is plugged in to on the test switch? If not, what do you think prevented it from reaching the speed of the network interface of the switch? 6. When you reviewed the ooutput from the switch, why didn t the switch also have record of the RPi s IP address? 7. Explain in your own words what you learned from this lab about the RPi? 8. Explain in your own words what you learned from this lab about how the test switch operates and passes frames around the local network? 5

5. Write a capture filter for question 4.

5. Write a capture filter for question 4. Pre-Lab 2: Single Segment IP Networks 1. Review Linux man pages for arp at www.linuxmanpages.com (in both Sections 7 and 8), the ARP RFC (RFC 826) at www.ietf.org, and Section 3.4 of the IBM Red Book.

More information

Lab 0: Intro to running Jupyter Notebook on a Raspberry Pi

Lab 0: Intro to running Jupyter Notebook on a Raspberry Pi Lab 0: Intro to running Jupyter Notebook on a Raspberry Pi Nick Antipa, Li-Hao Yeh, based on labs by Jon Tamir and Frank Ong January 24, 2018 This lab will walk you through setting up your Raspberry Pi

More information

Lab I: Using tcpdump and Wireshark

Lab I: Using tcpdump and Wireshark Objectives To get the student familiar with basic network protocol analyzer, tools and equipment used in later labs, including tcpdump and Wireshark. Lab Readings Go to http://www.tcpdump.org/tcpdump_man.html

More information

Lab 1 Introduction to UNIX and C

Lab 1 Introduction to UNIX and C Name: Lab 1 Introduction to UNIX and C This first lab is meant to be an introduction to computer environments we will be using this term. You must have a Pitt username to complete this lab. NOTE: Text

More information

Raspberry Pi Setup Tutorial

Raspberry Pi Setup Tutorial Raspberry Pi Setup Tutorial The Raspberry Pi is basically a miniature linux- based computer. It has an ARM processor on it, specifically the ARM1176JZF- S 700 MHz processor. This is the main reason why

More information

Topics. What is a RaspberryPi? Why should I want one? What is Raspbian? What is SSH? What is FTP? What is LAMP? Making a LAMP Stack!

Topics. What is a RaspberryPi? Why should I want one? What is Raspbian? What is SSH? What is FTP? What is LAMP? Making a LAMP Stack! Topics What is a RaspberryPi? Why should I want one? What is Raspbian? What is SSH? What is FTP? What is LAMP? Making a LAMP Stack! What is a Raspberry Pi? The Raspberry Pi is a Credit Card sized computer.

More information

Adafruit PiUART - USB Console and Power Add-on for Raspberry Pi

Adafruit PiUART - USB Console and Power Add-on for Raspberry Pi Adafruit PiUART - USB Console and Power Add-on for Raspberry Pi Created by lady ada Last updated on 2017-08-29 10:20:23 PM UTC Guide Contents Guide Contents Overview Pinouts Enabling Serial Console Option

More information

CSE115 Lab exercises for week 1 of recitations Spring 2011

CSE115 Lab exercises for week 1 of recitations Spring 2011 Introduction In this first lab you will be introduced to the computing environment in the Baldy 21 lab. If you are familiar with Unix or Linux you may know how to do some or all of the following tasks.

More information

Getting started with Raspberry Pi (and WebIoPi framework)

Getting started with Raspberry Pi (and WebIoPi framework) Getting started with Raspberry Pi (and WebIoPi framework) 1. Installing the OS on the Raspberry Pi Download the image file from the Raspberry Pi website. It ll be a zip file as shown below: Unzip the file

More information

Spreedbox Getting Started Guide

Spreedbox Getting Started Guide Spreedbox Getting Started Guide Last Updated: September 2017 CONTENTS 1. Introduction... 3 2. Prerequisites... 4 3. Opening the box... 5 4. USB Manual, Quick Start Guide & MAC Sticker... 6 5. International

More information

Manual of ET-LCD SW HAT

Manual of ET-LCD SW HAT ET- LCD SW HAT ET-LCD SW HAT is Board I/O that is specifically designed for connection with Board Raspberry Pi through Connector 40-PIN; this board includes LCD 16x2, SW, Buzzer, RTC DS3231 with Connector

More information

Session 1: Accessing MUGrid and Command Line Basics

Session 1: Accessing MUGrid and Command Line Basics Session 1: Accessing MUGrid and Command Line Basics Craig A. Struble, Ph.D. July 14, 2010 1 Introduction The Marquette University Grid (MUGrid) is a collection of dedicated and opportunistic resources

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

Lab2 - Bootloader. Conventions. Department of Computer Science and Information Engineering National Taiwan University

Lab2 - Bootloader. Conventions. Department of Computer Science and Information Engineering National Taiwan University Lab2 - Bootloader 1 / 20 Cross-compile U-Boot. Connect to Raspberry Pi via an USB-TTL cable. Boot Raspberry Pi via U-Boot. 2 / 20 Host Machine OS: Windows Target Machine Raspberry Pi (2 or 3) Build Machine

More information

Lab 1: Introduction to Linux Networking

Lab 1: Introduction to Linux Networking CMPE 150: Introduction to Computer Networks Fall 2011 http://courses.soe.ucsc.edu/courses/cmpe150/fall11/01/ Lab 1: Introduction to Linux Networking Materials: Please bring a USB drive to each lab section.

More information

Setting up my Dev Environment ECS 030

Setting up my Dev Environment ECS 030 Setting up my Dev Environment ECS 030 1 Command for SSHing into a CSIF Machine If you already have a terminal and already have a working ssh program (That is, you type ssh into the terminal and it doesn

More information

ECE 4110 Internetwork Programming Lab 7: Configuring a Network Using RIP Routing Protocol. Prelab Questions

ECE 4110 Internetwork Programming Lab 7: Configuring a Network Using RIP Routing Protocol. Prelab Questions ECE 4110 Internetwork Programming Lab 7: Configuring a Network Using RIP Routing Protocol Group Number: Member Names: Date Issued: March 26, 2013 Date Due: April 3, 2013 Last Edited: January 31, 2013 This

More information

Lab 2 Building on Linux

Lab 2 Building on Linux Lab 2 Building on Linux Assignment Details Assigned: January 28 th, 2013. Due: January 30 th, 2013 at midnight. Background This assignment should introduce the basic development tools on Linux. This assumes

More information

Packet Capturing with TCPDUMP command in Linux

Packet Capturing with TCPDUMP command in Linux Packet Capturing with TCPDUMP command in Linux In this tutorial we will be looking into a very well known tool in Linux system administrators tool box. Some times during troubleshooting this tool proves

More information

COMPUTER NETWORKING LAB EXERCISES (TP) 4

COMPUTER NETWORKING LAB EXERCISES (TP) 4 Name 1: Name 2: Group number: COMPUTER NETWORKING LAB EXERCISES (TP) 4 IPV6 December 14, 2009 Abstract In this TP you will revisit some of the basic networking tools that were introduced in TP1, only this

More information

What is EV3DEV? Send commands to the EV3 Upload programs and run them on the EV3

What is EV3DEV? Send commands to the EV3 Upload programs and run them on the EV3 PYTHON ON EV3DEV What is EV3DEV? A Linux-based operating system that runs on the Lego EV3 Runs from a microsd card Can run programs written in Python, Javascript, Java, Go, C++, C, and many others After

More information

Lab 1 Introduction to UNIX and C

Lab 1 Introduction to UNIX and C Name: Lab 1 Introduction to UNIX and C This first lab is meant to be an introduction to computer environments we will be using this term. You must have a Pitt username to complete this lab. The doc is

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

Hands-on Labs using the WLAN Pros ODROID Performance Testing Device

Hands-on Labs using the WLAN Pros ODROID Performance Testing Device Hands-on Labs using the WLAN Pros ODROID Performance Testing Device The goal is to provide Wireless LAN Professionals with a ready-to-use custom device to help provide throughput measurements for network

More information

iridium Server for Raspberry Pi

iridium Server for Raspberry Pi Эта страница является переводом страницы Rpi. Перевод выполнен на 100%. Другие языки: English русский iridium Server for Raspberry Pi Installing and setting up a server in a project i3 lite iridium Sever

More information

CSCI 2132 Software Development. Lecture 3: Unix Shells and Other Basic Concepts

CSCI 2132 Software Development. Lecture 3: Unix Shells and Other Basic Concepts CSCI 2132 Software Development Lecture 3: Unix Shells and Other Basic Concepts Instructor: Vlado Keselj Faculty of Computer Science Dalhousie University 10-Sep-2018 (3) CSCI 2132 1 Introduction to UNIX

More information

ENCM 339 Fall 2017: Editing and Running Programs in the Lab

ENCM 339 Fall 2017: Editing and Running Programs in the Lab page 1 of 8 ENCM 339 Fall 2017: Editing and Running Programs in the Lab Steve Norman Department of Electrical & Computer Engineering University of Calgary September 2017 Introduction This document is a

More information

CS1600 Lab Assignment 1 Spring 2016 Due: Feb. 2, 2016 POINTS: 10

CS1600 Lab Assignment 1 Spring 2016 Due: Feb. 2, 2016 POINTS: 10 CS1600 Lab Assignment 1 Spring 2016 Due: Feb. 2, 2016 POINTS: 10 PURPOSE: The purpose of this lab is to acquaint you with the C++ programming environment on storm. PROCEDURES: You will use Unix/Linux environment

More information

Programming Studio #1 ECE 190

Programming Studio #1 ECE 190 Programming Studio #1 ECE 190 Programming Studio #1 Announcements In Studio Assignment Introduction to Linux Command-Line Operations Recitation Floating Point Representation Binary & Hexadecimal 2 s Complement

More information

Gooligum Electronics 2015

Gooligum Electronics 2015 The Wombat Prototyping Board for Raspberry Pi Operation and Software Guide This prototyping board is intended to make it easy to experiment and try out ideas for building electronic devices that connect

More information

CS CS Tutorial 2 2 Winter 2018

CS CS Tutorial 2 2 Winter 2018 CS CS 230 - Tutorial 2 2 Winter 2018 Sections 1. Unix Basics and connecting to CS environment 2. MIPS Introduction & CS230 Interface 3. Connecting Remotely If you haven t set up a CS environment password,

More information

Oregon State University School of Electrical Engineering and Computer Science. CS 261 Recitation 1. Spring 2011

Oregon State University School of Electrical Engineering and Computer Science. CS 261 Recitation 1. Spring 2011 Oregon State University School of Electrical Engineering and Computer Science CS 261 Recitation 1 Spring 2011 Outline Using Secure Shell Clients GCC Some Examples Intro to C * * Windows File transfer client:

More information

Lab Using Wireshark to Examine Ethernet Frames

Lab Using Wireshark to Examine Ethernet Frames Topology Objectives Part 1: Examine the Header Fields in an Ethernet II Frame Part 2: Use Wireshark to Capture and Analyze Ethernet Frames Background / Scenario When upper layer protocols communicate with

More information

LAB #5 Intro to Linux and Python on ENGR

LAB #5 Intro to Linux and Python on ENGR LAB #5 Intro to Linux and Python on ENGR 1. Pre-Lab: In this lab, we are going to download some useful tools needed throughout your CS career. First, you need to download a secure shell (ssh) client for

More information

Installation of RedHawk 6.5-r24.2 on the Jetson TX1 Development Board Release Notes. September 19 th, 2017

Installation of RedHawk 6.5-r24.2 on the Jetson TX1 Development Board Release Notes. September 19 th, 2017 Installation of RedHawk 6.5-r24.2 on the Jetson TX1 Development Board Release Notes September 19 th, 2017 This page intentionally left blank 1. Introduction This document describes the process of installing

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

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

LAB 3 Optimizing Quality of Service

LAB 3 Optimizing Quality of Service LAB 3 Optimizing Quality of Service Objectives In this lab students are introduced to the ladder topology, gain an understanding of what negatively effects a network s Quality of Service, and learn how

More information

Lab 1: Accessing the Linux Operating System Spring 2009

Lab 1: Accessing the Linux Operating System Spring 2009 CIS 90 Linux Lab Exercise Lab 1: Accessing the Linux Operating System Spring 2009 Lab 1: Accessing the Linux Operating System This lab takes a look at UNIX through an online experience on an Ubuntu Linux

More information

COMPUTER NETWORKS. CPSC 441, Winter 2016 Prof. Mea Wang Department of Computer Science University of Calgary

COMPUTER NETWORKS. CPSC 441, Winter 2016 Prof. Mea Wang Department of Computer Science University of Calgary COMPUTER NETWORKS CPSC 441, Winter 2016 Prof. Mea Wang Department of Computer Science University of Calgary Introduction: Wireshark and tshark Running tshark Running Wireshark Exercise: Analyze HTTP traffic

More information

Parallel Programming Pre-Assignment. Setting up the Software Environment

Parallel Programming Pre-Assignment. Setting up the Software Environment Parallel Programming Pre-Assignment Setting up the Software Environment Authors: B. Wilkinson and C. Ferner. Modification date: Aug 21, 2014 (Minor correction Aug 27, 2014.) Software The purpose of this

More information

COMPUTER NETWORKING LAB EXERCISES (TP) 1 BASIC CONFIGURATION AND TOOLS FOR EVERYBODY:

COMPUTER NETWORKING LAB EXERCISES (TP) 1 BASIC CONFIGURATION AND TOOLS FOR EVERYBODY: Name 1: Name 2: Group number: COMPUTER NETWORKING LAB EXERCISES (TP) 1 BASIC CONFIGURATION AND TOOLS FOR EVERYBODY: PING(6), DIG, TRACEROUTE(6), NETSTAT September 24, 2012 Abstract In this TP you will

More information

Lab Using Wireshark to Examine Ethernet Frames

Lab Using Wireshark to Examine Ethernet Frames Topology Objectives Part 1: Examine the Header Fields in an Ethernet II Frame Part 2: Use Wireshark to Capture and Analyze Ethernet Frames Background / Scenario When upper layer protocols communicate with

More information

CMSC 201 Spring 2017 Lab 01 Hello World

CMSC 201 Spring 2017 Lab 01 Hello World CMSC 201 Spring 2017 Lab 01 Hello World Assignment: Lab 01 Hello World Due Date: Sunday, February 5th by 8:59:59 PM Value: 10 points At UMBC, our General Lab (GL) system is designed to grant students the

More information

1. USB to Serial cable driver installation instructions 2. Instructions for use with Raspberry Pi 3. Instructions for use with WRT54g and similar

1. USB to Serial cable driver installation instructions 2. Instructions for use with Raspberry Pi 3. Instructions for use with WRT54g and similar TechnoFix This document contains three sections: 1. USB to Serial cable driver installation instructions 2. Instructions for use with Raspberry Pi 3. Instructions for use with WRT54g and similar Please

More information

XLink Kai Raspberry Pi Beginners Tutorial

XLink Kai Raspberry Pi Beginners Tutorial XLink-Kai-Raspberry-Pi-Beginners-Tutorial.md XLink Kai Raspberry Pi Beginners Tutorial Hi! This tutorial will guide you through setting up XLink Kai on a Raspberry Pi to play multiplayer system link Xbox

More information

9 and 11-Jan CSCI 4152/6509 Natural Language Processing Lab 1: FCS Computing Environment, SVN Tutorial. FCS Computing Environment, SVN Tutorial

9 and 11-Jan CSCI 4152/6509 Natural Language Processing Lab 1: FCS Computing Environment, SVN Tutorial. FCS Computing Environment, SVN Tutorial Lecture 1 p.1 Faculty of Computer Science, Dalhousie University CSCI 4152/6509 Natural Language Processing Lab 1: FCS Computing Environment, SVN Tutorial 9 and 11-Jan-2019 Lab Instructor: Dijana Kosmajac,

More information

CpSc 1111 Lab 1 Introduction to Unix Systems, Editors, and C

CpSc 1111 Lab 1 Introduction to Unix Systems, Editors, and C CpSc 1111 Lab 1 Introduction to Unix Systems, Editors, and C Welcome! Welcome to your CpSc 111 lab! For each lab this semester, you will be provided a document like this to guide you. This material, as

More information

Before you start the lab exercises see the lab administrator or EEE3080F tutor to get assigned to your routers.

Before you start the lab exercises see the lab administrator or EEE3080F tutor to get assigned to your routers. EEE00F Lab Basics of the Network Lab Student Lab Manual Before you start the lab exercises see the lab administrator or EEE00F tutor to get assigned to your routers. Contents. Resources used in the labs...

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

sftp - secure file transfer program - how to transfer files to and from nrs-labs

sftp - secure file transfer program - how to transfer files to and from nrs-labs last modified: 2017-01-20 p. 1 CS 111 - useful details: ssh, sftp, and ~st10/111submit You write Racket BSL code in the Definitions window in DrRacket, and save that Definitions window's contents to a

More information

Itron Riva Dev Mini Kit Getting Started Guide

Itron Riva Dev Mini Kit Getting Started Guide Itron Riva Dev Mini Kit Getting Started Guide Table of Contents Introduction... 1 Host Computer... 2 Connect and Power-up ROOT... 2 Connect and Power-up NODE... 8 Summary and Next Steps... 14 Introduction

More information

SmartCVS Tutorial. Starting the putty Client and Setting Your CVS Password

SmartCVS Tutorial. Starting the putty Client and Setting Your CVS Password SmartCVS Tutorial Starting the putty Client and Setting Your CVS Password 1. Open the CSstick folder. You should see an icon or a filename for putty. Depending on your computer s configuration, it might

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

Lab 1 1 Due Wed., 2 Sept. 2015

Lab 1 1 Due Wed., 2 Sept. 2015 Lab 1 1 Due Wed., 2 Sept. 2015 CMPSC 112 Introduction to Computer Science II (Fall 2015) Prof. John Wenskovitch http://cs.allegheny.edu/~jwenskovitch/teaching/cmpsc112 Lab 1 - Version Control with Git

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

Lab Zero: A First Experiment Using GENI and Jacks Tool

Lab Zero: A First Experiment Using GENI and Jacks Tool Lab Zero: A First Experiment Using GENI and Jacks Tool These instructions are at: http://tinyurl.com/geni labzero Overview This is a first, simple experiment on GENI useful for familiarizing new experimenters

More information

CMSC 201 Spring 2018 Lab 01 Hello World

CMSC 201 Spring 2018 Lab 01 Hello World CMSC 201 Spring 2018 Lab 01 Hello World Assignment: Lab 01 Hello World Due Date: Sunday, February 4th by 8:59:59 PM Value: 10 points At UMBC, the GL system is designed to grant students the privileges

More information

Basic Survival UNIX.

Basic Survival UNIX. Basic Survival UNIX Many Unix based operating systems make available a Graphical User Interface for the sake of providing an easy way for less experienced users to work with the system. Some examples are

More information

Unix Shells and Other Basic Concepts

Unix Shells and Other Basic Concepts CSCI 2132: Software Development Unix Shells and Other Basic Concepts Norbert Zeh Faculty of Computer Science Dalhousie University Winter 2019 Shells Shell = program used by the user to interact with the

More information

Jackson State University Department of Computer Science CSC 437/539 Computer Security Fall 2013 Instructor: Dr. Natarajan Meghanathan

Jackson State University Department of Computer Science CSC 437/539 Computer Security Fall 2013 Instructor: Dr. Natarajan Meghanathan Jackson State University Department of Computer Science CSC 437/539 Computer Security Fall 2013 Instructor: Dr. Natarajan Meghanathan Lab Project # 3: Simulating DHCP Snooping and DNS Cache Poisoning through

More information

C++ Programming on Linux

C++ Programming on Linux C++ Programming on Linux What is Linux? CS 2308 Spring 2017 Jill Seaman Slides 14-end are for your information only, you will not be tested over that material. 1 l an operating system l Unix-like l Open

More information

Lab Assignment 4 ECE374 Spring Posted: 03/22/18 Due: 03/29/18. In this lab, we ll take a quick look at the ICMP and IP protocols.

Lab Assignment 4 ECE374 Spring Posted: 03/22/18 Due: 03/29/18. In this lab, we ll take a quick look at the ICMP and IP protocols. Lab Assignment 4 ECE374 Spring 2018 Posted: 03/22/18 Due: 03/29/18 In this lab, we ll take a quick look at the ICMP and IP protocols. Whenever possible you should hand in Wireshark screenshots that you

More information

LARGE SCALE IP ROUTING

LARGE SCALE IP ROUTING Building ISP Networks Xantaro Page 1 / 18 TABLE OF CONTENTS 1. LAB ACCESS 4 1.1 Accessing the Jumphost... 4 1.2 Access to your routers... 4 1.3 Local Network Topology... 5 1.4 Global Network Topology...

More information

Jackson State University Department of Computer Science CSC / Computer Security Fall 2013 Instructor: Dr. Natarajan Meghanathan

Jackson State University Department of Computer Science CSC / Computer Security Fall 2013 Instructor: Dr. Natarajan Meghanathan Jackson State University Department of Computer Science CSC 437-01/539-01 Computer Security Fall 2013 Instructor: Dr. Natarajan Meghanathan Lab Project # 2: Running Secure Shell (SSH) Server in a Virtual

More information

Take Command Configuring pppd in Linux, Part I

Take Command Configuring pppd in Linux, Part I Take Command Configuring pppd in Linux, Part I Connecting to the Internet may be easier than you think; Tony begins this two-part series with how to configure your modem. by Tony Mobily Today, many people

More information

Introduction to Linux

Introduction to Linux Introduction to Linux The command-line interface A command-line interface (CLI) is a type of interface, that is, a way to interact with a computer. Window systems, punched cards or a bunch of dials, buttons

More information

Introduction to Linux Workshop 2. The George Washington University SEAS Computing Facility

Introduction to Linux Workshop 2. The George Washington University SEAS Computing Facility Introduction to Linux Workshop 2 The George Washington University SEAS Computing Facility Course Goals SSH and communicating with other machines Public/Private key generation,.ssh directory, and the config

More information

Operating System Interaction via bash

Operating System Interaction via bash Operating System Interaction via bash bash, or the Bourne-Again Shell, is a popular operating system shell that is used by many platforms bash uses the command line interaction style generally accepted

More information

Enter your answers to the questions in this lab using Canvas Quiz Ch.5 Global Unicast Address + Lab. Additional questions are included in the quiz.

Enter your answers to the questions in this lab using Canvas Quiz Ch.5 Global Unicast Address + Lab. Additional questions are included in the quiz. Lab: Introducing Global Unicast Addresses CIS 116 IPv6 Fundamentals Enter your answers to the questions in this lab using Canvas Quiz Ch.5 Global Unicast Address + Lab. Additional questions are included

More information

Configuring a Palo Alto Firewall in AWS

Configuring a Palo Alto Firewall in AWS Configuring a Palo Alto Firewall in AWS Version 1.0 10/19/2015 GRANT CARMICHAEL, MBA, CISSP, RHCA, ITIL For contact information visit Table of Contents The Network Design... 2 Step 1 Building the AWS network...

More information

CSC 101 Spring 2010 Lab #8 Report Gradesheet

CSC 101 Spring 2010 Lab #8 Report Gradesheet CSC 101 Spring 2010 Lab #8 Report Gradesheet Name WFU Username Lab Section: A B C D Partner s Name (if you had one): Topic Points Notes Pre-lab questions 20 total - 5 at 4 points each Lab report questions

More information

Laboratory 1 Semester 1 11/12

Laboratory 1 Semester 1 11/12 CS2106 National University of Singapore School of Computing Laboratory 1 Semester 1 11/12 MATRICULATION NUMBER: In this lab exercise, you will get familiarize with some basic UNIX commands, editing and

More information

Linux Survival Guide

Linux Survival Guide Linux Survival Guide Introduction: This guide is intended for use with classes at DACC that use a Linux operating system as the platform for students. It provides a quick summary and examples of how to

More information

Intermediate Programming, Spring Misha Kazhdan

Intermediate Programming, Spring Misha Kazhdan 600.120 Intermediate Programming, Spring 2017 Misha Kazhdan Outline Unix/Linux command line Basics of the Emacs editor Compiling and running a simple C program Cloning a repository Connecting to ugrad

More information

CSE 391 Editing and Moving Files

CSE 391 Editing and Moving Files CSE 391 Editing and Moving Files Tips for moving files around to/from attu slides created by Marty Stepp, modified by Jessica Miller and Ruth Anderson http://www.cs.washington.edu/391 1 Remote Connections:

More information

Setting up a Raspberry Pi 1

Setting up a Raspberry Pi 1 Setting up a Raspberry Pi 1 by Kerry Veenstra December 4, 2012 1.0 Introduction! 2 2.0 Materials! 2 3.0 Procedure! 3 3.1 Load GNU/Linux on the SD Memory Card! 3 3.2 Basic Configuration! 5 3.3 Basic Network

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

commands exercises Linux System Administration and IP Services AfNOG 2015 Linux Commands # Notes

commands exercises Linux System Administration and IP Services AfNOG 2015 Linux Commands # Notes Linux System Administration and IP Services AfNOG 2015 Linux Commands # Notes * Commands preceded with "$" imply that you should execute the command as a general user not as root. * Commands preceded with

More information

CS 1301 Fall 2008 Lab 2 Introduction to UNIX

CS 1301 Fall 2008 Lab 2 Introduction to UNIX CS 1301 Fall 2008 Lab 2 Introduction to UNIX Due: Friday, September 19 th, at 6 PM (Monday, September 22 nd for 10% off) Notes: Do not wait until the last minute to do this assignment in case you run into

More information

RETROPIE INSTALLATION GUIDE

RETROPIE INSTALLATION GUIDE RETROPIE INSTALLATION GUIDE CONTENTS THE FOLLOWING GUIDE WILL COVER THE INSTALLATION, SETUP AND CONFIGURATION OF THE RASPBERRY PI, RASPBIAN OS AND RETROPIE Author: http://rpiarcadebuild.wordpress.com/

More information

CS 215 Fundamentals of Programming II Spring 2019 Very Basic UNIX

CS 215 Fundamentals of Programming II Spring 2019 Very Basic UNIX CS 215 Fundamentals of Programming II Spring 2019 Very Basic UNIX This handout very briefly describes how to use Unix and how to use the Linux server and client machines in the EECS labs that dual boot

More information

Description: Write VHDL code for full_adder.vhd with inputs from switches and outputs to LEDs.

Description: Write VHDL code for full_adder.vhd with inputs from switches and outputs to LEDs. LAB Assignment #1 for ECE 443 Assigned: Mon., Aug. 24, 2016 Due: Wed., Sept. 26, 2016 Description: Write VHDL code for full_adder.vhd with inputs from switches and outputs to LEDs. This assignment is intentionally

More information

L.A.M.P. Stack Part I

L.A.M.P. Stack Part I L.A.M.P. Stack Part I By George Beatty and Matt Frantz This lab will cover the basic installation and some configuration of a LAMP stack on a Ubuntu virtual box. Students will download and install the

More information

Installing Nagios Log Server with VMware Workstation Player

Installing Nagios Log Server with VMware Workstation Player LS Installing Nagios Log Server with VMware Workstation Player This document is intended to outline the steps required to install Nagios Log Server within VMware Workstation Player. Still need installation

More information

Reading and manipulating files

Reading and manipulating files Reading and manipulating files Goals By the end of this lesson you will be able to Read files without using text editors Access specific parts of files Count the number of words and lines in a file Sort

More information

Lab Zero: A First Experiment Using GENI and Jacks Tool

Lab Zero: A First Experiment Using GENI and Jacks Tool GENIExperimenter/Tutorials/jacks/GettingStarted_PartI/Procedure GENI: geni 2/27/16, 14:35 Lab Zero: A First Experiment Using GENI and Jacks Tool These instructions are at: http://tinyurl.com/geni-labzero

More information

Introduction to Raspberry Pi 3 Model B Updates: 9/18/17 6/2/2018

Introduction to Raspberry Pi 3 Model B Updates: 9/18/17 6/2/2018 Introduction to Raspberry Pi 3 Model B Updates: 9/18/17 6/2/2018 A. Objectives 1. Learn about basics of Pi 3 embedded system 2. Learn how to operate your Pi 3 using different interfaces 3. Learn how to

More information

Material for the Networking lab in EITF25 & EITF45

Material for the Networking lab in EITF25 & EITF45 Material for the Networking lab in EITF25 & EITF45 2016 Preparations In order to succeed with the lab, you must have understood some important parts of the course. Therefore, before you come to the lab

More information

CS/CIS 249 SP18 - Intro to Information Security

CS/CIS 249 SP18 - Intro to Information Security Lab assignment CS/CIS 249 SP18 - Intro to Information Security Lab #2 - UNIX/Linux Access Controls, version 1.2 A typed document is required for this assignment. You must type the questions and your responses

More information

Remote Access to Unix Machines

Remote Access to Unix Machines Remote Access to Unix Machines Alvin R. Lebeck Department of Computer Science Department of Electrical and Computer Engineering Duke University Overview We are using OIT Linux machines for some homework

More information

BIF713. Operating Systems & Project Management. Instructor: Murray Saul Webpage: murraysaul.wordpress.

BIF713. Operating Systems & Project Management. Instructor: Murray Saul   Webpage: murraysaul.wordpress. BIF713 Operating Systems & Project Management Instructor: Murray Saul E-mail: murray.saul@senecacollege.ca Webpage: murraysaul.wordpress.com Today's Topics Types of computer servers at Seneca College Introduction

More information

ELE409 SPRING2018 LAB0

ELE409 SPRING2018 LAB0 ELE409 SPRING2018 LAB0 Getting familiar with the LXDE system Objectives: Pre-Lab: 1. Burn the linux system onto a micro-sd card 2. Get familiar with basic linux commands 3. Be able to communicate with

More information

Lab6 GDB debugging. Conventions. Department of Computer Science and Information Engineering National Taiwan University

Lab6 GDB debugging. Conventions. Department of Computer Science and Information Engineering National Taiwan University Lab6 GDB debugging 1 / 15 Learn how to perform source-level debugging with GDB. 2 / 15 Host Machine OS: Windows Target Machine Raspberry Pi (2 or 3) Build Machine A computer with a SD card slot OS: Ubuntu

More information

Fall Harris & Harris

Fall Harris & Harris E11: Autonomous Vehicles Fall 2011 Harris & Harris PS 1: Welcome to Arduino This is the first of five programming problem sets. In this assignment you will learn to program the Arduino board that you recently

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

Unix Tutorial Haverford Astronomy 2014/2015

Unix Tutorial Haverford Astronomy 2014/2015 Unix Tutorial Haverford Astronomy 2014/2015 Overview of Haverford astronomy computing resources This tutorial is intended for use on computers running the Linux operating system, including those in the

More information

Programming Studio #1 ECE 190

Programming Studio #1 ECE 190 Programming Studio #1 ECE 190 Programming Studio #1 Announcements Recitation Binary representation, hexadecimal notation floating point representation, 2 s complement In Studio Assignment Introduction

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

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