Turning a WiFi Router into a general-purpose Network Device

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Favorites, Groups & Events

    Turning a WiFi Router into a general-purpose Network Device - Presentation Transcript

    1. Wolf Paulus Turning a WiFi Router into a general-purpose Network Device
    2. 1. Hardware 2. Operating System 3. Runtime Environment
    3. 8 MB Flash 8 to 16 MB RAM 183 MHz CPU (MIPS) 1 Ethernet Port (10 / 100 Mbit/s) Wireless: 802.11 b/g (54Mbit/s) 5V DC Power
    4. FON 2201 FON 2100 FON 2202 US$ 43 US$ 29 US$ 49
    5. Hardware Hacking
    6. USB to Serial Adapter req. RS232 Level Shifter
    7. 1. Hardware 2. Operating System 3. Runtime Environment
    8. Linux X-WRT DD-WRT OpenWrt LuCI FreeWRT 2004 . . . . . . . Linksys WRT54G Tomato HyperWrt
    9. HyperWrt based Tomato
    10. OpenWrt w/ X-WRT
    11. OpenWrt w/ LuCI
    12. DD-Wrt
    13. Linux X-WRT DD-WRT OpenWrt LuCI FreeWRT 2004 . . . . . . . Linksys WRT54G Tomato HyperWrt
    14. 1. Tools for building linux kernel and root file system 2. Small BusyBox / Linux distribution GPL licensed for embedded devices 3. Fully writable filesystem w/ package management IPKG or OPKG (automatic dependencies) 4. UCI (universal configuration interface) for system and package configuration
    15. inary le B Sing
    16. Fully writable filesystem w/ package management
    17. Demo
    18. Software Hacking
    19. 1. Make rootfs and kernel available via TFTP 2. Gaining access to the Boot Loader telnet 192.168.1.254 9000 ^C 3. Tell RedBoot the location of the tftp server RedBoot> ip_address -l 192.168.1.254/24 -h 192.168.1.2 4. Initialize the Flash Memory Partition Table Redboot> fis init 5. Load and write the root filesystem RedBoot> load -r -b 0x80041000 openwrt-atheros-root.squashfs RedBoot> fis create -l 0x06F0000 rootfs 6. Load and write the Linux kernel RedBoot> load -r -b 0x80041000 openwrt-atheros-vmlinux.lzma RedBoot> fis create -r 0x80041000 -e 0x80041000 vmlinux.bin.l7 7. Tell RedBoot which kernel to boot into RedBoot> fis load -l vmlinux.bin.l7 8. Boot into the new System RedBoot> exec
    20. Partition Table
    21. Demo
    22. 1. Hardware 2. Operating System 3. Runtime Environment
    23. Target devices CDC is intended for a broad range of resource- constrained devices such as smartphones, TV set- top boxes, telematics systems, and RFID readers. Typically, these devices include a 32-bit microcontroller and require about 2 MB of RAM and 2.5 MB of ROM for the Java runtime environment alone. Relationship with Java SE Each CDC version is based on a related Java SE software version. CDC 1.1 is based on J2SE version 1.4.2.
    24. • Foundation Profile 1.1 (JSR 219) • Core Java class library • No GUI support • Personal Basis Profile 1.1 (JSR 217) • Lightweight component support • xlet support • Personal Profile 1.1 (JSR 216) • Full AWT support • Applet support • CDC optional packages • RMI, Security (HTTPS), JDBC, Swing, etc.
    25. Core CDC Foundation Profile
    26. Java (CDC) for OpenWrt • Get the phoneME source from java.net • Mod. the make file to point into the OpenWrt toolchain • Run make in the OpenWrt SDK folder • Run make in the linux-mips-openwrt folder • Create the ipkg package structure • Move the file structure into the OpenWrt toolchain • Run make in the OpenWrt SDK folder
    27. https://phoneme.dev.java.net/ • How to build phoneME for OpenWrt • http://wolfpaulus.com/journal/embedded/fonera2.html • How to build phoneME for Mac OS X • http://markus.heberling.net/tag/phoneme/
    28. Building with phoneME javac -source 1.4 -target 1.4 *.java -classpath btclasses.zip:basis.jar <javac srcdir=\"${src}\" destdir=\"${build}\" classpath=\"btclasses.zip:basis.jar\" source=\"1.4\" target=\"1.4\" />
    29. Demo
    30. Amazon Elastic Compute Cloud (Amazon EC2) Google’s Application Engine Managed Hosting Enterprise Computing Infrastructure Home Netbooks Smart Phones ,TiVo, NetFlix Roku, AppleTV Embedded Devices, Storage (Ext. HardDrives, Drobo)
    31. Thanks for coming http://wolfpaulus.com © 2003-2006 Carlsbad Cubes © 2009 wolfpaulus.com
    SlideShare Zeitgeist 2009

    + Wolf PaulusWolf Paulus Nominate

    custom

    847 views, 0 favs, 0 embeds more stats

    Embedded systems are increasingly present in our li more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 847
      • 847 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 0
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories