Sensor Network: IoT World for the Future
Sensor Network: IoT World for the Future

Dragino LG01 gateway設定メモ


/etc/config/system に設定がある

uci set system.@system[0].hostname=’xxxxx’ uci commit system /etc/init.d/system reload

2) cron で定期的に再起動


# Reboot at 4:30am every day
# Note: To avoid infinite reboot loop, wait 70 seconds
# and touch a file in /etc so clock will be set
# properly to 4:31 on reboot before cron starts.
30 04 * * * sleep 70 && touch /etc/banner && reboot

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.