feed/routing.git
10 years agohnetd: add global config file
Steven Barth [Fri, 6 Jun 2014 15:03:57 +0000 (17:03 +0200)]
hnetd: add global config file

10 years agoMerge pull request #31 from rogerpueyo/master
axn [Fri, 6 Jun 2014 05:21:14 +0000 (07:21 +0200)]
Merge pull request #31 from rogerpueyo/master

Wait for mac80211.sh to finish before starting BMX6, otherwise routing rule for table 60 is not added

10 years agoWait for mac80211.sh to finish before starting BMX6, otherwise routing rule for table... 31/head
Roger Pueyo Centelles [Thu, 5 Jun 2014 16:26:52 +0000 (18:26 +0200)]
Wait for mac80211.sh to finish before starting BMX6, otherwise routing rule for table 60 is not added

10 years agoPackage ayourtch's nat46 kernel module
Steven Barth [Wed, 4 Jun 2014 07:48:11 +0000 (09:48 +0200)]
Package ayourtch's nat46 kernel module

10 years agominiupnpd: Various IPv6 related fixes to scripts (IPv6-only, multi-uplink, ..)
Markus Stenberg [Tue, 3 Jun 2014 08:10:01 +0000 (11:10 +0300)]
miniupnpd: Various IPv6 related fixes to scripts (IPv6-only, multi-uplink, ..)

10 years agominimalist-pcproxy: Added.
Markus Stenberg [Mon, 26 May 2014 14:19:42 +0000 (17:19 +0300)]
minimalist-pcproxy: Added.
hnetd: Added use of minimalist-pcproxy(/miniupnpd) for PCP, if present.

10 years agominiupnpd: Added patch to fix IPv6 firewall PCP ext_port handling (not yet in upstream).
Markus Stenberg [Mon, 2 Jun 2014 16:52:32 +0000 (19:52 +0300)]
miniupnpd: Added patch to fix IPv6 firewall PCP ext_port handling (not yet in upstream).

10 years agobabeld: new upstream release 1.5.0
Gabriel Kerneis [Sun, 1 Jun 2014 13:15:10 +0000 (14:15 +0100)]
babeld: new upstream release 1.5.0

22 May 2014: babeld-1.5.0

  * Added support for an RTT-based metric -- see the description of
    "enable-timestamps" in the manual page.  This work was done by
    Baptiste Jonglez with help from Matthieu Boutier.

10 years agominiupnpd: Added based on latest 20140523 version + IPv6 pinhole/SSL compilation...
Markus Stenberg [Fri, 30 May 2014 10:11:49 +0000 (13:11 +0300)]
miniupnpd: Added based on latest 20140523 version + IPv6 pinhole/SSL compilation patches.

10 years agoalfred: bump version to 2014.2.0
Simon Wunderlich [Wed, 28 May 2014 10:52:04 +0000 (12:52 +0200)]
alfred: bump version to 2014.2.0

From the CHANGELOG:

 * Handle EPERM errors on every sendto
 * Check for changed interface properties, e.g. recreation or
   changed MAC- and IPv6 addresses

Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
10 years ago[bmx6] update to master-tip 8b0585e
Axel Neumann [Fri, 23 May 2014 14:22:51 +0000 (16:22 +0200)]
[bmx6] update to master-tip 8b0585e

10 years agoMerge pull request #29 from rogerpueyo/master
Pau [Thu, 22 May 2014 17:08:31 +0000 (19:08 +0200)]
Merge pull request #29 from rogerpueyo/master

[luci-app-bmx6]: fix status page

10 years ago[luci-app-bmx6]: fix status page 29/head
Roger Pueyo Centelles [Thu, 22 May 2014 17:02:50 +0000 (19:02 +0200)]
[luci-app-bmx6]: fix status page

10 years agoolsrd: Oops, forgot to increase package release when patching at the Battlemesh :)
Saverio Proto [Tue, 20 May 2014 06:23:30 +0000 (08:23 +0200)]
olsrd: Oops, forgot to increase package release when patching at the Battlemesh :)

10 years agouse procd for nodogsplash, thanks @lynxis
Moritz Warning [Sun, 18 May 2014 21:50:33 +0000 (23:50 +0200)]
use procd for nodogsplash, thanks @lynxis

10 years agoolsrd: jsoninfo: HTTP headers with CORS (if requested)
Saverio Proto [Sat, 17 May 2014 17:10:12 +0000 (19:10 +0200)]
olsrd: jsoninfo: HTTP headers with CORS (if requested)

10 years agoolsrd: security fixes for olsrd plugins
Saverio Proto [Sat, 17 May 2014 17:09:30 +0000 (19:09 +0200)]
olsrd: security fixes for olsrd plugins

10 years agobatman-adv: upgrade package to latest release 2014.1.0
Marek Lindner [Mon, 12 May 2014 21:29:35 +0000 (05:29 +0800)]
batman-adv: upgrade package to latest release 2014.1.0

Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
10 years agohnetd: some openwrt-integration and stability fixes
Steven Barth [Sun, 4 May 2014 08:49:36 +0000 (10:49 +0200)]
hnetd: some openwrt-integration and stability fixes

10 years agomcast-tools: fix linux/pim.h include
Dirk Neukirchen [Fri, 2 May 2014 08:48:02 +0000 (08:48 +0000)]
mcast-tools: fix linux/pim.h include

fix wrong struct in pim.h big endian case
it leads to compile error on ar71xx and other arch
Error was:
In file included from debug.c:71:0:
../include/linux/pim.h:14:3: error: expected specifier-qualifier-list before 'pim_type'
   pim_type:4;  /* PIM message type */
   ^
make[6]: *** [debug.o] Error 1

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
10 years agoMerge pull request #26 from Noltari/mcproxy-next
sbyx [Fri, 2 May 2014 18:13:04 +0000 (20:13 +0200)]
Merge pull request #26 from Noltari/mcproxy-next

[mcproxy] Update to latest version.

10 years ago[mcproxy] Update to latest version. 26/head
Álvaro Fernández Rojas [Fri, 2 May 2014 17:16:23 +0000 (19:16 +0200)]
[mcproxy] Update to latest version.

10 years agohnetd: Updated with better service discovery support (especially 1 router case)
Markus Stenberg [Wed, 23 Apr 2014 13:08:26 +0000 (16:08 +0300)]
hnetd: Updated with better service discovery support (especially 1 router case)

10 years agoMerge pull request #23 from Noltari/bird-next
Jo-Philipp Wich [Sat, 19 Apr 2014 15:27:25 +0000 (15:27 +0000)]
Merge pull request #23 from Noltari/bird-next

[bird] Update to version 1.4.2.

10 years ago[bird] Update to version 1.4.3. 23/head
Álvaro Fernández Rojas [Sat, 19 Apr 2014 14:22:22 +0000 (16:22 +0200)]
[bird] Update to version 1.4.3.

10 years agohnetd: fix segfault in yesterday's version *sigh*
Steven Barth [Thu, 17 Apr 2014 06:45:12 +0000 (08:45 +0200)]
hnetd: fix segfault in yesterday's version *sigh*

10 years agohnetd: add support for guest mode + stability fixes
Steven Barth [Wed, 16 Apr 2014 20:26:20 +0000 (22:26 +0200)]
hnetd: add support for guest mode + stability fixes

10 years agohnetd: bump for various fixes
Steven Barth [Mon, 14 Apr 2014 21:46:22 +0000 (23:46 +0200)]
hnetd: bump for various fixes

10 years agomcast-tools: add initial port
Steven Barth [Thu, 10 Apr 2014 17:03:29 +0000 (19:03 +0200)]
mcast-tools: add initial port

10 years agohnetd: various stability fixes
Steven Barth [Thu, 10 Apr 2014 10:06:55 +0000 (12:06 +0200)]
hnetd: various stability fixes

10 years agobatman-adv: add support for the isolation_mark option
Marek Lindner [Sun, 6 Apr 2014 13:51:04 +0000 (21:51 +0800)]
batman-adv: add support for the isolation_mark option

With the introduction of the Extended Isolation component[1]
a new option is required by batman-adv: the isolation_mark.
This patch adds support for it in the configuration file

[1] http://www.open-mesh.org/projects/batman-adv/wiki/Extended-isolation

Signed-off-by: Antonio Quartulli <antonio@open-mesh.com>
signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>

10 years agoMerge pull request #24 from Noltari/mcproxy-next
sbyx [Sat, 5 Apr 2014 12:49:53 +0000 (14:49 +0200)]
Merge pull request #24 from Noltari/mcproxy-next

[mcproxy] Fixes, cleanups and updates.

10 years ago[mcproxy] Add sourcefilter only for uClibc. 24/head
Álvaro Fernández Rojas [Sat, 5 Apr 2014 12:21:28 +0000 (14:21 +0200)]
[mcproxy] Add sourcefilter only for uClibc.

10 years ago[mcproxy] Split patches.
Álvaro Fernández Rojas [Sat, 5 Apr 2014 12:12:50 +0000 (14:12 +0200)]
[mcproxy] Split patches.

10 years ago[mcproxy] Update to latest version.
Álvaro Fernández Rojas [Sat, 5 Apr 2014 12:00:31 +0000 (14:00 +0200)]
[mcproxy] Update to latest version.
Avoid building for GCC 4.4 and GCC 4.6 (no c++11 support).
Move to routing and redirection menu.
Config cleanup (disable until configured, protocol info, example instances).

10 years ago[bird] Update to version 1.4.2.
Álvaro Fernández Rojas [Sat, 5 Apr 2014 11:25:15 +0000 (13:25 +0200)]
[bird] Update to version 1.4.2.

10 years agobatman-adv: 2014.1.0 bugfixes & stability updates
Marek Lindner [Mon, 31 Mar 2014 13:00:08 +0000 (21:00 +0800)]
batman-adv: 2014.1.0 bugfixes & stability updates

Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
10 years agoolsrd: bugfix patch, Fix processing error for fragmented hellos
Saverio Proto [Mon, 31 Mar 2014 11:59:11 +0000 (13:59 +0200)]
olsrd: bugfix patch, Fix processing error for fragmented hellos

10 years agoohybridproxy: Updated to latest (fixes just single AAAA being returned if more availa...
Markus Stenberg [Mon, 31 Mar 2014 10:54:04 +0000 (13:54 +0300)]
ohybridproxy: Updated to latest (fixes just single AAAA being returned if more available).

10 years agomcproxy: add initial
Steven Barth [Tue, 25 Mar 2014 14:19:51 +0000 (15:19 +0100)]
mcproxy: add initial

Conflicts:

mcproxy/Makefile
mcproxy/files/mcproxy.conf
mcproxy/files/mcproxy.init

10 years agoMerge commit 'ad9d95cca240fa0edd8e033126877ec58ed848d8'
Saverio Proto [Wed, 26 Mar 2014 17:05:26 +0000 (18:05 +0100)]
Merge commit 'ad9d95cca240fa0edd8e033126877ec58ed848d8'

10 years agoRevert "mcproxy: add initial"
Saverio Proto [Wed, 26 Mar 2014 17:04:56 +0000 (18:04 +0100)]
Revert "mcproxy: add initial"

This reverts commit 4fd7d28f62db3a7b771d129909eef0c02e45d1e8.

10 years agomcproxy: add initial
Steven Barth [Tue, 25 Mar 2014 14:19:51 +0000 (15:19 +0100)]
mcproxy: add initial

10 years agohnetd: Bump to latest
Steven Barth [Tue, 25 Mar 2014 13:16:12 +0000 (14:16 +0100)]
hnetd: Bump to latest

10 years agoalfred: bump version to 2014.1.0
Simon Wunderlich [Sat, 22 Mar 2014 18:25:11 +0000 (19:25 +0100)]
alfred: bump version to 2014.1.0

bump alfred to version 2014.1.0. From the CHANGELOG:

 * don't leak socket fd in batadv-vis

Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
10 years agohnetd: fix ubus / libubox interaction
Steven Barth [Fri, 21 Mar 2014 20:52:45 +0000 (21:52 +0100)]
hnetd: fix ubus / libubox interaction

10 years ago[mcproxy] Add support for mcproxy v1.1.0. 21/head
Álvaro Fernández Rojas [Thu, 20 Mar 2014 15:46:14 +0000 (16:46 +0100)]
[mcproxy] Add support for mcproxy v1.1.0.

10 years agohnetd: bump version
Steven Barth [Wed, 19 Mar 2014 13:53:33 +0000 (14:53 +0100)]
hnetd: bump version

10 years agoolsrd: bump version to 0.6.6.1, remove redundant patch
Russell Senior [Sat, 15 Mar 2014 07:15:19 +0000 (00:15 -0700)]
olsrd: bump version to 0.6.6.1, remove redundant patch

Signed-off-by: Russell Senior <russell@personaltelco.net>
Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>
10 years agomrd6: adopted from packages-feed
Steven Barth [Fri, 14 Mar 2014 08:21:45 +0000 (09:21 +0100)]
mrd6: adopted from packages-feed

10 years agobatman-adv: upgrade package to latest release 2014.1.0
Marek Lindner [Thu, 13 Mar 2014 13:20:07 +0000 (21:20 +0800)]
batman-adv: upgrade package to latest release 2014.1.0

Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
10 years agoMerge pull request #19 from ffainelli/master
Florian Fainelli [Wed, 12 Mar 2014 22:27:51 +0000 (15:27 -0700)]
Merge pull request #19 from ffainelli/master

ahcpd: fix build with ARM VFP toolchains

10 years ago[bmx6] disable quagga plugin till fixed
Axel Neumann [Sat, 8 Mar 2014 20:35:54 +0000 (21:35 +0100)]
[bmx6] disable quagga plugin till fixed

10 years agoahcpd: fix build with ARM VFP toolchains 19/head
Florian Fainelli [Thu, 6 Mar 2014 20:06:27 +0000 (12:06 -0800)]
ahcpd: fix build with ARM VFP toolchains

Building ahcpd for a ARM VFP enabled target will produce the following build
failure:

arm-openwrt-linux-uclibcgnueabi-gcc -Os -g -Wall
-L/exp00/fainelli/openwrt/trunk/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/usr/lib
-L/exp00/fainelli/openwrt/trunk/staging_dir/target-arm_mpcore+vfp_uClibc-0.9.33.2_eabi/lib
-L/exp00/fainelli/openwrt/trunk/staging_dir/toolchain-arm_mpcore+vfp_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/usr/lib
-L/exp00/fainelli/openwrt/trunk/staging_dir/toolchain-arm_mpcore+vfp_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/lib
-o ahcpd ahcpd.o monotonic.o transport.o prefix.o configure.o config.o lease.o
-lrt
/exp00/fainelli/openwrt/trunk/staging_dir/toolchain-arm_mpcore+vfp_gcc-4.6-linaro_uClibc-0.9.33.2_eabi/lib/gcc/arm-openwrt-linux-uclibcgnueabi/4.6.4/../../../../arm-openwrt-linux-uclibcgnueabi/bin/ld:
error: ahcpd uses VFP register arguments, ahcpd.o does not

fix this by making sure that TARGET_CFLAGS are correctly passed down to ahcpd's
Makefile and used as the compiler CFLAGS by using EXTRA_DEFINES.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
10 years agohnetd: fix a segfault in ubus handling code
Steven Barth [Wed, 5 Mar 2014 17:25:35 +0000 (18:25 +0100)]
hnetd: fix a segfault in ubus handling code

10 years ago[bmx6] update
Axel Neumann [Sat, 1 Mar 2014 20:32:42 +0000 (21:32 +0100)]
[bmx6] update

10 years agohnetd: improve postinst logic
Steven Barth [Sat, 1 Mar 2014 15:04:34 +0000 (16:04 +0100)]
hnetd: improve postinst logic

10 years agohnetd: remove some debug flags
Steven Barth [Fri, 28 Feb 2014 17:12:15 +0000 (18:12 +0100)]
hnetd: remove some debug flags

10 years agohnetd: add hnetd package
Steven Barth [Fri, 28 Feb 2014 17:09:15 +0000 (18:09 +0100)]
hnetd: add hnetd package

10 years agoluci-app-bmx6: Fix topology graph with backwards compatibility
Pau Escrich [Tue, 25 Feb 2014 17:13:05 +0000 (18:13 +0100)]
luci-app-bmx6: Fix topology graph with backwards compatibility

Signed-off-by: Pau Escrich <p4u@dabax.net>
10 years ago[bmx6] update
Axel Neumann [Tue, 25 Feb 2014 15:11:44 +0000 (16:11 +0100)]
[bmx6] update

10 years agoluci-app-bmx6: Adapt the code to last bmx6 (some fields changed).
Pau Escrich [Tue, 25 Feb 2014 14:49:44 +0000 (15:49 +0100)]
luci-app-bmx6: Adapt the code to last bmx6 (some fields changed).
               Reduce the information shown in the tunnels/gateways page.

Signed-off-by: Pau Escrich <p4u@dabax.net>
10 years agoohybridproxy: work around connection handling issues in mdnsd
Steven Barth [Thu, 20 Feb 2014 18:50:09 +0000 (19:50 +0100)]
ohybridproxy: work around connection handling issues in mdnsd

Thanks to Markus Stenberg

10 years agoohybridproxy: add new package
Steven Barth [Tue, 18 Feb 2014 22:37:57 +0000 (23:37 +0100)]
ohybridproxy: add new package

10 years agobabels: allow routes with source ::/128
Steven Barth [Tue, 18 Feb 2014 12:52:13 +0000 (13:52 +0100)]
babels: allow routes with source ::/128

10 years agoMerge pull request #18 from sbyx/master
sbyx [Tue, 18 Feb 2014 11:26:40 +0000 (12:26 +0100)]
Merge pull request #18 from sbyx/master

Add package for babel source-routing branch

10 years agoAdd myself to maintainers
Steven Barth [Tue, 18 Feb 2014 11:03:01 +0000 (12:03 +0100)]
Add myself to maintainers

10 years agobabels: package babeld source-specific branch based on 1.4.3 18/head
Steven Barth [Sat, 15 Feb 2014 18:48:02 +0000 (19:48 +0100)]
babels: package babeld source-specific branch based on 1.4.3

Signed-off-by: Steven Barth <steven@midlink.org>
10 years agobatman-adv: 2014.0.0 updated stability fixes
Marek Lindner [Sat, 15 Feb 2014 01:41:19 +0000 (09:41 +0800)]
batman-adv: 2014.0.0 updated stability fixes

Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
10 years agoIPv6 SmartGW doesn't require IPv6 NAT support
Daniel Golle [Wed, 28 Aug 2013 15:59:05 +0000 (17:59 +0200)]
IPv6 SmartGW doesn't require IPv6 NAT support

10 years agobatman-adv: 2014.0.0 compat updates for older kernels
Marek Lindner [Thu, 30 Jan 2014 12:44:46 +0000 (20:44 +0800)]
batman-adv: 2014.0.0 compat updates for older kernels

Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
10 years agoMerge branch 'master' into bmx6_testing
Axel Neumann [Thu, 30 Jan 2014 04:47:01 +0000 (05:47 +0100)]
Merge branch 'master' into bmx6_testing

10 years agobatman-adv: 2014.0.0 updated stability fixes
Marek Lindner [Wed, 29 Jan 2014 05:00:04 +0000 (13:00 +0800)]
batman-adv: 2014.0.0 updated stability fixes

Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
10 years agoMerge pull request #15 from Noltari/bird-next
Jo-Philipp Wich [Sun, 19 Jan 2014 17:44:52 +0000 (09:44 -0800)]
Merge pull request #15 from Noltari/bird-next

Bird Improvements

10 years ago[bird] Bump package release. 15/head
Álvaro Fernández Rojas [Fri, 17 Jan 2014 19:30:01 +0000 (20:30 +0100)]
[bird] Bump package release.

10 years ago[bird] Use pid file support introduced in v1.3.12.
Álvaro Fernández Rojas [Fri, 17 Jan 2014 19:29:15 +0000 (20:29 +0100)]
[bird] Use pid file support introduced in v1.3.12.

10 years ago[bird] Improve init files.
Álvaro Fernández Rojas [Fri, 17 Jan 2014 19:24:45 +0000 (20:24 +0100)]
[bird] Improve init files.

10 years ago[bird] Cleanup unneeded files.
Álvaro Fernández Rojas [Fri, 17 Jan 2014 18:54:43 +0000 (19:54 +0100)]
[bird] Cleanup unneeded files.

10 years agoMerge pull request #14 from Noltari/bird-1.4.0
Jo-Philipp Wich [Fri, 17 Jan 2014 11:33:47 +0000 (03:33 -0800)]
Merge pull request #14 from Noltari/bird-1.4.0

[bird] Update to 1.4.0 and move bird6 to Routing and Redirection.

10 years agobatman-adv: add 'crc16' dependency which is still needed but got removed accidentally
Bastian Bittorf [Wed, 15 Jan 2014 14:30:29 +0000 (15:30 +0100)]
batman-adv: add 'crc16' dependency which is still needed but got removed accidentally

The 'crc16' kernel lib is still needed/used by the BLA framework
(Bridge Loop Avoidance) in bridge_loop_avoidance.c. Thanks to
Antonio 'ordex' Quartulli for confirmation.

Introduced by 1ee5b17e4f7b2c145524edfb51617c911fad7cc4
("upgrade package to latest release 2014.0.0").

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
10 years agobatman-adv: fix batman-adv header overhead calculation
Marek Lindner [Wed, 15 Jan 2014 22:48:32 +0000 (06:48 +0800)]
batman-adv: fix batman-adv header overhead calculation

Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
10 years agoalfred: bump version to 2014.0.0
Simon Wunderlich [Wed, 15 Jan 2014 17:24:47 +0000 (18:24 +0100)]
alfred: bump version to 2014.0.0

bump alfred to version 2014.0.0. From the CHANGELOG:

 * add installation of the alfred-gpsd manpage
 * add -lm to linker flags for libgps in alfred-gpsd

Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
10 years agobatman-adv: upgrade package to latest release 2014.0.0
Marek Lindner [Mon, 13 Jan 2014 19:16:21 +0000 (03:16 +0800)]
batman-adv: upgrade package to latest release 2014.0.0

Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
10 years ago[bird] Update to 1.4.0 and move bird6 to Routing and Redirection. 14/head
Álvaro Fernández Rojas [Sat, 11 Jan 2014 17:40:23 +0000 (18:40 +0100)]
[bird] Update to 1.4.0 and move bird6 to Routing and Redirection.

10 years agoMerge branch 'master' into bmx6_testing
Pau Escrich [Fri, 10 Jan 2014 16:39:00 +0000 (17:39 +0100)]
Merge branch 'master' into bmx6_testing

10 years agoluci-app-bmx6: Initialize tun6in6 variable and add further checks
Pau Escrich [Fri, 10 Jan 2014 16:37:57 +0000 (17:37 +0100)]
luci-app-bmx6: Initialize tun6in6 variable and add further checks

Signed-off-by: Pau Escrich <p4u@dabax.net>
10 years agoolsrd: hotplug: changed a varname which broke in 3a1fd118833e8c6d341fde4ef99d31786c3614c9
Bastian Bittorf [Sat, 4 Jan 2014 06:54:22 +0000 (07:54 +0100)]
olsrd: hotplug: changed a varname which broke in 3a1fd118833e8c6d341fde4ef99d31786c3614c9

10 years agoolsrd: hotplug: optimize execution-speed and simplify using already existing GLOBAL...
Bastian Bittorf [Fri, 3 Jan 2014 20:00:45 +0000 (21:00 +0100)]
olsrd: hotplug: optimize execution-speed and simplify using already existing GLOBAL vars instead of encapsulating vars from function to function, cleanups and comments in source

10 years agoMerge pull request #12 from openwrt-routing/nds-optional-imq
Moritz Warning [Mon, 16 Dec 2013 20:53:00 +0000 (12:53 -0800)]
Merge pull request #12 from openwrt-routing/nds-optional-imq

nodogsplash: check if TrafficControl is enabled before testing imq module requirement.

10 years agoalfred: workaround race condition when batmanif is not ready at boot time
Gui Iribarren [Fri, 13 Dec 2013 19:05:26 +0000 (16:05 -0300)]
alfred: workaround race condition when batmanif is not ready at boot time

Wait up to 30 seconds during init.d script on boot, so that batmanif can
come up. If the timeout is reached, the init.d script refuses to start
alfred and related daemons.

This prevents an alfred crash when it would start during early boot, before
batmanif is available. Instead, alfred is started as soon as batmanif appears,
if that happens during the 30-second window.

Signed-off-by: Gui Iribarren <gui@altermundi.net>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
10 years agoalfred: fix batadv-vis invocation in init.d script
Gui Iribarren [Fri, 13 Dec 2013 19:03:47 +0000 (16:03 -0300)]
alfred: fix batadv-vis invocation in init.d script

broken (wouldn't start, failing silently) since the following commit:
 * "renamed vis to batadv-vis to avoid collisions with other vis binaries"
which renamed only some instances of the "vis" command

Signed-off-by: Gui Iribarren <gui@altermundi.net>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
10 years agonodogsplash: recognize yes, true or 1 as valid TrafficControl values 12/head
Gui Iribarren [Sun, 15 Dec 2013 11:47:17 +0000 (08:47 -0300)]
nodogsplash: recognize yes, true or 1 as valid TrafficControl values

10 years agonodogsplash: check if TrafficControl is enabled before testing imq module requirement.
Gui Iribarren [Sun, 15 Dec 2013 11:31:50 +0000 (08:31 -0300)]
nodogsplash: check if TrafficControl is enabled before testing imq module requirement.

This avoids failing to start in current OpenWrt Attitude Adjustment and trunk,
which lack IMQ support (and WONTFIX). Suggested in the issue discussed in:
http://ml.ninux.org/pipermail/nodogsplash/2013-May/000009.html

Signed-off-by: Gui Iribarren <gui@altermundi.net>
10 years agobmx6: update to current master revision
Axel Neumann [Wed, 27 Nov 2013 11:01:46 +0000 (12:01 +0100)]
bmx6: update to current master revision

10 years agoMerge branch 'master' into bmx6_testing
Axel Neumann [Wed, 27 Nov 2013 10:55:52 +0000 (11:55 +0100)]
Merge branch 'master' into bmx6_testing

11 years agoolsrd: hotplug-script: take config-file as marker for 'init-script-was-already-invoke...
Bastian Bittorf [Sun, 24 Nov 2013 14:21:17 +0000 (15:21 +0100)]
olsrd: hotplug-script: take config-file as marker for 'init-script-was-already-invoked-once' and not the pidfile: the pidfile ist not written if the daemon couldnt startup, e.g. because no interface was up yet and 'AllowNoInt' was not configured - thanks to bluse-blue for reporting this issue on a WDR4900v1

11 years agoMerge pull request #10 from mmunz/upstream
Bastian Bittorf [Thu, 14 Nov 2013 08:36:08 +0000 (00:36 -0800)]
Merge pull request #10 from mmunz/upstream

Fix config creation for multiple LinkQualityMult entries in uci config

11 years agoalfred: optionally bundle a lua script for generating a bat-hosts
Gui Iribarren [Tue, 12 Nov 2013 19:28:46 +0000 (20:28 +0100)]
alfred: optionally bundle a lua script for generating a bat-hosts

Provide a lua script that uses alfred to propagate and collect all
interface mac + names, then generate a /tmp/bat-hosts file.
If there's already a (probably hand-made) /etc/bat-hosts it won't overwrite it,
but if there's none, it will symlink /etc/bat-hosts -> /tmp/bat-hosts

Signed-off-by: Gui Iribarren <gui@altermundi.net>
Thanks-to: Joshua Head <joshua.head@outlook.com>
[sw@simonwunderlich.de: bumped release number]
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
11 years agoFix config creation for multiple LinkQualityMult entries in uci config 10/head
Manuel Munz [Tue, 12 Nov 2013 13:35:24 +0000 (14:35 +0100)]
Fix config creation for multiple LinkQualityMult entries in uci config

11 years agoolsrd: hotplug: dont test if daemon is enabled, but look for a written PID-file....
Bastian Bittorf [Mon, 11 Nov 2013 10:46:17 +0000 (11:46 +0100)]
olsrd: hotplug: dont test if daemon is enabled, but look for a written PID-file. this solves the issue, that hotplug fires multiple restarts during boot for each upcoming interface (e.g. lo, lan, wan, wifi1, wifi2) which is racy somehow, but leaves hotplug itself working after normal startup. also reduce forking by directly sourcing '/etc/init.d/olsrd' via rc.common