150 likes | 219 Views
My NSLU2 (slug + urchin = slurchin?). Open Source Software Carlos Ramirez Martinez-Eiroa Professor: Corby Schmitz. Brief Description Why I chose it Learning objectives Project objectives Functionality. Tools License Tools to manage the project Packaging and distribution. Index.
E N D
My NSLU2(slug + urchin = slurchin?) Open Source Software Carlos Ramirez Martinez-Eiroa Professor: Corby Schmitz
Brief Description Why I chose it Learning objectives Project objectives Functionality Tools License Tools to manage the project Packaging and distribution Index
What’s an NSLU2? • Network Storage Link for USB 2.0 Disk Drives • Connects USB 1.1 or 2.0 disk drives and flash disks directly to your network
SlugOS/BE SlugOS/BE: Open source firmware for the Linksys NSLU2. Based on the Linksys firmware. The Slug (NLSU2) runs Linux => Linksys released the source code. SlugOS/BE takes the Linksys firmware and expands upon it.
Why I chose it • Big share of the software developed market is for embedded systems • Less common than web or desktop app development • More hardware in the market at “reasonable” prices that can be hacked
Learning objectives • Operating Systems: Linux • Build Tools: BuiltBake • Languages: C/C++, Python • Web services • NAT (Network Address Translation) => for the router the Slug connects to
Project objectives • Integrate great lightweight open source software with high quality cheap hardware • Create a basic home security system that can be accessed through the Internet
Why with a Slug? • A lot cheaper than using a full laptop or desktop • Open-source scripting languages such as Python are supported
Hardware • 1 slug • 1 flash memory (better an external hard drive) • 1 or more webcams (other sensors in the future) • Ethernet cable • Typical modem + router home network
Functionality • The camera starts recording when it detects movement • It saves the video for an X period of time, before overwriting it • The recordings can be accessed through the Internet • Exposes the monitoring functionality in a RESTful style
Extended functionality • Other sensors, such as: • Temperature • Smoke alarm
Tools • Eclipse • CDT plugin for C/C++ • Pydev plugin for Python • OpenEmbedded: “set of metadata used to cross-compile, package and install software packages” • BitBake: “controls how to build things and the build dependencies”
License • GNU General Public License (GPL)
Tools to manage the project • Provided by either SourceForge.net or GoogleCode: • Wiki • SVN Repository • Bug Tracker
Packaging and distribution • Source • Tar • Zip