Internet of things
with routers
Tavish Naruka
BaseApp 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/ntavish
ntavish.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

Internet of things - with routers

  • 1.
    Internet of things withrouters Tavish Naruka BaseApp Systems
  • 2.
    why ● cheap, offthe shelf ● familiar software ● connectivity ● extensible
  • 3.
    use cases ● wirelessgateway/router ○ wifi stations/mesh apart from ap ○ other wireless on USB etc. ○ one off mod ↓
  • 4.
    modules ● custom boardsaround SoMs ● same software, expanded peripherals ● serial, USB, SPI, I2C, i2s, GPIOs
  • 5.
    OpenWrt ● customizable linuxdistribution 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
  • 6.
    OpenWrt ● based onhttp://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)
  • 7.
    flash layout Tools: Binwalkand FMK(firmware mod kit) A typical router
  • 8.
    Simple single filec code . |-- Makefile -- openwrt makefile `-- src |-- lpty.c `-- Makefile -- code makefile Code makefile is: sample package
  • 9.
    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
  • 10.
  • 11.
    ● Delhi openhardware 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