[Babel-users] Communication broken on reboot/interface restart

Jeremy DIERX j.dierx at microfilms.fr
Thu Dec 19 08:38:39 UTC 2013


Hello!

I use babel in a project with 6-10 raspberry pi under Archlinux and 1 serveur under Archlinux.
To access the server, the Rpis and the server use wirless and a babel mesh network.

When I start one Rpi and the server, all is ok, Rpi ping server and server ping Rpi via babel.
But when I reboot one, the pings failed, the communication doesn't restart.

I use babelweb on the server to check connectivity and all seems to be done after restart...
The debug babel logs seems to be ok on both Rpi and server after restart to...


I don't understand why communication doesn't restart after reboot!

Could you help me please?


On boot I do :

Rpi 1 (192.168.13.1)
--------------------

ip link set eth0 down && ip link set eth0 up
ip link show ra0

2: ra0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
    link/ether 08:86:3b:f9:8f:97 brd ff:ff:ff:ff:ff:ff

ip addr add 192.168.13.1 dev ra0
ping 192.168.13.1 => ok

iwconfig ra0 mode Ad-Hoc channel 48 essid "redmesh13"
iwconfig ra0

ra0       Ralink STA  ESSID:"redmesh13"  Nickname:"RT2870STA"
          Mode:Ad-Hoc  Frequency=5.24 GHz  Cell: CA:3A:D7:07:46:F9   
          Bit Rate=270 Mb/s   
          RTS thr:off   Fragment thr:off
          Encryption key:off
          Link Quality=100/100  Signal level:-47 dBm  Noise level:-60 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

babeld -d 3 -w ra0


On Server (192.168.13.101
-------------------------

ip link set eth0 down && ip link set eth0 up
ip link show ra0

2: ra0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
    link/ether 08:86:3b:f9:8f:97 brd ff:ff:ff:ff:ff:ff

ip addr add 192.168.13.101 dev ra0
ping 192.168.13.101 => ok

iwconfig ra0 mode Ad-Hoc channel 48 essid "redmesh13"
iwconfig ra0

ra0       Ralink STA  ESSID:"redmesh13"  Nickname:"RT2870STA"
          Mode:Ad-Hoc  Frequency=5.24 GHz  Cell: CA:3A:D7:07:46:F9   
          Bit Rate=270 Mb/s   
          RTS thr:off   Fragment thr:off
          Encryption key:off
          Link Quality=100/100  Signal level:-47 dBm  Noise level:-60 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

babeld -d 3 -g 33123 -w ra0
ping 192.168.13.1 => ok

Ok, it works on first boot of Rpi and server but not after a reboot.


--
Jérémy Dierx  - Full Stack Web Dev
Microfilms SA - Service R&D



More information about the Babel-users mailing list