Andrew Stratton A.Stratton@shu.ac.uk. Linux based cut down mobile phone New Technology Old...

Preview:

Citation preview

CLANs - Classroom area

networksAndrew Stratton

A.Stratton@shu.ac.uk

Raspberry Pi

Linux based ‘cut downmobile phone’

New Technology Old performance

SD Card boot and disk Debian image standard Python on board

and Scratch

Micro USB power – can power from laptop Optional

HDMI/AV output USB Keyboard + Mouse Ethernet PIO for VERY cheap/easy access to custom I/O

Mobile

Mobile Based Internet Access

Wifi

Wired Internet provider

Laptop

Mobile

Wireless

Access Point

Wireless Access Point

Wifi

Wired

3G

3G

Wireless access points have SSID (and encryption)

Pirate Box

Laptop

Wifi

LinuxBox

Wireless

Access Point

Filestore

Ad hoc, local wireless access SSID can be anything

Security risk... May not have encryption (very) local wireless file server

Wifi

Wifi Direct – new standard

Replacement for Bluetooth? Devices become Wireless Access Points, e.g.

printer scanner camera file store

Devices broadcast an SSID for connection Accessible from any wifi device

Laptop Smartphone Tablet Console

etc. Generally need to install an application/driver

Tablet

Smartphone

Classroom Area Networks

Laptop Wifi

(very) local Wireless Web Server n.b. Typically NO Internet Access May be called ‘Personal Area Networks’

LinuxBox

Wireless Access Point

Web Server

Application Server

Local Database

Clientside Software

Html 5 Browser based applications: jQuery Mobile (library)

Javascript+CSS library based on jQuery Cross platform

Application cache The application works offline

i.e. when the CLAN server is unavailable Local Storage

Allows persistent data on the client device, e.g.user idapplication data, e.g. answers to questions,

downloaded feedback, etc.

Client application is ‘installed’ from the Server

Serverside Software

Most Serverside technologies availabledotNET presently an issue

Windows is missing a ‘piece’ of the puzzle

Suitable are:LAMP - Apache / MySql / PHPRuby on RailsNode.jsPython Java and JSPGroovy on Grails

Proof of concept - Quiz

Nokia Internet Tablet Slow processor, low memory, linux based equivalent to Raspberry Pi (but available at the time )

Deliberately not ‘industry’ strength Local IP client address allocated by DHCP Domain name redirection

e.g. google.co.uk will load local web server pages Uses ‘dnsmasq’ – Linux software

Tablet

Smartphone

LaptopWifi

N810 Internet

Tablet

Wireless Access Point

webpy static files

webpy application

Sqlite Database

Html 5jQuery Mobile

Proof of concept - Quiz

jQuery Interface

Proof of concept - Quiz Sqlite persistence

jQuery Mobile widgets

Proof of concept - Quiz

Admin interface Extend Database

CLAN Benefits

Can be used anywhere (within range)Up a mountain, on a coach/ship/train/plane In schools with no wifi/internet/login In Hallam

Allows any server software, i.e.No need to ask IT Services But - no support from IT Services

Technical demonstrations, e.g.Ruby on RailsWireless Game server

Runs locally Runs only while switched on

On Campus ideas

‘Regular’ classes:Registering physical attendance at

seminar/lectureGiving immediate (anonymous) feedback

e.g. ‘traffic light cups’ ‘Throw away’ comprehension tests

Open days - Quick, easy access toCourse and/or module detailsTimetablePersonal/anonymous questionsRegistering interest

Off Campus ideas

Coach/field trip, e.g. reading objectives (class resources)choosing groupssubmitting findings reportgiving feedback

School/College visitsSame as Open Days

Take the data with you...

Potential for ‘anywhere’ setupe.g. Train Station, Students Union, Library,

etc. May allow ‘uncool’ access

Conference usage

Bring wireless network with youNo need to setup security logins on site

All setup can be done offsite and then moved

No need for even a power supply Allow registration by smartphone

Have to be physically present Database can be copied at end (or disposed

of) Reduce registration queues No need for a desk

Registration staff could walk around the registration area

While attendees chat/relax/network

What CLANs are unlikely to be

A way to access the internetCan be – but mostly pointless

Persistent environmentsSince not always availableBut can cross multiple sessionsNoSql databases could allow syncing to

internet Available from the internet

Just local (wifi) access onlyBut Ethernet is on board (model B RPi)

Issues Availability of Smartphones

Could share one e.g. guest access with ‘split’ screen or tabs

Only one connection – so no Internet access No email, blackboard, wikipedia, facebook, twitter,

etc. Could be a good thing

Html 5 Browser Becoming much more popular/available

Technical issues Susannah’s mobile didn’t work Wireless contention

Security But – raises awareness of ‘hijacking’ possibility

Performance

Next - Raspberry Pi CLAN Similar power to n810 Cheap

Runs linux (debian) Includes python as standard

Boots from an SD card Can have different images for different

purposes Swap card to swap class !?

Can power from a laptop HDMI output (if needed) But - some Wifi Driver issues – early days...

RPi Wifi USB

SD Card

Power lead

Total

£20/35 £15 ~£4 ~£2 £41/56

Thank you

Now I need your ideas...

A.Stratton@shu.ac.uk

Recommended