From fe192d9a2135a8c46b48eaf8791ef22186abca85 Mon Sep 17 00:00:00 2001 From: Tim Niemeyer Date: Sat, 14 Sep 2013 00:07:17 +0200 Subject: [PATCH] wlanwatchdog: do not use fixed addr for the gateway Signed-off-by: Tim Niemeyer --- bsp/default/root_file_system/etc/wlanwatchdog.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bsp/default/root_file_system/etc/wlanwatchdog.sh b/bsp/default/root_file_system/etc/wlanwatchdog.sh index 0b5c087..ed46ea6 100755 --- a/bsp/default/root_file_system/etc/wlanwatchdog.sh +++ b/bsp/default/root_file_system/etc/wlanwatchdog.sh @@ -35,9 +35,9 @@ debug_output() { brctl showmacs $BRIDGE_INTERFACE 2>&1 echo "=== CONNECTIVITY TESTS ===" echo "== PING GATEWAY OVER MESH ==" - ping -6 -c3 fe80::201:2ff:fe03:405%$BRIDGE_INTERFACE 2>&1 - echo "== PING GATEWAY OVER INTERNET ==" - ping -4 -c3 vpn.freifunk-ol.de 2>&1 + ping -6 -c3 $(uci get configurator.@api[0].ipv6_address)%$(uci get configurator.@api[0].ipv6_interface) 2>&1 + echo "== PING HOST OVER INTERNET ==" + ping -4 -c3 freifunk-ol.de 2>&1 echo "=== WLAN ===" echo "== $WLAN_CLIENT_INTERFACE ==" iw dev $WLAN_CLIENT_INTERFACE station dump 2>&1