olsrd.git
6 years agopud: ignore zero bandwidth/uni-directional link gateways
Ferry Huberts [Wed, 25 Jul 2012 19:18:24 +0000 (21:18 +0200)]
pud: ignore zero bandwidth/uni-directional link gateways

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agogateway: fix deserialisation of 0 in deserialize_gw_speed
Ferry Huberts [Wed, 25 Jul 2012 19:17:35 +0000 (21:17 +0200)]
gateway: fix deserialisation of 0 in deserialize_gw_speed

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agogateway: ignore zero bandwidth and uni-directional links
Ferry Huberts [Wed, 25 Jul 2012 16:30:09 +0000 (18:30 +0200)]
gateway: ignore zero bandwidth and uni-directional links

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agogateway: ignore unreachable gateways
Ferry Huberts [Wed, 25 Jul 2012 16:28:16 +0000 (18:28 +0200)]
gateway: ignore unreachable gateways

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agogateway: reset bandwidth to zero when no link speed is advertised
Ferry Huberts [Tue, 24 Jul 2012 15:42:58 +0000 (17:42 +0200)]
gateway: reset bandwidth to zero when no link speed is advertised

in olsr_update_gateway_entry

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agogateway: minor simplification to olsr_set_inet_gateway
Ferry Huberts [Tue, 24 Jul 2012 15:33:57 +0000 (17:33 +0200)]
gateway: minor simplification to olsr_set_inet_gateway

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agogateway: minor simplification to olsr_delete_gateway_entry
Ferry Huberts [Tue, 24 Jul 2012 15:33:11 +0000 (17:33 +0200)]
gateway: minor simplification to olsr_delete_gateway_entry

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agogateway: remove an unused variable in olsr_update_gateway_entry
Ferry Huberts [Tue, 24 Jul 2012 15:32:39 +0000 (17:32 +0200)]
gateway: remove an unused variable in olsr_update_gateway_entry

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agogateway: minor simplification to olsr_trigger_gatewayloss_check
Ferry Huberts [Tue, 24 Jul 2012 15:32:17 +0000 (17:32 +0200)]
gateway: minor simplification to olsr_trigger_gatewayloss_check

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agogateway: add some asserts on gw_handler
Ferry Huberts [Tue, 24 Jul 2012 15:30:24 +0000 (17:30 +0200)]
gateway: add some asserts on gw_handler

6 years agogateway: initialise all variables in olsr_init_gateways
Ferry Huberts [Tue, 24 Jul 2012 15:29:28 +0000 (17:29 +0200)]
gateway: initialise all variables in olsr_init_gateways

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agogateway: add and update lots of comments
Ferry Huberts [Tue, 24 Jul 2012 15:28:52 +0000 (17:28 +0200)]
gateway: add and update lots of comments

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agogateway: introduce OLSR_IP_ADDR_2_HNA_PTR helper
Ferry Huberts [Tue, 24 Jul 2012 15:26:08 +0000 (17:26 +0200)]
gateway: introduce OLSR_IP_ADDR_2_HNA_PTR helper

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agogateway: simplify and inline olsr_find_gateway_entry
Ferry Huberts [Thu, 19 Jul 2012 15:00:32 +0000 (17:00 +0200)]
gateway: simplify and inline olsr_find_gateway_entry

node2gateway already takes care of NULL

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agogateway: simplify deserialize_gw_speed
Ferry Huberts [Wed, 18 Jul 2012 16:40:51 +0000 (18:40 +0200)]
gateway: simplify deserialize_gw_speed

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agogateway: remove some unused code in refresh_smartgw_netmask
Ferry Huberts [Wed, 18 Jul 2012 16:40:31 +0000 (18:40 +0200)]
gateway: remove some unused code in refresh_smartgw_netmask

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agogateway: reorder functions
Ferry Huberts [Wed, 18 Jul 2012 13:53:19 +0000 (15:53 +0200)]
gateway: reorder functions

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agogateway: add some comments
Ferry Huberts [Wed, 18 Jul 2012 13:28:46 +0000 (15:28 +0200)]
gateway: add some comments

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agogateway: make olsr_find_gateway_entry static
Ferry Huberts [Wed, 18 Jul 2012 08:42:41 +0000 (10:42 +0200)]
gateway: make olsr_find_gateway_entry static

it is only used in gateway.c

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agogateway: make olsr_trigger_inetgw_selection
Ferry Huberts [Wed, 18 Jul 2012 08:40:18 +0000 (10:40 +0200)]
gateway: make olsr_trigger_inetgw_selection

it is only used in gateway.c

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agogateway: make refresh_smartgw_netmask static
Ferry Huberts [Wed, 18 Jul 2012 08:38:47 +0000 (10:38 +0200)]
gateway: make refresh_smartgw_netmask static

it is only used with gateway.c

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agogateway: let init and cleanup functions take the name as parameter
Ferry Huberts [Thu, 21 Jun 2012 13:25:48 +0000 (15:25 +0200)]
gateway: let init and cleanup functions take the name as parameter

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agogateway: minor simplification
Ferry Huberts [Tue, 17 Jul 2012 13:36:20 +0000 (15:36 +0200)]
gateway: minor simplification

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agogateway: add some comments
Ferry Huberts [Tue, 17 Jul 2012 13:35:35 +0000 (15:35 +0200)]
gateway: add some comments

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agogateway: add some comments
Ferry Huberts [Tue, 17 Jul 2012 11:04:02 +0000 (13:04 +0200)]
gateway: add some comments

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agogateway: fixup includes
Ferry Huberts [Tue, 17 Jul 2012 11:03:49 +0000 (13:03 +0200)]
gateway: fixup includes

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agogateway: split variable declarations
Ferry Huberts [Tue, 17 Jul 2012 11:01:50 +0000 (13:01 +0200)]
gateway: split variable declarations

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agogateway: use the same 'ifdef linux' and the header and source file
Ferry Huberts [Tue, 17 Jul 2012 11:01:23 +0000 (13:01 +0200)]
gateway: use the same 'ifdef linux' and the header and source file

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agogateway: remove an unused include
Ferry Huberts [Tue, 17 Jul 2012 11:01:00 +0000 (13:01 +0200)]
gateway: remove an unused include

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agogateway: make olsr_gw_default_lookup_gateway function static
Ferry Huberts [Tue, 17 Jul 2012 10:55:22 +0000 (12:55 +0200)]
gateway: make olsr_gw_default_lookup_gateway function static

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agogateway: shift up the #ifdef linux
Ferry Huberts [Tue, 17 Jul 2012 10:50:14 +0000 (12:50 +0200)]
gateway: shift up the #ifdef linux

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agogateway: initialise variables in the declaration order
Ferry Huberts [Tue, 17 Jul 2012 10:50:34 +0000 (12:50 +0200)]
gateway: initialise variables in the declaration order

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agogateway: reorder functions
Ferry Huberts [Thu, 31 May 2012 12:37:22 +0000 (14:37 +0200)]
gateway: reorder functions

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agobugfix: set_nameservice_float() writes a float, not a double.
Lars Kruse [Tue, 24 Jul 2012 14:31:05 +0000 (16:31 +0200)]
bugfix: set_nameservice_float() writes a float, not a double.

as reported in http://olsr.org/bugs/view.php?id=33 I noticed that the timeout
parameter of the namespace plugin is _almost_ ignored.
The simple cause is a type mismatch (double/float).

Attached you find the trivial patch that solves the problem for me.

6 years agoandroid: port linux make 'prefix' work
Ferry Huberts [Tue, 24 Jul 2012 13:51:53 +0000 (15:51 +0200)]
android: port linux make 'prefix' work

So that
  make NDK_BASE="<some path>/android-ndk-r8" \
       OS="android" \
       DESTDIR="$(pwd)/dist" \
       DEBUG=0 \
       OPTIMIZE="-O2" \
       build_all install_all
works again

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agopud: statically link nmealib if PUD_NMEALIB_STATICALLY_LINKED is defined
Ferry Huberts [Fri, 20 Jul 2012 08:31:50 +0000 (10:31 +0200)]
pud: statically link nmealib if PUD_NMEALIB_STATICALLY_LINKED is defined

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agopud: nmealib: also build a static library
Ferry Huberts [Fri, 20 Jul 2012 07:59:40 +0000 (09:59 +0200)]
pud: nmealib: also build a static library

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agoandroid: update comment describing build command line for correctness
Hans-Christoph Steiner [Thu, 19 Jul 2012 20:36:53 +0000 (16:36 -0400)]
android: update comment describing build command line for correctness

6 years agoman: fix a minor issue in the man page
Ferry Huberts [Thu, 19 Jul 2012 20:17:20 +0000 (22:17 +0200)]
man: fix a minor issue in the man page

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agogateway: only advertise linkspeed when the link is bi-directional
Ferry Huberts [Wed, 18 Jul 2012 16:28:48 +0000 (18:28 +0200)]
gateway: only advertise linkspeed when the link is bi-directional

Uni-directional links produce all kinds of funky network behaviour.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agogateway: fix serialize_gw_speed
Ferry Huberts [Thu, 19 Jul 2012 07:46:48 +0000 (09:46 +0200)]
gateway: fix serialize_gw_speed

Values over 320000000 would serialize to 0, which is not correct,
since they should be clipped to the maximum value of the
serialization range.

v2: unchanged, sent with another patch

v3: values 100000000 and 200000000 would result in an exponent of 8,
    which is out-of-range for the exponent.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
6 years agopud: nmealib: increase the number of satellites
Ferry Huberts [Thu, 19 Jul 2012 07:34:06 +0000 (09:34 +0200)]
pud: nmealib: increase the number of satellites

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agogateway: fix lazy gateway selection
Ferry Huberts [Tue, 17 Jul 2012 13:38:56 +0000 (15:38 +0200)]
gateway: fix lazy gateway selection

Only an increase in the number of gateway nodes was seen as a network
in flux. A decrease in the number of gateway nodes was not taken into
account.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agomain: fix a typo
Ferry Huberts [Wed, 18 Jul 2012 08:37:36 +0000 (10:37 +0200)]
main: fix a typo

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agohttpinfo: position: also show satellite information when available
Ferry Huberts [Mon, 16 Jul 2012 15:25:05 +0000 (17:25 +0200)]
httpinfo: position: also show satellite information when available

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agopud: posavg: make sure to put track, mtrack and magvar in the cumulative
Ferry Huberts [Mon, 16 Jul 2012 16:00:40 +0000 (18:00 +0200)]
pud: posavg: make sure to put track, mtrack and magvar in the cumulative

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agopud: posavg: don't add an angle if it is not present
Ferry Huberts [Mon, 16 Jul 2012 15:59:51 +0000 (17:59 +0200)]
pud: posavg: don't add an angle if it is not present

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agopud: posavg: minor simplification
Ferry Huberts [Mon, 16 Jul 2012 15:56:39 +0000 (17:56 +0200)]
pud: posavg: minor simplification

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agopud: posavg: fix typo in calculateAngle
Ferry Huberts [Mon, 16 Jul 2012 15:55:57 +0000 (17:55 +0200)]
pud: posavg: fix typo in calculateAngle

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agopud: include nmealib v1.0.1
Ferry Huberts [Mon, 16 Jul 2012 13:41:44 +0000 (15:41 +0200)]
pud: include nmealib v1.0.1

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agopud: fix angle averaging
Ferry Huberts [Mon, 16 Jul 2012 09:14:47 +0000 (11:14 +0200)]
pud: fix angle averaging

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agopud: switch to syslog logging on successful loading of plugin
Ferry Huberts [Mon, 16 Jul 2012 10:32:07 +0000 (12:32 +0200)]
pud: switch to syslog logging on successful loading of plugin

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agopud: allow logging to syslog
Ferry Huberts [Mon, 16 Jul 2012 09:44:52 +0000 (11:44 +0200)]
pud: allow logging to syslog

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agopud: simplify pudError a bit
Ferry Huberts [Mon, 16 Jul 2012 09:43:11 +0000 (11:43 +0200)]
pud: simplify pudError a bit

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agopud: hook up the nmea library error callback
Ferry Huberts [Mon, 16 Jul 2012 09:25:47 +0000 (11:25 +0200)]
pud: hook up the nmea library error callback

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agopud: minor simplification to receiver
Ferry Huberts [Mon, 16 Jul 2012 08:57:04 +0000 (10:57 +0200)]
pud: minor simplification to receiver

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agopud: upgrade doxygen configuration files
Ferry Huberts [Mon, 16 Jul 2012 08:04:18 +0000 (10:04 +0200)]
pud: upgrade doxygen configuration files

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agopud: it's 'Magnetic Variation', not 'Magnetic Variance'
Ferry Huberts [Mon, 16 Jul 2012 07:23:47 +0000 (09:23 +0200)]
pud: it's 'Magnetic Variation', not 'Magnetic Variance'

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agopud: fix some comments
Ferry Huberts [Mon, 16 Jul 2012 08:04:44 +0000 (10:04 +0200)]
pud: fix some comments

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agopud: adjust to new nmealib
Ferry Huberts [Sat, 14 Jul 2012 11:21:37 +0000 (13:21 +0200)]
pud: adjust to new nmealib

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agopud: include nmealib v1.0.0
Ferry Huberts [Fri, 13 Jul 2012 16:14:22 +0000 (18:14 +0200)]
pud: include nmealib v1.0.0

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agopud: remove inlining from wireformat library
Ferry Huberts [Sat, 14 Jul 2012 11:57:00 +0000 (13:57 +0200)]
pud: remove inlining from wireformat library

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agopud: minor simplification in posAvg
Ferry Huberts [Sat, 14 Jul 2012 09:59:40 +0000 (11:59 +0200)]
pud: minor simplification in posAvg

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agohttpinfo: update includes for pud
Ferry Huberts [Sat, 14 Jul 2012 09:50:44 +0000 (11:50 +0200)]
httpinfo: update includes for pud

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agohttpinfo: update pud signal descriptions
Ferry Huberts [Sat, 14 Jul 2012 09:46:30 +0000 (11:46 +0200)]
httpinfo: update pud signal descriptions

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agohttpinfo: minor simplification in pud body function
Ferry Huberts [Sat, 14 Jul 2012 09:43:39 +0000 (11:43 +0200)]
httpinfo: minor simplification in pud body function

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agohttpinfo: decrease pud nodeId buffer size
Ferry Huberts [Sat, 14 Jul 2012 09:42:38 +0000 (11:42 +0200)]
httpinfo: decrease pud nodeId buffer size

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agohttpinfo: replace all "N.A."s by a static string
Ferry Huberts [Fri, 13 Jul 2012 15:31:19 +0000 (17:31 +0200)]
httpinfo: replace all "N.A."s by a static string

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agohttpinfo: add some comments
Ferry Huberts [Fri, 13 Jul 2012 15:29:50 +0000 (17:29 +0200)]
httpinfo: add some comments

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agohttpinfo: also print smask
Ferry Huberts [Fri, 13 Jul 2012 15:29:31 +0000 (17:29 +0200)]
httpinfo: also print smask

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agohttpinfo: split table start and nodeId
Ferry Huberts [Fri, 13 Jul 2012 15:29:08 +0000 (17:29 +0200)]
httpinfo: split table start and nodeId

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agohttpinfo: properly close the table row on the position tab
Ferry Huberts [Fri, 13 Jul 2012 15:22:58 +0000 (17:22 +0200)]
httpinfo: properly close the table row on the position tab

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agohttpinfo: also show the position on the 'All' tab
Ferry Huberts [Fri, 13 Jul 2012 15:17:41 +0000 (17:17 +0200)]
httpinfo: also show the position on the 'All' tab

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agohttpinfo: change the default zoom level on OpenStreetMap
Ferry Huberts [Fri, 13 Jul 2012 15:17:24 +0000 (17:17 +0200)]
httpinfo: change the default zoom level on OpenStreetMap

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agohttpinfo: put the position table in a paragraph
Ferry Huberts [Fri, 13 Jul 2012 15:16:58 +0000 (17:16 +0200)]
httpinfo: put the position table in a paragraph

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agohttpinfo: update 'PUD plugin not loaded' message formatting
Ferry Huberts [Fri, 13 Jul 2012 15:16:10 +0000 (17:16 +0200)]
httpinfo: update 'PUD plugin not loaded' message formatting

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agohttpinfo: print position header
Ferry Huberts [Fri, 13 Jul 2012 15:15:24 +0000 (17:15 +0200)]
httpinfo: print position header

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: remove (more/last) left-over debug printf's
Ferry Huberts [Fri, 13 Jul 2012 10:41:55 +0000 (12:41 +0200)]
PUD: remove (more/last) left-over debug printf's

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: remove left-over debug printf's
Ferry Huberts [Fri, 13 Jul 2012 09:04:38 +0000 (11:04 +0200)]
PUD: remove left-over debug printf's

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agojsoninfo: change Route->"interface" key to "networkInterface" to ease scraping using...
Hans-Christoph Steiner [Fri, 6 Jul 2012 19:32:16 +0000 (15:32 -0400)]
jsoninfo: change Route->"interface" key to "networkInterface" to ease scraping using Java

- "interface" is a reserved word in Java, so no variable can have that name

7 years agoexample olsrd.conf for Commotion project
Hans-Christoph Steiner [Fri, 6 Jul 2012 18:32:34 +0000 (14:32 -0400)]
example olsrd.conf for Commotion project

7 years agojsoninfo: include the relative time since olsrd started in the outer wrapper as ...
Hans-Christoph Steiner [Wed, 4 Jul 2012 20:50:27 +0000 (16:50 -0400)]
jsoninfo: include the relative time since olsrd started in the outer wrapper as "timeSinceStartup"

7 years agojsoninfo: move local HNA set in olsrd.conf from the "hna" to the "config" section
Hans-Christoph Steiner [Wed, 4 Jul 2012 20:49:42 +0000 (16:49 -0400)]
jsoninfo: move local HNA set in olsrd.conf from the "hna" to the "config" section

7 years agoMakefile: install olsrd.conf as olsr.conf.new when it already exists
Ferry Huberts [Wed, 4 Jul 2012 07:59:07 +0000 (09:59 +0200)]
Makefile: install olsrd.conf as olsr.conf.new when it already exists

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoMakefile: rework OpenWRT 900-force_copy_olsrd_conf_file.patch
Ferry Huberts [Tue, 3 Jul 2012 10:36:00 +0000 (12:36 +0200)]
Makefile: rework OpenWRT 900-force_copy_olsrd_conf_file.patch

Instead of always overwriting the olsrd.conf on install,
the user must specify 'make INSTALLOVERWRITE=Y install'

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoRevert "force copy the olsrd.conf file during install"
Ferry Huberts [Tue, 3 Jul 2012 10:29:23 +0000 (12:29 +0200)]
Revert "force copy the olsrd.conf file during install"

This reverts commit e2855a99ed1429b22b03be7a2d6c3b93d24b62fd.

7 years agoMerge remote-tracking branch 'origin/stable' into stable
Vasilis Tsiligiannis [Fri, 29 Jun 2012 15:21:14 +0000 (18:21 +0300)]
Merge remote-tracking branch 'origin/stable' into stable

7 years agoforce copy the olsrd.conf file during install
Ferry Huberts [Thu, 28 Jun 2012 18:25:22 +0000 (20:25 +0200)]
force copy the olsrd.conf file during install

this upstreams the OpenWRT 900-force_copy_olsrd_conf_file.patch

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agojsoninfo: fix typo
Hans-Christoph Steiner [Wed, 27 Jun 2012 22:31:02 +0000 (18:31 -0400)]
jsoninfo: fix typo

7 years agoincluded source link in olsrd.conf.funkfeuer
Hans-Christoph Steiner [Wed, 27 Jun 2012 21:01:40 +0000 (17:01 -0400)]
included source link in olsrd.conf.funkfeuer

7 years agoincluded example olsrd.conf.funkfeuer from http://wiki.funkfeuer.at/index.php/OLSR...
Hans-Christoph Steiner [Wed, 27 Jun 2012 20:58:57 +0000 (16:58 -0400)]
included example olsrd.conf.funkfeuer from wiki.funkfeuer.at/index.php/OLSR-Konfiguration

7 years agojsoninfo: updated interface config info (LQ mults, emission intervals, validity times...
Hans-Christoph Steiner [Wed, 27 Jun 2012 20:11:43 +0000 (16:11 -0400)]
jsoninfo: updated interface config info (LQ mults, emission intervals, validity times, etc.)

7 years agoPUD: clear speed and direction when stationary
Ferry Huberts [Wed, 27 Jun 2012 12:49:18 +0000 (14:49 +0200)]
PUD: clear speed and direction when stationary

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: fix averaging of direction
Ferry Huberts [Wed, 27 Jun 2012 12:01:49 +0000 (14:01 +0200)]
PUD: fix averaging of direction

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoPUD: fix snprintf length confusion
Ferry Huberts [Wed, 27 Jun 2012 09:42:19 +0000 (11:42 +0200)]
PUD: fix snprintf length confusion

Noticed because the track/direction output was wrong

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agojsoninfo: add data from /sys/class/net/if/wireless to /interfaces
Hans-Christoph Steiner [Tue, 26 Jun 2012 20:35:00 +0000 (16:35 -0400)]
jsoninfo: add data from /sys/class/net/if/wireless to /interfaces

7 years agojsoninfo: added examples using curl and wget to the README
Hans-Christoph Steiner [Tue, 26 Jun 2012 18:18:56 +0000 (14:18 -0400)]
jsoninfo: added examples using curl and wget to the README

7 years agojsoninfo: updated README with description of what this plugin is for
Hans-Christoph Steiner [Tue, 26 Jun 2012 17:51:26 +0000 (13:51 -0400)]
jsoninfo: updated README with description of what this plugin is for

7 years agoquagga: Fix OLSR recursive nexthop selection
Vasilis Tsiligiannis [Tue, 26 Jun 2012 15:31:57 +0000 (18:31 +0300)]
quagga: Fix OLSR recursive nexthop selection

7 years agoPUD: nmealib: do not optimise when compiling with debug
Ferry Huberts [Tue, 26 Jun 2012 09:07:14 +0000 (11:07 +0200)]
PUD: nmealib: do not optimise when compiling with debug

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>