Tux-on-a-Box Straight through a web browser! PRESENTED BY: - - PowerPoint PPT Presentation

tux on a box
SMART_READER_LITE
LIVE PREVIEW

Tux-on-a-Box Straight through a web browser! PRESENTED BY: - - PowerPoint PPT Presentation

Tux-on-a-Box Straight through a web browser! PRESENTED BY: Suchakra The New Guy Distributed under do-whatever-you-want-with-this-stuff Licence Today's Menu An Embedded Linux shot! Collaborative and OTG development Shell


slide-1
SLIDE 1

Tux-on-a-Box

Straight through a web browser!

Suchakra

PRESENTED BY:

The New Guy

Distributed under “do-whatever-you-want-with-this-stuff” Licence

slide-2
SLIDE 2

Today's Menu

· An Embedded Linux shot! · Collaborative and OTG development · Shell through a browser - Ajaxterm · How the hell did they do it? · A board for the masses · An idea applied for education · Questions/Suggestions

slide-3
SLIDE 3

Embedded Linux Shot

slide-4
SLIDE 4

Anatomy

HANDHELD DEVICE SBC

BOOTLOADER ROOT FS KERNEL

EMBEDDED LINUX

Applications Libraries Device Drivers

slide-5
SLIDE 5

Development Setup

HANDHELD DEVICE SBC RS232 ETHERNET

HOST TERMINAL TARGET TERMINAL

SERIAL PORT COMMUNICATION PROGRAM TERMINAL EMULATOR

slide-6
SLIDE 6

Collaboration & Development OTG

slide-7
SLIDE 7

Collaboration

HOST TERMINAL TARGET TERMINAL

BOOTLOADER ROOT FS KERNEL TFTP/NFS SERVER

LAN/WAN

RS232 SSH

LAN/WAN

WORKSTATION #1

slide-8
SLIDE 8

I'm “On The Go”

· Carry hardware and related accessories. Duh! · Make sure the stuff remains unhurt · Set-up a development environment or have a VM ready · Use technique we discussed a while ago · I just wish it was as easy as checking my mail :)

slide-9
SLIDE 9

Shell Through a Browser

slide-10
SLIDE 10

What's that?

· Possible but not so popular · Mainly used for local admin tasks · Solutions available :

· PHPTerm · Anyterm · Ajaxterm · Shell In A Box

· Ajaxterm is quite easy to setup.

slide-11
SLIDE 11

Dissecting Ajaxterm

BROWSER bash Sarissa Library XmlHttp Request XmlHttp Request

TERMINAL innerHTML Key Activity

CLIENT SERVER

SERVER Session State

Key fifo Current Screen Previous Screen Dirty Flag

PTY Request Handling mod _ssl

Polling/ HTML Conversion/ Difference Check

slide-12
SLIDE 12

Board for the Masses

· Connect board to host through RS232 · Setup apache/httpd/boa on host · Setup Ajaxterm on host

· If outside local network, more config needed

· Setup serial communication tool

· minicom/picocom

· Get on the client and fire-up the shell in a browser.

slide-13
SLIDE 13

An Idea for Education

· Virtual Labs Project (MHRD) · Experiment to be performed remotely on the board · Its required that :

· Just a web browser to be the maximum requirement on client · To be compatible with non UNIX based OS also :(

· Web infrastructure for project : Open Source!

slide-14
SLIDE 14

Questions/Suggestions?

suchakra@fedoraproject.org

CONT ACT:

Distributed under “do-whatever-you-want-with-this-stuff” Licence