hwmn / hwmnos

OpenWRT customizations for HWMN purposes
GNU General Public License v2.0
5 stars 0 forks source link

babeld requires restart a few minutes after reboot #8

Open gkiagia opened 9 years ago

gkiagia commented 9 years ago

It looks like something goes wrong at startup and no routes are discovered. One needs to wait for boot to complete and then restart babeld. I am observing this currently on my 450G at home.

gkiagia commented 9 years ago

It turns out that babeld has more problems even.

1) It often crashes 2) It often loses the network and requires a restart

What I have done to fix it is I have installed this script to run every 10 minutes as a cron job:

#!/bin/sh

lines=`ps w | grep babel | grep -v grep | wc -l`
if [ "$lines" -eq "0" ]
then
  echo "restarting babeld"
  rm /var/run/babeld.pid
  /etc/init.d/babeld start
else
  echo "babeld running"
  /etc/init.d/babeld restart
fi
sque commented 9 years ago

Let's see, we 've got 15 at least installations of the babeld. In some links the connectivity is worst than in your place. It only crashes at your place, so I am wondering, is there a possibility that somethings has gone wrong with the hwmnos it self?