跳转到主要内容
通用技术,上课易!

Main navigation

  • 首页
  • (苏)技术与设计1
  • (苏)技术与设计2
  • App Inventor 2项目
  • 树莓派项目
  • OTTO 项目
User account menu
  • 登录

面包屑

  1. 首页
  2. 树莓派 开源课程

安装看门狗watchdog

由 FsTy, 10 一月, 2016

1.sudo modprobe bcm2708_wdog

2.sudo nano /etc/modules
 加入一行 "bcm2708_wdog"

3.sudo apt-get install watchdog

4.sudo apt-get install chkconfig

5.sudo chkconfig watchdog on

6.sudo nano /etc/watchdog.conf

#ping                   = 172.31.14.1
#ping                   = 172.26.1.255
#interface              = eth0
#file                   = /var/log/messages
#change                 = 1407

# Uncomment to enable test. Setting one of these values to '0' disables it.
# These values will hopefully never reboot your machine during normal use
# (if your machine is really hung, the loadavg will go much higher than 25)
max-load-1              = 24
#max-load-5             = 18
#max-load-15            = 12

# Note that this is the number of pages!
# To get the real size, check how large the pagesize is on your machine.
min-memory              = 1
#allocatable-memory     = 1

#repair-binary          = /usr/sbin/repair
#repair-timeout         =
#test-binary            =
#test-timeout           =

watchdog-device = /dev/watchdog

# Defaults compiled into the binary
temperature-device      =/sys/class/thermal/thermal_zone0/temp
max-temperature = 7500

# Defaults compiled into the binary
#admin                  = root
#interval               = 1
#logtick                = 1
#log-dir                = /var/log/watchdog

# This greatly decreases the chance that watchdog won't be scheduled before
# your machine is really loaded
realtime                = yes
priority                = 1

# Check if rsyslogd is still running by enabling the following line
#pidfile                = /var/run/rsyslogd.pid

7. sudo /etc/init.d/watchdog start

参考资料:http://www.eeboard.com/bbs/thread-6763-1-1.html

  • 登录或注册以发表评论
  • 18 次浏览

书籍遍历链接: 安装看门狗watchdog

  • 安装 xrdp 服务,使用微软自带的远程桌面连接终端
  • 向上
  • 定时运行程序crontab

Book navigation

  • SSH与PUTTY相关。
  • 中文字体
  • 串口条码扫描枪 MAX3232(R232转TTL) CP2102(USB转TTL)
  • 使用3.5寸触摸屏
  • 增加关机按钮
  • 安装 vsftpd
  • 安装 xrdp 服务,使用微软自带的远程桌面连接终端
  • 安装看门狗watchdog
  • 定时运行程序crontab
  • 开机后ntpdate 或者 htpdate
  • 捡到一个Paragon ExtFS for Windows Professional
  • 新系统写入TF卡后基本操作
  • 无线网卡设置
  • 树莓派LXDE桌面添加一个图标
  • 树莓派PYTHON使用rs232 接一维条码模块
  • 树莓派上使用爱宝BC-58120TF(佳博GP-2120TF)热敏条码/标签打印机
  • 树莓派使用12864液晶显示屏
  • 树莓派使用DS3231时钟芯片
  • 树莓派系统下载
  • 系统程序升级,python pip 升级
RSS feed
Powered by Drupal