<div dir='auto'><div dir="auto">I cannot seem to get babeld to work. I imagine it's something silly. If anyone could point out what I'm doing wrong, it would be a huge help. I've been mostly following the instructions here with no luck: https://github.com/jech/babeld</div><div dir="auto"><br></div><div dir="auto">The setup consists of two Raspberry Pis with USB wifi devices. The wifi devices are placed into ad-hoc mode with the following commands:</div><div dir="auto">    sudo ip link set wlan1 down</div><div dir="auto">    sudo iwconfig wlan1 mode ad-hoc channel 1 essid "babeltest"</div><div dir="auto">    sudo ip link set up dev wlan1</div><div dir="auto"><br></div><div dir="auto">IP addresses are assigned to the interface with the following commands:</div><div dir="auto">    sudo ip addr add 10.0.1.1/16 dev wlan1</div><div dir="auto">    sudo ip -6 addr add $(generate-ipv6-address -r)/128 dev wlan1</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">These same steps are repeated on Pi number 2, but with an ipv4 address of 10.0.2.1. At this point both of them can ping each other at their ipv4 address via the wlan1 interface.</div><div dir="auto"><br></div><div dir="auto">Attempting to run babeld on wlan1 will result in an error regarding a lack of link-local address. The specific message is:</div><div dir="auto">    Interface wlan1 has no link-local address.</div><div dir="auto">    setsockopt(IPV6_LEAVE_GROUP): Cannot assign requested address</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">The guide on github mentions adding a link local address for VPNs, and since the above error seems related, the following command was issued on both of the Pis:</div><div dir="auto">    sudo ip -6 addr add $(generate-ipv6-address fe80::) dev wlan1</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">I don't know if this is the right thing to do, but it resolves the link-local error. The ifconfig output for wlan1 on Pi number 2 shows the following after doing so:</div><div dir="auto"><br></div><div dir="auto">wlan1: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500</div><div dir="auto">        inet 10.0.2.1  netmask 255.255.0.0  broadcast 0.0.0.0</div><div dir="auto">        inet6 fdf8:2c6e:fe5a:0:9caf:84:72db:c7d4  prefixlen 128  scopeid 0x0<global></div><div dir="auto">        inet6 fe80::a8d8:b516:ece7:7059  prefixlen 128  scopeid 0x20<link></div><div dir="auto">        ether 10:0d:7f:b3:f3:0f  txqueuelen 1000  (Ethernet)</div><div dir="auto">        RX packets 229  bytes 32632 (31.8 KiB)</div><div dir="auto">        RX errors 0  dropped 0  overruns 0  frame 0</div><div dir="auto">        TX packets 229  bytes 34568 (33.7 KiB)</div><div dir="auto">        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">Running babeld still doesn't seem to work though.</div><div dir="auto">=====</div><div dir="auto">sudo babeld -d 2 wlan1</div><div dir="auto">Noticed ifindex change for wlan1.</div><div dir="auto">Noticed status change for wlan1.</div><div dir="auto">Noticed IPv4 change for wlan1.</div><div dir="auto">Upped interface wlan1 (cost=256, channel=1, IPv4).</div><div dir="auto">Sending hello 21160 (400) to wlan1.</div><div dir="auto">Sending self update to wlan1.</div><div dir="auto">Sending update to wlan1 for any.</div><div dir="auto">Sending self update to wlan1.</div><div dir="auto">Sending update to wlan1 for any.</div><div dir="auto">sending request for any.</div><div dir="auto"><br></div><div dir="auto">Checking kernel routes.</div><div dir="auto">  (flushing 12 buffered bytes)</div><div dir="auto">send: Cannot assign requested address</div><div dir="auto">Sending hello 21161 (400) to wlan1.</div><div dir="auto">  (flushing 20 buffered bytes)</div><div dir="auto">send: Cannot assign requested address</div><div dir="auto">Sending hello 21162 (400) to wlan1.</div><div dir="auto">Sending self update to wlan1.</div><div dir="auto">Sending update to wlan1 for 10.0.2.1/32 from 0.0.0.0/0.</div><div dir="auto">Sending update to wlan1 for 10.13.37.126/32 from 0.0.0.0/0.</div><div dir="auto">Sending update to wlan1 for fdf8:2c6e:fe5a:0:9caf:84:72db:c7d4/128 from ::/0.</div><div dir="auto">  (flushing 3 buffered updates on wlan1 (4))</div><div dir="auto">sending request for any.</div><div dir="auto">  (flushing 104 buffered bytes)</div><div dir="auto">send: Cannot assign requested address</div><div dir="auto">Entering main loop.</div><div dir="auto">Sending hello 21163 (400) to wlan1.</div><div dir="auto"><br></div><div dir="auto">My id e6:5f:01:ff:fe:7d:76:9d seqno 59476</div><div dir="auto">10.0.2.1/32 from 0.0.0.0/0 metric 0 (exported)</div><div dir="auto">10.13.37.126/32 from 0.0.0.0/0 metric 0 (exported)</div><div dir="auto">fdf8:2c6e:fe5a:0:9caf:84:72db:c7d4/128 from ::/0 metric 0 (exported)</div><div dir="auto">Checking neighbours.</div><div dir="auto"><br></div><div dir="auto">My id e6:5f:01:ff:fe:7d:76:9d seqno 59476</div><div dir="auto">10.0.2.1/32 from 0.0.0.0/0 metric 0 (exported)</div><div dir="auto">10.13.37.126/32 from 0.0.0.0/0 metric 0 (exported)</div><div dir="auto">fdf8:2c6e:fe5a:0:9caf:84:72db:c7d4/128 from ::/0 metric 0 (exported)</div><div dir="auto">  (flushing 8 buffered bytes)</div><div dir="auto">send: Cannot assign requested address</div><div dir="auto"><br></div><div dir="auto">My id e6:5f:01:ff:fe:7d:76:9d seqno 59476</div><div dir="auto">10.0.2.1/32 from 0.0.0.0/0 metric 0 (exported)</div><div dir="auto">10.13.37.126/32 from 0.0.0.0/0 metric 0 (exported)</div><div dir="auto">fdf8:2c6e:fe5a:0:9caf:84:72db:c7d4/128 from ::/0 metric 0 (exported)</div><div dir="auto">=====</div><div dir="auto"><br></div><div dir="auto">There are constant "send:" errors. There is never any indication that the hello message makes it to the other Pi, nor does anything show that hello messages are being received on this Pi. I've tried all three possible combinations of assigning ipv6 addresses but it makes no difference. Pinging the ipv4 addresses works though, so I know the Pis are able to communicate over wlan1. I think I'm missing something else but I don't know what it is. Any ideas?</div><div dir="auto"><br></div><div dir="auto">Thanks,</div><div dir="auto">Bobby</div></div>