Skip to content

Raspberry Pi watchdog for openHAB

The openHAB display in the kitchen is still the problem child. Occasionally it just stops, other times it does not refresh the HABpanel, even though it has a connection to the openHAB server. Then there is the problem with the network card in the Pi. And - ok, that's a server-side problem - occasionally the weather stops updating. All in all that's a lot of trouble for a display which is just supposed to run standalone.

In the latest iteration I looked into activating the integrated hardware watchdog in the Raspberry Pi. Checking the temperature it never goes above ~55°C celcius, even though the display is in an almost closed frame and can't exchange much heat with the environment. But nevertheless occasionally the Pi just halts, and stops operating.

 

Continue reading "Raspberry Pi watchdog for openHAB"
  • Twitter
  • Bookmark Raspberry Pi watchdog for openHAB at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Raspberry Pi watchdog for openHAB
  • Bloglines Raspberry Pi watchdog for openHAB
  • Technorati Raspberry Pi watchdog for openHAB
  • Fark this: Raspberry Pi watchdog for openHAB
  • Bookmark Raspberry Pi watchdog for openHAB at YahooMyWeb
  • Bookmark Raspberry Pi watchdog for openHAB at Furl.net
  • Bookmark Raspberry Pi watchdog for openHAB at reddit.com
  • Bookmark Raspberry Pi watchdog for openHAB at blinklist.com
  • Bookmark Raspberry Pi watchdog for openHAB at Spurl.net
  • Bookmark Raspberry Pi watchdog for openHAB at Simpy.com
  • Bookmark Raspberry Pi watchdog for openHAB at blogmarks
  • Bookmark Raspberry Pi watchdog for openHAB with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Identi.ca

Reboot the Raspberry Pi on network failures (brcmfmac: brcmf_cfg80211_scan: scan error -110)

In one of my earlier blog posts I reported that occasionally the HABpanel will disconnect from the server. Turns out it's not HABpanel, but it's the Pi itself which is causing the trouble. Part of the problem why it took me so long to investigate is that the display is in the kitchen, and someone had to have a look and spot the small red error message. To work around that problem, I hooked the device up in the network monitoring, and had an alarm triggered when the device is not reachable. Sure enough, that happens occasionally.

Because I moved /var/log to a small RAM disk to avoid wearing out the SDcard, all logs are lost once the device is rebooted. Had to bring keyboard and mouse to the kitchen in order to save the logfiles once the device was no longer reachable over the network.

 

Continue reading "Reboot the Raspberry Pi on network failures (brcmfmac: brcmf_cfg80211_scan: scan error -110)"
  • Twitter
  • Bookmark Reboot the Raspberry Pi on network failures (brcmfmac: brcmf_cfg80211_scan: scan error -110) at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Reboot the Raspberry Pi on network failures (brcmfmac: brcmf_cfg80211_scan: scan error -110)
  • Bloglines Reboot the Raspberry Pi on network failures (brcmfmac: brcmf_cfg80211_scan: scan error -110)
  • Technorati Reboot the Raspberry Pi on network failures (brcmfmac: brcmf_cfg80211_scan: scan error -110)
  • Fark this: Reboot the Raspberry Pi on network failures (brcmfmac: brcmf_cfg80211_scan: scan error -110)
  • Bookmark Reboot the Raspberry Pi on network failures (brcmfmac: brcmf_cfg80211_scan: scan error -110) at YahooMyWeb
  • Bookmark Reboot the Raspberry Pi on network failures (brcmfmac: brcmf_cfg80211_scan: scan error -110) at Furl.net
  • Bookmark Reboot the Raspberry Pi on network failures (brcmfmac: brcmf_cfg80211_scan: scan error -110) at reddit.com
  • Bookmark Reboot the Raspberry Pi on network failures (brcmfmac: brcmf_cfg80211_scan: scan error -110) at blinklist.com
  • Bookmark Reboot the Raspberry Pi on network failures (brcmfmac: brcmf_cfg80211_scan: scan error -110) at Spurl.net
  • Bookmark Reboot the Raspberry Pi on network failures (brcmfmac: brcmf_cfg80211_scan: scan error -110) at Simpy.com
  • Bookmark Reboot the Raspberry Pi on network failures (brcmfmac: brcmf_cfg80211_scan: scan error -110) at blogmarks
  • Bookmark Reboot the Raspberry Pi on network failures (brcmfmac: brcmf_cfg80211_scan: scan error -110) with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Identi.ca

Execute a required reboot, with Ansible (CentOS/Red Hat)

A while ago I blogged about executing a reboot using Ansible on Debian-based operating systems. That is necessary after certain updates, as example after installing a new kernel. Turns out that things are very easy on Debian, compared to Red Hat based systems (Red Hat and CentOS in my case).

First of all, there is no clear indicator if a reboot is required. People work around this problem by creating overly complicated scripts. The "needs-restarting" tool in newer versions provides the -r option to indicate if a reboot is required. But the CentOS 7 I've just installed does not come with this version.

 

Continue reading "Execute a required reboot, with Ansible (CentOS/Red Hat)"
  • Twitter
  • Bookmark Execute a required reboot, with Ansible (CentOS/Red Hat) at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Execute a required reboot, with Ansible (CentOS/Red Hat)
  • Bloglines Execute a required reboot, with Ansible (CentOS/Red Hat)
  • Technorati Execute a required reboot, with Ansible (CentOS/Red Hat)
  • Fark this: Execute a required reboot, with Ansible (CentOS/Red Hat)
  • Bookmark Execute a required reboot, with Ansible (CentOS/Red Hat) at YahooMyWeb
  • Bookmark Execute a required reboot, with Ansible (CentOS/Red Hat) at Furl.net
  • Bookmark Execute a required reboot, with Ansible (CentOS/Red Hat) at reddit.com
  • Bookmark Execute a required reboot, with Ansible (CentOS/Red Hat) at blinklist.com
  • Bookmark Execute a required reboot, with Ansible (CentOS/Red Hat) at Spurl.net
  • Bookmark Execute a required reboot, with Ansible (CentOS/Red Hat) at Simpy.com
  • Bookmark Execute a required reboot, with Ansible (CentOS/Red Hat) at blogmarks
  • Bookmark Execute a required reboot, with Ansible (CentOS/Red Hat) with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Identi.ca

Execute a required reboot, with Ansible (Debian/Ubuntu)

After updating Linux packages, it sometimes is required to reboot the host. Debian and Ubuntu provide this information by the presence of a special file: /var/run/reboot-required. Ansible makes it easy to reboot a host, but there are a few aspects which need attention.

 

Continue reading "Execute a required reboot, with Ansible (Debian/Ubuntu)"
  • Twitter
  • Bookmark Execute a required reboot, with Ansible (Debian/Ubuntu) at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Execute a required reboot, with Ansible (Debian/Ubuntu)
  • Bloglines Execute a required reboot, with Ansible (Debian/Ubuntu)
  • Technorati Execute a required reboot, with Ansible (Debian/Ubuntu)
  • Fark this: Execute a required reboot, with Ansible (Debian/Ubuntu)
  • Bookmark Execute a required reboot, with Ansible (Debian/Ubuntu) at YahooMyWeb
  • Bookmark Execute a required reboot, with Ansible (Debian/Ubuntu) at Furl.net
  • Bookmark Execute a required reboot, with Ansible (Debian/Ubuntu) at reddit.com
  • Bookmark Execute a required reboot, with Ansible (Debian/Ubuntu) at blinklist.com
  • Bookmark Execute a required reboot, with Ansible (Debian/Ubuntu) at Spurl.net
  • Bookmark Execute a required reboot, with Ansible (Debian/Ubuntu) at Simpy.com
  • Bookmark Execute a required reboot, with Ansible (Debian/Ubuntu) at blogmarks
  • Bookmark Execute a required reboot, with Ansible (Debian/Ubuntu) with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Identi.ca