To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit f05bbb44 authored by Roman Trüb's avatar Roman Trüb

Merge branch 'master' of gitlab.ethz.ch:tec/public/flocklab

parents d775e338 f223eeae
......@@ -8,14 +8,21 @@ iface lo inet loopback
# Wired interfaces
#
# Dynamic IP (DHCP)
auto eth0
iface eth0 inet static
address 129.132.177.XX
netmask 255.255.255.192
broadcast 129.132.177.127
gateway 129.132.177.65
up /bin/echo -en 'search ethz.ch\nnameserver 129.132.119.181\n' | /sbin/resolvconf -a eth0 -m 1; /usr/sbin/ifmetric eth0 1
down /sbin/resolvconf -d eth0
#allow-hotplug eth0
iface eth0 inet dhcp
udhcpc_opts -x hostname:flocklab-observer029.flocklab-dyn.ethz.ch
# Static IP
#auto eth0
#iface eth0 inet static
# address 129.132.177.95
# netmask 255.255.255.192
# broadcast 129.132.177.127
# gateway 129.132.177.65
# up /bin/echo -en 'search ethz.ch\nnameserver 129.132.119.181\n' | /sbin/resolvconf -a eth0 -m 1; /usr/sbin/ifmetric eth0 1
# down /sbin/resolvconf -d eth0
#
......
......@@ -386,12 +386,12 @@ if [ ! "$2" = "-sdsetuponly" ]; then
echo "Upload and register watchdogs...";
scp network/ping_watchdog.sh root@$GUMSTIX:/usr/bin/.;
ssh root@$GUMSTIX "sed -i '/ping_watchdog\.sh/d' /etc/crontab";
ssh root@$GUMSTIX "echo \"*/2 * * * * root /usr/bin/ping_watchdog.sh carrel 8.8.8.8 10\" >> /etc/crontab";
ssh root@$GUMSTIX "echo \"*/2 * * * * root /usr/bin/ping_watchdog.sh whymper 8.8.8.8 10\" >> /etc/crontab";
fi
if [ ! "$2" = "-sdsetuponly" ]; then
# adjust the DHCP client
ssh root@$GUMSTIX "sed -i 's/\/etc\//\/var\/tmp\//g' /etc/udhcpc.d/50default";
ssh root@$GUMSTIX "sed -i 's/\/etc\/udhcpc.d/\/var\/tmp/' /etc/udhcpc.d/50default";
fi
echo "Creating directory needed for flocklab tests...";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment