Internet of things - with routers

11
Internet of things with routers Tavish Naruka BaseApp Systems

Transcript of Internet of things - with routers

Internet of thingswith routers

Tavish NarukaBaseApp Systems

why● cheap, off the shelf● familiar software● connectivity● extensible

use cases● wireless gateway/router

○ wifi stations/mesh apart from ap○ other wireless on USB etc.○ one off mod ↓

modules● custom boards around SoMs● same software, expanded peripherals● serial, USB, SPI, I2C, i2s, GPIOs

OpenWrt● customizable linux distribution for space constrained

devices● ‘flashable’ f/w for supported devices● image is kernel+squashfs+jffs2● based on buildroot/uClibc● Many system programs are provided as busybox

symlinks

OpenWrt● based on http://buildroot.uclibc.org/● easy to modify text based config(UCI)● example:

config 'wifi-iface'

option 'device' radio0

option 'network''lan'

option 'mode' 'ap'

option 'ssid' 'MyWifiAP'

option 'encryption' 'psk2'

option 'key' 'secretkey'

● tools/configs available for:○ firewall, dhcp, networks, wifi, ssh,

system(ntp, LEDs)

flash layout

Tools: Binwalk and FMK(firmware mod kit)

A typical router

Simple single file c code.|-- Makefile -- openwrt makefile`-- src

|-- lpty.c`-- Makefile -- code makefile

Code makefile is:

sample package

projects● Freifunk - community wireless, B.A.T.M.A.N. mesh, porta2030● Fon - router/internet vendor, Openmesh, ISP routers etc.● Support for raspi, beaglebone, avr32, etc.● Arduino yun mcu+linux running SoC● Hak5 wifi pineapple - pentesting

we-io

vocore

fin

github.com/ntavishntavish.in

● Delhi open hardware http://tinyurl.com/delhioh● Delhi makers http://delhimakers.org

Also, Vivek Iyyer and me are going to do some experimentation with EEG, and we’ll build some Openbci kits, at:Ardubotics Makerspace, run by Himanshu Bablani(near Qutab Minar metro station)

People are welcome to join, or start something else too.

Similar groups