Hi All,
I live in portland OR, and I am just recently getting interested in
wireless meshnets.
My current setup is two nodes, Raspberry Pi 2 Hardware, one with a tp-link
TL-WN722N, and the other with some sort of "panda wireless-n" adapter.
My problem is that I am getting around 30% dropped packets, and they are
about a foot apart, which makes me wonder if using a ad-hoc is a good idea
or not...
I have them both running Ubuntu 14.04
<https://wiki.ubuntu.com/ARM/RaspberryPi> and the most recent version of
cjdns.
My network configs are below:
root@ubuntu:~# cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
allow-hotplug eth0
iface eth0 inet dhcp
auto wlan0
allow-hotplug wlan0
iface wlan0 inet manual
wireless-channel 8
wireless-essid NeighborMesh
wireless-mode ad-hoc
So then I decided to just remove the wireless usb adapters, and run cjdns
over the eth0 interfaces, but I am still getting a consistent ~12% packet
drop with that:
--- fcfe:307d:38e5:5aa4:9bfc:a4ce:dd3d:969c ping statistics ---
76 packets transmitted, 67 received, 11% packet loss, time 75156ms
rtt min/avg/max/mdev = 2.378/26.382/196.791/51.318 ms
Pinging the IPv4 address outside of cjdns works great, always:
--- 192.168.0.226 ping statistics ---
24 packets transmitted, 24 received, 0% packet loss, time 23002ms
rtt min/avg/max/mdev = 0.640/0.675/0.783/0.036 ms
What am I doing wrong?
I *would* like to achieve standalone/independent wireless mesh nodes that
dont need a master access point to function. (I am imagining giving one to
my geek neighbor, and seeing if we can start a mini mesh network)
Does anyone have any suggestions?
-Cobin