A possibly important caveat about using the ath9k_htc-based USB wifi dongles under Debian derivatives is to make sure you have the latest compat-wireless drivers.  OpenWRT surprisingly far ahead of the larger distros in terms of adopting the latest and greatest from <a href="http://wireless.kernel.org">wireless.kernel.org</a>.<br>
<br>I've done this in VMware-based Ubuntu nodes just by installing the package <b>linux-backports-modules-cw-3.</b><b>6-quantal-generic</b>.  For Debian, it looks like the relevant package from backports is <b>firmware-atheros</b>.  You would probably need to compile that package for relevant kernel version and rPI target within your toolchain.<br>
<div style="text-align:right"><br></div>As for USB, besides using a separate hub, I think one could readily hack into the 5V / GND wires on the cable between the rPI and the wifi dongle to insert a separate 5V supply capable of supplying up to 1A.  Just be mindful not to tear open the shield around the diff pairs in the USB cable (or not too badly).  Enclosing all such hackery in shrink-wrap could even make it look presentable. ;)<br>
<br><div class="gmail_quote">On Mon, Apr 22, 2013 at 1:05 PM, The Doctor <span dir="ltr"><<a href="mailto:drwho@virtadpt.net" target="_blank">drwho@virtadpt.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<div class="im"><br>
On 04/22/2013 09:47 AM, Dan Staples wrote:<br>
<br>
> OLSR to allow them to mesh multi-hop. I also had them running from<br>
> battery packs I got from Radio Shack :)<br>
<br>
</div>What kind of battery packs were you using for them?  What's their<br>
discharge profile look like?<br>
<div class="im"><br>
> a custom Commotion Raspbian image that you can put on an SD card<br>
> and boot your RPi from.<br>
<br>
</div>A few things about building on top of Raspbian:<br>
<br>
Raspbian/Wheezy is remarkably stable at this point in time.  Keep in<br>
mind that even if you have the experimental repository turned on,<br>
everything available will still be a couple of releases behind.  If<br>
something goes wonky, you might want to look into a custom compile of<br>
the package with a newer checkout.<br>
<br>
Make Debian packages for your code and build a repository for them.<br>
You won't be sorry.<br>
<br>
AIDE and Blueprint are good for keeping track of the Debian-level<br>
config files that you'll have to modify to make everything work<br>
smoothly.  You'll have to reconfigure more than it seems at first scratch.<br>
<br>
For what it's worth, we used the packaged version of olsrd in the<br>
Wheezy repository (0.6.2-2.1) with the version we built for Byzantium<br>
v0.3a (v0.6.4) and encountered no compatibility problems.  Your<br>
olsrd.conf file Just Worked(tm) with it. :)<br>
<br>
To free up compute cycles, turn off the X desktop.  You won't be sorry.<br>
<div class="im"><br>
> As for wifi cards, I recommend any USB cards that use the<br>
> ath9k_htc driver. My top choices for cards are:<br>
<br>
</div>These are what we got to work when we ported Byzantium to the RasPi:<br>
<br>
<a href="https://github.com/Byzantium/ByzPi/wiki/ByzPi---Byzantium-on-Raspberry-Pi-Network-Hardware-Information" target="_blank">https://github.com/Byzantium/ByzPi/wiki/ByzPi---Byzantium-on-Raspberry-Pi-Network-Hardware-Information</a><br>

<div class="im"><br>
> I have only tested #1 with the RPi. I am worried about #4 working<br>
> with the RPi, in terms of its power consumption. But in general,<br>
> the<br>
<br>
</div>If the power consumption of a wireless interface gives you problems,<br>
plug it into a powered USB hub.  We have a couple of setups in which<br>
the RasPi and wireless device are plugged into (and thus powered by)<br>
such a thing, and it makes for a neat development package.<br>
<br>
- --<br>
The Doctor [412/724/301/703] [ZS]<br>
Developer, Project Byzantium: <a href="http://project-byzantium.org/" target="_blank">http://project-byzantium.org/</a><br>
<br>
PGP: 0x807B17C1 / 7960 1CDC 85C9 0B63 8D9F  DD89 3BD8 FF2B 807B 17C1<br>
WWW: <a href="https://drwho.virtadpt.net/" target="_blank">https://drwho.virtadpt.net/</a><br>
<br>
Disclaimer: I am not Rache Bartmoss.<br>
<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v2.0.19 (GNU/Linux)<br>
Comment: Using GnuPG with Thunderbird - <a href="http://www.enigmail.net/" target="_blank">http://www.enigmail.net/</a><br>
<br>
iEYEARECAAYFAlF1e9wACgkQO9j/K4B7F8HiIACg7yZJ70QPif84KrNXCgNhcZNQ<br>
SlcAoNGavSjRxGuVroQhy5DIYl2bPLDq<br>
=cO/Q<br>
-----END PGP SIGNATURE-----<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
Commotion-dev mailing list<br>
<a href="mailto:Commotion-dev@lists.chambana.net">Commotion-dev@lists.chambana.net</a><br>
<a href="https://lists.chambana.net/mailman/listinfo/commotion-dev" target="_blank">https://lists.chambana.net/mailman/listinfo/commotion-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Ben West<div><a href="http://gowasabi.net" target="_blank">http://gowasabi.net</a><br><a href="mailto:ben@gowasabi.net" target="_blank">ben@gowasabi.net</a><br>
314-246-9434<br></div>