Mesh: Difference between revisions

No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 7: Line 7:


These instructions worked for setting up an ad-hoc network in FxOS: http://www.olsr.org/?q=olsr_on_android
These instructions worked for setting up an ad-hoc network in FxOS: http://www.olsr.org/?q=olsr_on_android
=== Goals ===
==== ack/secretrobotron ====
We'd like to have a mesh networking track at Mozfest 2014.
* One-button mesh networking for FxOS
* Let's see how much of WebRTC we can get working
* We should (already?) have TCP and UDP available
** Slightly less interesting, because these APIs are not available for all web apps (only packaged apps)


=== Log ===
=== Log ===


==== Thu May 29 ===
Keeping track of what we're doing, and some things we learn along the way.


We (ack, ehsan) set up an ad-hoc network in FxOS on mako and a couple of laptops. FxOS disconnects sporadically from the ad-hoc network, possibly due to some timeout in Gaia (ad-hoc networks aren't detected/supported yet).
==== Thu May 29 ====
 
We (ack, ehsan) set up an ad-hoc network in FxOS on mako (using http://www.olsr.org/?q=olsr_on_android as a guide) and a couple of laptops. FxOS disconnects sporadically from the ad-hoc network, possibly due to some timeout in Gaia (ad-hoc networks aren't detected/supported yet).


Next steps:
Next steps:
* (ack) apply tzimmermann's patch (https://bug928362.bugzilla.mozilla.org/attachment.cgi?id=8425481) and try to get a stable ad-hoc network on my mako devices
* (ack) apply tzimmermann's patch (https://bug928362.bugzilla.mozilla.org/attachment.cgi?id=8425481) and try to get a stable ad-hoc network on my mako devices
* (ehsan) figure out exactly what OLSR does
* (ehsan) figure out exactly what OLSR does
=== Notes ===
==== Creating a wireless ad-hoc network (linux) ====
===== wpa_supplicant-adhoc.conf =====
<pre>
ctrl_interface=DIR=/run/wpa_supplicant GROUP=wheel
# use 'ap_scan=2' on all devices connected to the network
#ap_scan=2
network={
    ssid="meshed"
    bssid=6d:65:73:68:65:64
    mode=1
    frequency=2432
    proto=WPA
    key_mgmt=WPA-NONE
    pairwise=NONE
    group=TKIP
}
</pre>
  > wpa_supplicant -i wlp2s0 -c /etc/netctl/wpa_supplicant-adhoc.conf -D nl80211,wext

Latest revision as of 05:24, 4 August 2014

Mesh Networking (for FxOS)

IRC: #mesh on irc.mozilla.org

These instructions worked for setting up an ad-hoc network in FxOS: http://www.olsr.org/?q=olsr_on_android

Goals

ack/secretrobotron

We'd like to have a mesh networking track at Mozfest 2014.

  • One-button mesh networking for FxOS
  • Let's see how much of WebRTC we can get working
  • We should (already?) have TCP and UDP available
    • Slightly less interesting, because these APIs are not available for all web apps (only packaged apps)

Log

Keeping track of what we're doing, and some things we learn along the way.

Thu May 29

We (ack, ehsan) set up an ad-hoc network in FxOS on mako (using http://www.olsr.org/?q=olsr_on_android as a guide) and a couple of laptops. FxOS disconnects sporadically from the ad-hoc network, possibly due to some timeout in Gaia (ad-hoc networks aren't detected/supported yet).

Next steps:

Notes

Creating a wireless ad-hoc network (linux)

wpa_supplicant-adhoc.conf
ctrl_interface=DIR=/run/wpa_supplicant GROUP=wheel

# use 'ap_scan=2' on all devices connected to the network
#ap_scan=2

network={
    ssid="meshed"
    bssid=6d:65:73:68:65:64
    mode=1
    frequency=2432
    proto=WPA
    key_mgmt=WPA-NONE
    pairwise=NONE
    group=TKIP
}
 > wpa_supplicant -i wlp2s0 -c /etc/netctl/wpa_supplicant-adhoc.conf -D nl80211,wext