diff --git a/bsp/default/root_file_system/etc/rc.local b/bsp/default/root_file_system/etc/rc.local index c3931af..82362bb 100755 --- a/bsp/default/root_file_system/etc/rc.local +++ b/bsp/default/root_file_system/etc/rc.local @@ -1,15 +1,6 @@ # Put your custom commands here that should be executed once # the system init finished. By default this file does nothing. -# batman seems to be to stupid to regocnice the devices -# todo: uci.get .. -batctl if add eth0.3 -batctl if add eth0.4 -batctl if add wlan0-1 - -#echo none > /sys/devices/platform/ar231x-wmac.0/leds/ath5k-phy0\:\:rx/trigger -#echo phy0tx > /sys/devices/platform/ar231x-wmac.0/leds/ath5k-phy0\:\:tx/trigger - # todo: all devices or only dir300 ? if uci get network.mesh.macaddr then @@ -33,6 +24,10 @@ else fi fi +batctl if add wlan0-1 +batctl if add br-ethmesh1 +batctl if add br-ethmesh2 + # Starting NTP-Client Daemon ntpd -p "fe80::201:2ff:fe03:405%br-mesh" diff --git a/bsp/dir300/root_file_system/etc/rc.local b/bsp/dir300/root_file_system/etc/rc.local index fc38e21..0effd21 100755 --- a/bsp/dir300/root_file_system/etc/rc.local +++ b/bsp/dir300/root_file_system/etc/rc.local @@ -1,15 +1,6 @@ # Put your custom commands here that should be executed once # the system init finished. By default this file does nothing. -# batman seems to be to stupid to regocnice the devices -# todo: uci.get .. -#batctl if add eth0.3 -#batctl if add eth0.4 -batctl if add wlan0-1 - -#echo none > /sys/devices/platform/ar231x-wmac.0/leds/ath5k-phy0\:\:rx/trigger -#echo phy0tx > /sys/devices/platform/ar231x-wmac.0/leds/ath5k-phy0\:\:tx/trigger - # todo: all devices or only dir300 ? if uci get network.mesh.macaddr then @@ -33,9 +24,12 @@ else fi fi +batctl if add wlan0-1 +batctl if add br-ethmesh1 +batctl if add br-ethmesh2 + # Starting NTP-Client Daemon -# uses to much ram -#ntpd -p "fe80::201:2ff:fe03:405%br-mesh" +ntpd -p "fe80::201:2ff:fe03:405%br-mesh" #. /etc/firewall.user diff --git a/bsp/fonera/root_file_system/etc/rc.local b/bsp/fonera/root_file_system/etc/rc.local index 7988ef6..5cda5ee 100755 --- a/bsp/fonera/root_file_system/etc/rc.local +++ b/bsp/fonera/root_file_system/etc/rc.local @@ -1,14 +1,6 @@ # Put your custom commands here that should be executed once # the system init finished. By default this file does nothing. -# batman seems to be to stupid to regocnice the devices -# todo: uci.get .. -#batctl if add eth0.3 -#batctl if add eth0.4 -batctl if add wlan0-1 - -#echo none > /sys/devices/platform/ar231x-wmac.0/leds/ath5k-phy0\:\:rx/trigger -#echo phy0tx > /sys/devices/platform/ar231x-wmac.0/leds/ath5k-phy0\:\:tx/trigger #. /etc/firewall.user @@ -40,8 +32,9 @@ else fi fi +batctl if add wlan0-1 + # Starting NTP-Client Daemon -# uses to much ram -#ntpd -p "fe80::201:2ff:fe03:405%br-mesh" +ntpd -p "fe80::201:2ff:fe03:405%br-mesh" exit 0 diff --git a/bsp/wr1043nd/root_file_system/etc/rc.local b/bsp/wr1043nd/root_file_system/etc/rc.local index 47e0ded..aee1ee1 100755 --- a/bsp/wr1043nd/root_file_system/etc/rc.local +++ b/bsp/wr1043nd/root_file_system/etc/rc.local @@ -14,23 +14,13 @@ # reboot #fi -#batctl if add eth0.3 -#batctl if add eth0.4 batctl if add wlan0-1 - -#ifconfig br-mesh down -#ifconfig br-mesh up - -#ifdown lan -#ifup lan +batctl if add br-ethmesh1 +batctl if add br-ethmesh2 # Starting NTP-Client Daemon ntpd -p "fe80::201:2ff:fe03:405%br-mesh" -#chown root.root /etc/crontabs/root -#/etc/init.d/cron stop -#/etc/init.d/cron start - . /etc/firewall.user /etc/init.d/qos disable diff --git a/bsp/wr741nd2/root_file_system/etc/rc.local b/bsp/wr741nd2/root_file_system/etc/rc.local index bb11927..be1dfd1 100755 --- a/bsp/wr741nd2/root_file_system/etc/rc.local +++ b/bsp/wr741nd2/root_file_system/etc/rc.local @@ -15,6 +15,8 @@ if [[ "$WLAN0_MACADDR=" != "$BRMESH_MACADDR=" ]]; then fi batctl if add wlan0-1 +batctl if add br-ethmesh1 +batctl if add br-ethmesh2 # Starting NTP-Client Daemon ntpd -p "fe80::201:2ff:fe03:405%br-mesh" diff --git a/bsp/wr741nd4/root_file_system/etc/rc.local b/bsp/wr741nd4/root_file_system/etc/rc.local index bb11927..be1dfd1 100755 --- a/bsp/wr741nd4/root_file_system/etc/rc.local +++ b/bsp/wr741nd4/root_file_system/etc/rc.local @@ -15,6 +15,8 @@ if [[ "$WLAN0_MACADDR=" != "$BRMESH_MACADDR=" ]]; then fi batctl if add wlan0-1 +batctl if add br-ethmesh1 +batctl if add br-ethmesh2 # Starting NTP-Client Daemon ntpd -p "fe80::201:2ff:fe03:405%br-mesh" diff --git a/bsp/wr841nd7/root_file_system/etc/rc.local b/bsp/wr841nd7/root_file_system/etc/rc.local index e44abfd..21586a9 100755 --- a/bsp/wr841nd7/root_file_system/etc/rc.local +++ b/bsp/wr841nd7/root_file_system/etc/rc.local @@ -15,6 +15,8 @@ if [[ "$WLAN0_MACADDR=" != "$BRMESH_MACADDR=" ]]; then fi batctl if add wlan0-1 +batctl if add br-ethmesh1 +batctl if add br-ethmesh2 # Starting NTP-Client Daemon ntpd -p "fe80::201:2ff:fe03:405%br-mesh"