Difference between revisions of "Mesh/WalkThrough"

970 bytes added ,  16:37, 1 December 2013
added firmware feed info
(added firmware build information)
(added firmware feed info)
Line 1: Line 1:
The following walk through assumes you're using linux and knowledge of terminal. The basic idea of getting a node (router) on the mesh consists of flashing (copying files to the flash) an operating system to node and installing additional drivers and packages. We use [https://openwrt.org/ OpenWRT] as the operating system on our embedded devices (routers), then connect to the node (via [https://en.wikipedia.org/wiki/Secure_Shell SSH]) and install mesh the related software and configure it. The operating system typically fits on 4MB-8MB
The following walk through assumes you're using linux and knowledge of terminal. The basic idea of getting a node (router) on the mesh consists of flashing (copying files to the flash) an operating system to node and installing additional drivers and packages. We use [https://openwrt.org/ OpenWRT] as the operating system on our embedded devices (routers), then connect to the node (via [https://en.wikipedia.org/wiki/Secure_Shell SSH]) and install mesh the related software and configure it. This operating system is meant to fit on small amount (4MB) of flash memory.


=Building an OpenWRT image=
=Building an OpenWRT image=
Line 20: Line 20:
*: <code>$ ./scripts/feeds update -a</code>
*: <code>$ ./scripts/feeds update -a</code>
*: <code>$ ./scripts/feeds install -a</code> (if you want to install all feeds)
*: <code>$ ./scripts/feeds install -a</code> (if you want to install all feeds)
*Run the Buildroot
*: <code>$ make defconfig</code> (build list of dependencies)
*: <code>$ make prereq</code> (install dependencies)
*: <code>$ make menuconfig</code> (run the software)
If you're still missing software, then you'll have to manually install it.
==Step Two: Install Feeds==
There are other feeds than the standard that you may want to be available to Buildroot. These are the suggested feeds for nodes: 
*Find the drivers for your device.
*: Determine drivers for your router based on the chipset (ex. Atheros AR9331)
*: The open source driver for ''this example'' is [http://wireless.kernel.org/en/users/Drivers/ath9k Ath9k]. ([http://wireless.kernel.org/en/users/Drivers all drivers for linux])
*Install the driver feed.
*: <code>$ ./scripts/feeds install <PACKAGENAME></code> (ex. kmod-ath9k)
[http://wiki.openwrt.org/doc/howto/wireless.overview Other feeds for OpenWRT].
==Step Three: Build the Firmware==


=Installing OpenWRT=
=Installing OpenWRT=
289

edits