openwrt: changed ntpclient interval to 600 and wifi LED blink behaviour
This commit is contained in:
parent
714c91462b
commit
8dc6c8f910
|
@ -1,7 +1,7 @@
|
||||||
#
|
#
|
||||||
# Automatically generated make config: don't edit
|
# Automatically generated make config: don't edit
|
||||||
# OpenWrt version: Kamikaze (r16491)
|
# OpenWrt version: Kamikaze (r16491)
|
||||||
# Thu Jun 18 23:48:14 2009
|
# Sun Jun 21 11:25:33 2009
|
||||||
#
|
#
|
||||||
CONFIG_HAVE_DOT_CONFIG=y
|
CONFIG_HAVE_DOT_CONFIG=y
|
||||||
# CONFIG_TARGET_ppc40x is not set
|
# CONFIG_TARGET_ppc40x is not set
|
||||||
|
@ -729,8 +729,10 @@ CONFIG_BUSYBOX_CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS=y
|
||||||
# CONFIG_BUSYBOX_CONFIG_IP is not set
|
# CONFIG_BUSYBOX_CONFIG_IP is not set
|
||||||
# CONFIG_BUSYBOX_CONFIG_IPCALC is not set
|
# CONFIG_BUSYBOX_CONFIG_IPCALC is not set
|
||||||
# CONFIG_BUSYBOX_CONFIG_NAMEIF is not set
|
# CONFIG_BUSYBOX_CONFIG_NAMEIF is not set
|
||||||
# CONFIG_BUSYBOX_CONFIG_NC is not set
|
CONFIG_BUSYBOX_CONFIG_NC=y
|
||||||
CONFIG_BUSYBOX_CONFIG_NETMSG=y
|
CONFIG_BUSYBOX_CONFIG_NETMSG=y
|
||||||
|
# CONFIG_BUSYBOX_CONFIG_NC_SERVER is not set
|
||||||
|
# CONFIG_BUSYBOX_CONFIG_NC_EXTRA is not set
|
||||||
CONFIG_BUSYBOX_CONFIG_NETSTAT=y
|
CONFIG_BUSYBOX_CONFIG_NETSTAT=y
|
||||||
CONFIG_BUSYBOX_CONFIG_FEATURE_NETSTAT_WIDE=y
|
CONFIG_BUSYBOX_CONFIG_FEATURE_NETSTAT_WIDE=y
|
||||||
CONFIG_BUSYBOX_CONFIG_NSLOOKUP=y
|
CONFIG_BUSYBOX_CONFIG_NSLOOKUP=y
|
||||||
|
|
|
@ -0,0 +1,17 @@
|
||||||
|
kernel.panic=3
|
||||||
|
net.ipv4.conf.default.arp_ignore=1
|
||||||
|
net.ipv4.conf.all.arp_ignore=1
|
||||||
|
net.ipv4.ip_forward=1
|
||||||
|
net.ipv4.icmp_echo_ignore_broadcasts=1
|
||||||
|
net.ipv4.icmp_ignore_bogus_error_responses=1
|
||||||
|
net.ipv4.tcp_ecn=1
|
||||||
|
net.ipv4.tcp_fin_timeout=30
|
||||||
|
net.ipv4.tcp_keepalive_time=120
|
||||||
|
net.ipv4.tcp_syncookies=1
|
||||||
|
net.ipv4.tcp_timestamps=0
|
||||||
|
net.ipv4.netfilter.ip_conntrack_tcp_timeout_established=3600
|
||||||
|
net.ipv4.netfilter.ip_conntrack_udp_timeout=60
|
||||||
|
net.ipv4.netfilter.ip_conntrack_udp_timeout_stream=180
|
||||||
|
# net.ipv6.conf.all.forwarding=1
|
||||||
|
dev.wifi0.ledpin=4
|
||||||
|
dev.wifi0.softled=1
|
|
@ -1,5 +1,5 @@
|
||||||
# Copyright (c) 2008 jokamajo.org
|
# Copyright (c) 2008 jokamajo.org
|
||||||
# $Id: Makefile 3 2008-08-07 16:00:00Z icarus75 $
|
# $Id$
|
||||||
|
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
-- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
--
|
--
|
||||||
-- $Id: auth.lua 1 2009-03-13 13:40:00Z icarus75 $
|
-- $Id$
|
||||||
--
|
--
|
||||||
|
|
||||||
require 'luci.model.uci'
|
require 'luci.model.uci'
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
-- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
--
|
--
|
||||||
-- $Id: data.lua 1 2009-01-31 22:30:00Z icarus75 $
|
-- $Id$
|
||||||
--
|
--
|
||||||
|
|
||||||
local os, math, table =
|
local os, math, table =
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
-- Vardump: The Power of Seeing What's Behind
|
-- Vardump: The Power of Seeing What's Behind
|
||||||
-- Copyright 2008 by Tobias Sülzenbrück and Christoph Beckmann
|
-- Copyright 2008 by Tobias Sülzenbrück and Christoph Beckmann
|
||||||
--
|
--
|
||||||
-- $Id: dbg.lua 1 2009-01-31 22:30:00Z icarus75 $
|
-- $Id$
|
||||||
--
|
--
|
||||||
|
|
||||||
local getfenv, getmetatable, print, pairs, type, tostring = getfenv, getmetatable, print, pairs, type, tostring
|
local getfenv, getmetatable, print, pairs, type, tostring = getfenv, getmetatable, print, pairs, type, tostring
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh /etc/rc.common
|
#!/bin/sh /etc/rc.common
|
||||||
# Copyroght (c) 2008 jokamajo.org
|
# Copyroght (c) 2008 jokamajo.org
|
||||||
# $Id: flukso.init 7 2009-02-16 23:13:00Z icarus75 $
|
# $Id$
|
||||||
|
|
||||||
START=98
|
START=98
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
-- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
--
|
--
|
||||||
-- $Id: deamon.lua 12 2009-03-04 22:30:00Z icarus75 $
|
-- $Id$
|
||||||
--
|
--
|
||||||
|
|
||||||
require 'posix'
|
require 'posix'
|
||||||
|
@ -46,9 +46,9 @@ function receive(device)
|
||||||
posix.syslog(30, 'received pulse from '..device..': '..line:sub(5))
|
posix.syslog(30, 'received pulse from '..device..': '..line:sub(5))
|
||||||
|
|
||||||
-- flash the power led for 50ms
|
-- flash the power led for 50ms
|
||||||
os.execute('gpioctl set 7')
|
os.execute('gpioctl clear 4')
|
||||||
socket.select(nil, nil, 0.05)
|
socket.select(nil, nil, 0.05)
|
||||||
os.execute('gpioctl clear 7')
|
os.execute('gpioctl set 4')
|
||||||
|
|
||||||
local meter, value = line:sub(5, 36), tonumber(line:sub(38))
|
local meter, value = line:sub(5, 36), tonumber(line:sub(38))
|
||||||
coroutine.yield(meter, os.time(), value)
|
coroutine.yield(meter, os.time(), value)
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
-- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
--
|
--
|
||||||
-- $Id: heartbeat.lua 6 2008-03-17 21:17:00Z icarus75 $
|
-- $Id$
|
||||||
--
|
--
|
||||||
|
|
||||||
if not arg[1] then
|
if not arg[1] then
|
||||||
|
|
|
@ -18,5 +18,5 @@ config ntpdrift
|
||||||
option freq '0'
|
option freq '0'
|
||||||
|
|
||||||
config ntpclient
|
config ntpclient
|
||||||
option interval 60
|
option interval 600
|
||||||
#option count 10
|
#option count 10
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// Copyright (c) 2008 jokamajo.org
|
// Copyright (c) 2008 jokamajo.org
|
||||||
// $Id: main.pde 1 2008-08-19 00:40:00Z icarus75 $
|
// $Id$
|
||||||
|
|
||||||
// define section, move to main.h later on
|
// define section, move to main.h later on
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
// along with this program; if not, write to the Free Software
|
// along with this program; if not, write to the Free Software
|
||||||
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
//
|
//
|
||||||
// $Id: main.1mhz.c 3 2009-05-26 20:27:00Z icarus75 $
|
// $Id$
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
// along with this program; if not, write to the Free Software
|
// along with this program; if not, write to the Free Software
|
||||||
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
//
|
//
|
||||||
// $Id: main.1mhz.h 1 2009-05-27 20:27:00Z icarus75 $
|
// $Id$
|
||||||
//
|
//
|
||||||
|
|
||||||
#define SENSOR0 "197676b88851e28c489524b4526a3745"
|
#define SENSOR0 "197676b88851e28c489524b4526a3745"
|
||||||
|
|
Loading…
Reference in New Issue