Pervasive Computing MIT 6.883 SMA 5508 Spring 2006 Larry Rudolph 1 iPaq Intro, Python, and Connectivity Feb 13, 2006 Larry Rudolph.

Slides:



Advertisements
Similar presentations
AARP Tax-Aide Sonoma/Napa District Bill Dornbush, TC Guide to Printer Sharing.
Advertisements

Andrew Stratton Linux based cut down mobile phone New Technology Old performance SD Card boot and disk Debian image standard Python.
For further information computersecurity.wlu.ca
Operating Systems Concepts 1/e Ruth Watson Chapter 11 Chapter 11 Network Maintenance Ruth Watson.
Mobility Solution for Panasonic Communication Platforms EVERY CALL MATTERS How to initiate the mobismaME software download process mobisma ME Version.
What is the Internet? Internet: The Internet, in simplest terms, is the large group of millions of computers around the world that are all connected to.
IT’s Gone Mobile: How to do your Job Anywhere Jason Hand IT Specialist, Central NM Electric Cooperative Jason Hand Cell:
Introduction to the Raspberry Pi ® Saman Amighi 10/2013 ® Raspberry Pi Foundation.
HOW CLOUD COMPUTING WORKS
Chapter Extension 8 Understanding and Setting up a SOHO Network © 2008 Pearson Prentice Hall, Experiencing MIS, David Kroenke.
Designing a Home Network By Tabby Booth. Network Components Motorola Cable Modem Wireless 4 port Linksys Router Compaq Desktop Computer – NIC card HP.
Topics 1.Taking the Lock into use – physical serialization 2.Detailed setup options 3.Using mobile broadband 4.Taking the Key into use.
Copyright © Anviz Global Inc. USA Anviz Online Training Lesson 11 : Anviz product remote access Anviz International Technical Support Team.
Information about the computer By Sophia and Christina C.
Amazon EC2 Quick Start adapted from EC2_GetStarted.html.
AfNOG 2013 Track SI-E Scalable Network Infrastructure Introduction, Logistics, Schedule, etc.
ITGS Networks Based on the textbook “Information Technology in a Global Society for the IB Diploma” by Stuart Gray.
Remote Accessing Your Home Computer Using VNC and a Dynamic DNS Name.
The internet and the WWW
MIT 6.894; SMA 5508 Fall 2004 Larry Rudolph OK-Net: An Oxygen Kiosk.
TOSIBOX LOCK security options 1 1.
The Internet. What is the internet? a vast network designed to transfer data from one computer to another.
Installing a DHCP Server role on Windows Server 2008 R2 in a home network. This is intended as a guide to install the DHCP role on a Domain Controller.
Basic Network Training. Cable/DSL Modem The modem is the first link in the chain It is usually provided by the ISP and often has a coax cable connector.
1 Networks, advantages & types of What is a network? Two or more computers that are interconnected so they can exchange data, information & resources.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Troubleshooting Your Network Networking for Home and Small Businesses.
Python and more Spring 2004: Intro & Python Larry Rudolph Administration Check the wiki daily; please contribute Pick.
1 Chapter Overview Wireless Technologies Wireless Security.
VPN: An Easy Software / Appliance Solution for Remote Access Robert Gulick, EdD DBA/Technology Trainer Parma City School District
CTSP TRAINING Router 101 And Networking Basics. You Don’t Need Internet Access to Run or Connect your devices to an Ethernet switch or Router Enable DHCP.
Computer Networks Unit 1 – BTA 3O Ms. Chytra. Introduction to Networks Most people working in an office with more than a few computers will be using some.
Wireless or wired connection of the technician’s smartphone to Cable Ties network.
Component 4: Introduction to Information and Computer Science Unit 2: Internet and the World Wide Web Lecture 2 This material was developed by Oregon Health.
What is the Internet? Internet: The Internet, in simplest terms, is the large group of millions of computers around the world that are all connected to.
Internet of Things with Intel Edison Compiling and running Pierre Collet Intel Software.
1 Chapter Overview Using the New Connection Wizard to configure network and Internet connections Using the New Connection Wizard to configure outbound.
Pervasive Computing MIT SMA 5508 Spring 2006 Larry Rudolph 1 Bluetooth Tutorial Larry Rudolph.
COMP1321 Digital Infrastructure Richard Henson February 2014.
| nectar.org.au NECTAR TRAINING Module 5 The Research Cloud Lifecycle.
Chapter 8: Configuring Networking. Exploring the Network and Sharing Center 2.
Windows Small Business Server 2003 Setting up and Connecting David Overton Partner Technical Specialist.
Pervasive Computing MIT SMA 5508 Spring 2006 Larry Rudolph 1 Bluetooth Larry Rudolph Feb 16, 2006.
Security (and privacy) Larry Rudolph With help from Srini Devedas, Dwaine Clark.
REMOTE LOGIN. TEAM MEMBERS AMULYA GURURAJ 1MS07IS006 AMULYA GURURAJ 1MS07IS006 BHARGAVI C.S 1MS07IS013 BHARGAVI C.S 1MS07IS013 MEGHANA N. 1MS07IS050 MEGHANA.
Networking in Linux. ♦ Introduction A computer network is defined as a number of systems that are connected to each other and exchange information across.
CSCI 1033 Computer Hardware Course Overview. Go to enter TA in the “Enter Promotion Code” box on the bottom right corner.
DHP Agenda: How to Access Web Interface of the DHP-1320 on Access Point Mode How to Access Web Interface of the DHP-1320 on Router Mode How to Change.
Smart Call By S. Alex Raj S.Mahesh.
WEEK 11 – TOPOLOGIES, TCP/IP, SHARING & SECURITY IT1001- Personal Computer Hardware System & Operations.
Agenda Networking with Linux & UNIX OS –Overview –Setup –Common Utilities.
Apple Remote Desktop Hey! I got some new software for my school. For free. For what?
Unix Servers Used in This Class  Two Unix servers set up in CS department will be used for some programming projects  Machine name: eustis.eecs.ucf.edu.
Connection Technologies and IP Addressing CONNECTING TO THE INTERNET.
MICROSOFT TESTS /291/293 Fairfax County Adult Education Courses 1477/1478/1479.
Website Design:. Once you have created a website on your hard drive you need to get it up on to the Web. This is called "uploading“ or “publishing” or.
Introduction to ev3dev: Setup
Part 2.  Transmission methods used  Bandwidth:  The speed at which Data can be carried.
 Internet access is the process that enables individuals and organizations to connect to the Internet using computer terminals, computers, and mobile.
Brianne Stewart.   A wireless network is any computer network that is not connected with a cable  Many homes use this type of internet access  Less.
© ExplorNet’s Centers for Quality Teaching and Learning 1 Install, configure, and deploy a SOHO wireless/wired router using appropriate settings. Objective.
LINCWorks Mesh Networking User Guide. This user guide will give a brief overview of mesh networking followed by step by step instructions for configuring.
NT1210 Introduction to Networking
Version of document: 1.01 Software Version CBox: v3.7.1 Hardware Version CBox: C5 Remote Access Configuration Service Operator Language: English.
RaspberryPi.
Workshop on Raspberry Pi 3
Data communication and Networks
EMBEDDED SYSTEMS Unit 5 EMBEDDED SYSTEMS UNIT 5.
Modelling the internet
Building an Internet of Things Device
Modelling the internet
Presentation transcript:

Pervasive Computing MIT SMA 5508 Spring 2006 Larry Rudolph 1 iPaq Intro, Python, and Connectivity Feb 13, 2006 Larry Rudolph

Pervasive Computing MIT SMA 5508 Spring 2006 Larry Rudolph Administration iPaq’s and Mobile Phones very similar both use python, bluetooth, internet This week: Ipaq comments, Python, Network Problem set, due in one week On your own, watch: Jamey Hicks on “Linux on iPaq” (video)

Pervasive Computing MIT SMA 5508 Spring 2006 Larry Rudolph Setting up iPaq Why Linux? Why not Linux on newer models? Things particular to these iPaqs batteries no solid connections (check cables often) when in doubt, reinstall

Pervasive Computing MIT SMA 5508 Spring 2006 Larry Rudolph Connecting to iPaq Serial cable (not usb) after boot, can just login via some terminal program (minicom/hyperterm) ssh over the network setup wireless connection to network ‘ssh -l root xxx.xxx.xx.xxx’ need ip address (do not need dns name) make sure you are connecting to YOUR ipaq. Easy to mistype ip address.

Pervasive Computing MIT SMA 5508 Spring 2006 Larry Rudolph Installing software /etc/ipkg.conf points to “feeds” we will maintain our own feed ipkg picks first matching file, not last while searching list of feeds Copy files to ipaq via secure copy “scp localFile.py serial cable xmodem/ymodem, sx on linux

Pervasive Computing MIT SMA 5508 Spring 2006 Larry Rudolph Is your ipaq, your ipaq? Anonymous vs Personal handheld Telephone example Landline telephones are anonymous Cell/Mobile phones are personal Tradeoffs private state can be lost or stolen; should be protected setup overhead on user daily underhead on user: setup once & forget less dependent on connectivity public/private keys easy to use once setup

Pervasive Computing MIT SMA 5508 Spring 2006 Larry Rudolph Connectivity Ipaq: (WiFi) or Bluetooth Mobile: GPRS (edge) or Bluetooth

Pervasive Computing MIT SMA 5508 Spring 2006 Larry Rudolph 8 Go to Python Tutorial Slides Let’s go through the slides from the Zope corporation on an introduction to Python by the inventor of python, Guido van Rossum

Pervasive Computing MIT SMA 5508 Spring 2006 Larry Rudolph Server Code import sys, socket if len(sys.argv) < 2: print "usage: socketserver " sys.exit(2) # create the server socket s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) port = int(sys.argv[1]) # allow the socket to be re-used immediately after a close s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) s.bind( (" ", port) ) s.listen(5) # start the server socket (client, address) = s.accept() print "accepted connection from %s:%d" % (address[0], address[1]) while True: data = client.recv(1024) if len(data) == 0: print "connection with %s closed." % address[0] break sys.stdout.write(data) client.close()

Pervasive Computing MIT SMA 5508 Spring 2006 Larry Rudolph Client Code import sys import socket if len(sys.argv) < 3: print "usage: socketclient " sys.exit(2) s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.connect( (sys.argv[1], int(sys.argv[2]) ) ) print "connected. type stuff." while True: data = sys.stdin.readline() if len(data) == 0: print "closing connection with server" break s.send(data)

Pervasive Computing MIT SMA 5508 Spring 2006 Larry Rudolph Online Tutorials Tutorials ining/Python.html use google or go to python.org

Pervasive Computing MIT SMA 5508 Spring 2006 Larry Rudolph Discussion about network infrastructure Initialization Network Static IP, DNS server -- why IPv6 and why not DHCP: get ip and dns server -- vast improvement Servers Feed, chat, device, anything new too many servers & must always be up What will naive user do?

Pervasive Computing MIT SMA 5508 Spring 2006 Larry Rudolph Let’s design it right What do we want? Everything should just work without setup Observation most interaction is local remote interaction is rare overhead for rare cases is ok How to setup/find a server without a fixed name or ip address? Interactive class discussion