diff --git a/files/all/etc/collectd.conf b/files/all/etc/collectd.conf index 7dcad52..9ba64b0 100644 --- a/files/all/etc/collectd.conf +++ b/files/all/etc/collectd.conf @@ -93,8 +93,8 @@ LoadPlugin exec Exec "nobody" "/usr/share/collectd/wlstats_gather.sh" -LoadPlugin ethstat - +LoadPlugin interface + Interface "eth0" Interface "eth1" Interface "wlan0" diff --git a/prepwifi.sh b/prepwifi.sh index 7146be4..1acf648 100644 --- a/prepwifi.sh +++ b/prepwifi.sh @@ -27,4 +27,4 @@ while ! fping ${newip}; do sleep 5; done ssh-keygen -R ${newip} sleep 3 -ssh -o stricthostkeychecking=no root@${newip} "opkg remove wpad-mini; opkg remove wpad; opkg update && opkg install ebtables tcpdump bc iftop hostapd-openssl && reboot" +ssh -o stricthostkeychecking=no root@${newip} "opkg remove wpad-mini; opkg remove wpad; opkg update && opkg install ebtables tcpdump bc iftop hostapd-openssl collectd collectd-mod-iwinfo collectd-mod-interface collectd-mod-cpu collectd-mod-exec collectd-mod-load collectd-mod-memory collectd-mod-network && reboot"