[OpenWrt-Devel] Barrier Breaker on au1000 (MTX-1)

2014-07-15 Thread Bruno Randolf
Hello, I needed to update the kernel version to 3.10.44 to compile Barrier Breaker for au1000 (MTX-1): diff --git a/target/linux/au1000/Makefile b/target/linux/au1000/Makefile index 2f9c24d..5fb4a43 100644 --- a/target/linux/au1000/Makefile +++ b/target/linux/au1000/Makefile @@ -13,7 +13,7 @@

[OpenWrt-Devel] Sysupgrade to Barrier Breaker on au1000 (MTX-1)

2014-07-15 Thread Bruno Randolf
Another problem I noted when upgrading from AA to BB on MTX-1: # sysupgrade -n /tmp/openwrt-au1000-au1500-jffs2-128k-sysupgrade.bin tar: openwrt-au1000-au1500-jffs2-128k.fs: not found in archive Invalid image contents Image check 'platform_check_image' failed. I needed to change in

Re: [OpenWrt-Devel] Sysupgrade to Barrier Breaker on au1000 (MTX-1)

2014-07-17 Thread Bruno Randolf
Hi John and all, On 07/17/2014 08:14 AM, John Crispin wrote: au1000 was not updated for BB and as you see there is some work missing. feel free to send a patch to fix the sysupgrade issue. Once that is done and if you volunteert to maintain au1000 for BB, then we culd add it to the list of

[OpenWrt-Devel] luci-app-minidlna disables minidlna?

2014-07-21 Thread Bruno Randolf
Hi Garbor, In luci-app-mindlna we find the following in /etc/uci-defaults/luci-minidlna: 3 /etc/init.d/minidlna enabled { 4 /etc/init.d/minidlna stop 5 /etc/init.d/minidlna disable 6 } Which disables MiniDLNA startup and is a quite unexpected side-effect of

Re: [OpenWrt-Devel] Sysupgrade to Barrier Breaker on au1000 (MTX-1)

2014-07-21 Thread Bruno Randolf
On 07/18/2014 06:25 PM, John Crispin wrote: 4) we make a script that we call after the build on the server that repackages the images how about that ? Hmmm, I think it should not be done on the server, but as part of the OpenWRT build - also if I compile locally I would like to get a

Re: [OpenWrt-Devel] Sysupgrade to Barrier Breaker on au1000 (MTX-1)

2014-07-21 Thread Bruno Randolf
On 07/21/2014 12:28 PM, Bruno Randolf wrote: It would be possible to create a special image for upgrade from AA, something like openwrt-au1000-au1500-jffs2-128k-sysupgrade-from-12.09.bin, but I think it's simpler to just add a symlink to the tar.gz in all cases, The symlink approach does

Re: [OpenWrt-Devel] Sysupgrade to Barrier Breaker on au1000 (MTX-1)

2014-07-21 Thread Bruno Randolf
au1000 users out there and I guess we can expect them to follow the major OpenWRT releases... bruno John On 21/07/2014 15:20, Bruno Randolf wrote: On 07/21/2014 12:28 PM, Bruno Randolf wrote: It would be possible to create a special image for upgrade from AA, something like openwrt

[OpenWrt-Devel] ffmpeg on au1500 --disable-mips32r2

2014-10-13 Thread Bruno Randolf
Hello again, ffmpeg tries to automatically enable optimizations for the MIPS platform, but for au1500 it automatically enables mips32r2, which this CPU does not support. For now, I could fix the problem by adding --disable-mips32r2 to FFMPEG_CONFIGURE, but again, this is probably not the correct

Re: [OpenWrt-Devel] Problems with ffmpeg and alsa-lib

2014-10-14 Thread Bruno Randolf
On 10/13/2014 10:48 PM, Ted Hess wrote: 2 - Building alsa-lib has no dependency on the host system's audio setup. The problem you are seeing is indeed a problem with your build environment, and what tools you have installed. More information is needed about our build system and target config

[OpenWrt-Devel] [PATCH 3/3] au1000: implement sysupgrade platform.sh

2012-06-18 Thread Bruno Randolf
Signed-off-by: Bruno Randolf b...@einfach.org --- .../au1000/base-files/lib/upgrade/platform.sh | 36 target/linux/au1000/image/Makefile |1 + 2 files changed, 37 insertions(+) create mode 100644 target/linux/au1000/base-files/lib/upgrade

[OpenWrt-Devel] [PATCH 1/3] au1000: fix InternetBox idsel and remove broken flag

2012-06-18 Thread Bruno Randolf
broken flag, it works. Signed-off-by: Bruno Randolf b...@einfach.org --- target/linux/au1000/Makefile |2 +- .../linux/au1000/patches-3.3/004-pci-idsel-cb.diff | 12 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 target/linux/au1000

[OpenWrt-Devel] [PATCH 2/3] au1000: clean up profiles

2012-06-18 Thread Bruno Randolf
Signed-off-by: Bruno Randolf b...@einfach.org --- target/linux/au1000/au1500/profiles/InternetBox.mk |5 ++--- target/linux/au1000/au1500/profiles/MeshCube.mk|4 +--- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/target/linux/au1000/au1500/profiles/InternetBox.mk b

[OpenWrt-Devel] mac80211 MAC address generation

2012-07-31 Thread Bruno Randolf
: Bruno Randolf b...@thinktube.com Date: Thu Jul 26 20:21:22 2012 +0100 mac80211: generate MAC adresses in the upper byte This way it's easier to avoid duplicate MAC adresses. diff --git a/package/mac80211/files/lib/wifi/mac80211.sh b/package/mac80211/files/lib/wifi/mac index 1a4d7c1

Re: [OpenWrt-Devel] [PATCH] [platform/au1000/sysupgrade] fix sysupgrade when changing rootfs from jffs2 to squashfs and visa versa

2013-10-30 Thread Bruno Randolf
On 10/30/2013 07:24 AM, Bastian Bittorf wrote: [platform/au1000/sysupgrade] fix sysupgrade when changing rootfs from jffs2 to squashfs and visa versa till now only jffs2 was possible and sysupgrade refuses to change fs-type, because of bad/invalid content in sysupgrade-file. manually

Re: [OpenWrt-Devel] [PATCH][packages]firewall3: optimize by loading conntrack modules on demand

2013-11-04 Thread Bruno Randolf
Hi! Auto-loading only the required modules definetly helps a lot for low CPU power systems like the Soekris net48xx. We have seen a difference in sirq (Soft IRQ) load of 80% with conntrack modules versus 12% without any iptables modules when the system is hit with 50Mbps UDP traffic on the

[OpenWrt-Devel] PPP unnumbered

2013-09-26 Thread Bruno Randolf
Hello, I'm trying to add support for PPP unnumbered connections which are PPP connections which don't use a dedicated IP, instead an IP address of another local interface is reused on the PPP interface. Some Internet providers require this, since their PPPoE server pushes the network

[OpenWrt-Devel] firewall3 does not use default network option

2013-09-30 Thread Bruno Randolf
Hi! I'm reporting this here because your Trac believes this is Spam when I try to create an issue. http://wiki.openwrt.org/doc/uci/firewall#zones says: network: List of interfaces attached to this zone. If omitted and neither extra* options, subnets or devices are given, the value of name

Re: [OpenWrt-Devel] firewall3 does not use default network option

2013-10-01 Thread Bruno Randolf
On 09/30/2013 12:43 PM, Jo-Philipp Wich wrote: Hi. I understand the backwards compatibility issue but the problem with the fallback to name approach is that there is no clean way to have a zone called name that is *not* covering a network called wan automatically. I'd rather change the

Re: [OpenWrt-Devel] opkg development and OpenWRT

2013-10-04 Thread Bruno Randolf
On 10/04/2013 12:38 PM, Paul Barker wrote: know much about. I'd really like to hear from whoever is maintaining the build recipe and patches for opkg within OpenWRT to ensure that we help each other out rather than stepping on each others toes. BTW: One thing I'd like the OpenWRT maintainers

Re: [OpenWrt-Devel] [OpenWrt-Users] unknown network field 'beacon_int and wpa_supplicant

2013-10-10 Thread Bruno Randolf
Hi, This is a patch against AA which fixes it for us: wpa_supplicant: fix beacon_int configuration option wpa_supplicant expects beacon_int instead of beacon_interval in its config file. diff --git a/package/hostapd/files/wpa_supplicant.sh b/package/hostapd/files/wpa_supplicant.sh index

[OpenWrt-Devel] [PATCH 01/10] cron: improve init script

2013-10-10 Thread Bruno Randolf
Add PATH in case it is missing (e.g. when executing the script from ssh, like ssh IP /etc/init.d/cron restart). Signed-off-by: Bruno Randolf b...@einfach.org --- package/busybox/files/cron | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/busybox/files/cron b/package/busybox/files

[OpenWrt-Devel] [PATCH 02/10] mark base-files, kernel, opkg as essential packages

2013-10-10 Thread Bruno Randolf
Mark as essential to prevent removal from a running system. Signed-off-by: Bruno Randolf b...@einfach.org --- package/base-files/Makefile | 1 + package/kernel/Makefile | 2 +- package/opkg/Makefile | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/package/base-files

[OpenWrt-Devel] [PATCH 03/10] mkfwimage: Increase RSPRO maximum size to 0xF00000 (15 MiB)

2013-10-10 Thread Bruno Randolf
the limit to 0xB0 (11 MiB). Signed-off-by: Bruno Randolf b...@einfach.org --- tools/firmware-utils/src/mkfwimage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/firmware-utils/src/mkfwimage.c b/tools/firmware-utils/src/mkfwimage.c index a527014..e3a03c1 100644

[OpenWrt-Devel] [PATCH 05/10] ppp: Add IP unnumbered for PPPoE protocol

2013-10-10 Thread Bruno Randolf
), and the following script in /etc/ppp/ip-up.d/. It works, but it is not integrated with netifd, e.g. netifd does not know about the IP address we assigned. Signed-off-by: Bruno Randolf b...@einfach.org --- package/ppp/Makefile | 2 ++ package/ppp/files/ip_unnumbered.sh | 45

[OpenWrt-Devel] [PATCH 06/10] iw: add patch to support 802.11j frequencies

2013-10-10 Thread Bruno Randolf
A similar change was recently merged in iw commit 58b46da26ab9b5ff31c7033e175351eb1301d9af Signed-off-by: Bruno Randolf b...@einfach.org --- package/iw/patches/140-freq-11j.patch | 85 +++ 1 file changed, 85 insertions(+) create mode 100644 package/iw/patches/140

[OpenWrt-Devel] [PATCH 09/10] x86: fix condition in base-files.mk

2013-10-10 Thread Bruno Randolf
TARGET_x86_generic_Soekris48xx is not defined, CONFIG_TARGET_x86_generic_Soekris48xx is This changes makes it possible to override the network config for soekris net48xx and net45xx targets. Signed-off-by: Bruno Randolf b...@einfach.org --- target/linux/x86/base-files.mk | 2 +- 1 file changed

[OpenWrt-Devel] [PATCH 07/10] mac80211: fix iwconfig for ibss

2013-10-10 Thread Bruno Randolf
[cfg8 0211]() It is caused by an uninitialized variable center_freq1. The same was recently merged in wireless-testing commit f478f33a93f9353dcd1fe55445343d76b1c3f84a. Signed-off-by: Bruno Randolf b...@einfach.org --- package/mac80211/Makefile | 2 +- .../patches/920

[OpenWrt-Devel] [PATCH 10/10] net48xx: fix scx200_hrt clocksource

2013-10-10 Thread Bruno Randolf
] ? handle_irq_event+0x19/0x30 [ 13.310053] [c10524f6] ? handle_level_irq+0x66/0x70 [ 13.310053] IRQ [c1003bca] ? do_IRQ+0x3a/0xb0 [ 13.310053] [c131d6e9] ? common_interrupt+0x29/0x30 [ 13.310053] ---[ end trace ac85af0b4252a378 ]--- Signed-off-by: Bruno Randolf b...@einfach.org --- .../004

[OpenWrt-Devel] [PATCH 04/10] opkg: remove patch which disables upgrade all

2013-10-10 Thread Bruno Randolf
such as JFFS2. As OpenWRT is used on a variety of systems, some with plenty of writeable flash space, I suggest to not unconditionally disable upgrade all. Signed-off-by: Bruno Randolf b...@einfach.org --- package/opkg/patches/009-remove-upgrade-all.patch | 41 --- 1 file

[OpenWrt-Devel] [PATCH 08/10] wpa_supplicant: fix beacon_int configuration option

2013-10-10 Thread Bruno Randolf
wpa_supplicant expects beacon_int instead of beacon_interval in its config file. Signed-off-by: Bruno Randolf b...@einfach.org --- package/hostapd/files/wpa_supplicant.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/hostapd/files/wpa_supplicant.sh b/package

Re: [OpenWrt-Devel] [OpenWrt-Users] unknown network field 'beacon_int and wpa_supplicant

2013-10-10 Thread Bruno Randolf
attitude_adjustment/package/hostapd/files/wpa_supplicant.sh.rej AA revision 38351 Hi, Check the patch I just posted which is against current AA 12.09. If it does not apply to your revision, the patch is simple enough so you can make the same changes by hand. bruno On 10/10/2013 03:22 AM, Bruno Randolf

[OpenWrt-Devel] [PATCH 1/7] libgphoto2 depends on libusb, not libusb-1.0

2013-10-10 Thread Bruno Randolf
Signed-off-by: Bruno Randolf b...@einfach.org --- libs/libgphoto2/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/libgphoto2/Makefile b/libs/libgphoto2/Makefile index cc45ece..e31b30a 100644 --- a/libs/libgphoto2/Makefile +++ b/libs/libgphoto2/Makefile @@ -37,7

[OpenWrt-Devel] [PATCH 3/7] ddns-scripts: add init script

2013-10-10 Thread Bruno Randolf
Signed-off-by: Bruno Randolf b...@einfach.org --- net/ddns-scripts/Makefile | 2 ++ net/ddns-scripts/files/etc/init.d/ddns | 12 2 files changed, 14 insertions(+) create mode 100644 net/ddns-scripts/files/etc/init.d/ddns diff --git a/net/ddns-scripts/Makefile b/net

[OpenWrt-Devel] [PATCH 0/7] Patches for packages AA 12.09

2013-10-10 Thread Bruno Randolf
Here some patches against AA 12.09 packages... Bruno Randolf (7): libgphoto2 depends on libusb, not libusb-1.0 LIBCONFIG: enabling c++ support (lconfig++). ddns-scripts: add init script pptpd: Add uci configuration for PPTPD. pptpd: remove IP in options.pptp isc-dhcp: dhcrelay: add

[OpenWrt-Devel] [PATCH 2/7] LIBCONFIG: enabling c++ support (lconfig++).

2013-10-10 Thread Bruno Randolf
Signed-off-by: Bruno Randolf b...@einfach.org --- libs/libconfig/Makefile | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libs/libconfig/Makefile b/libs/libconfig/Makefile index f56de43..5eb0ed8 100644 --- a/libs/libconfig/Makefile +++ b/libs/libconfig/Makefile @@ -42,20

[OpenWrt-Devel] [PATCH 6/7] isc-dhcp: dhcrelay: add UCI config and init script

2013-10-10 Thread Bruno Randolf
Signed-off-by: Bruno Randolf b...@einfach.org --- net/isc-dhcp/Makefile | 6 +++-- net/isc-dhcp/files/dhcrelay.config | 15 +++ net/isc-dhcp/files/dhcrelay.init | 51 ++ 3 files changed, 70 insertions(+), 2 deletions(-) create mode

[OpenWrt-Devel] [PATCH 7/7] isc-dhcp: dhcrelay: Add RFC3527 link selection sub-option

2013-10-10 Thread Bruno Randolf
RFC3527 link selection sub-option is used to select the uplink interface of dhcrelay in cases where the DHCP server does not know how to reach the dhcrelay based on the DHCP range. This can happen in weird network configurations like Mesh networks. Signed-off-by: Bruno Randolf b...@einfach.org

[OpenWrt-Devel] [PATCH 4/7] pptpd: Add uci configuration for PPTPD.

2013-10-10 Thread Bruno Randolf
Signed-off-by: Bruno Randolf b...@einfach.org --- net/pptpd/Makefile| 3 +++ net/pptpd/files/pptpd.init| 41 +++-- net/pptpd/files/pptpd.uciconf | 8 3 files changed, 50 insertions(+), 2 deletions(-) create mode 100644 net/pptpd

[OpenWrt-Devel] [PATCH 5/7] pptpd: remove IP in options.pptp

2013-10-10 Thread Bruno Randolf
ppp has obsoleted this option (as of v2.4.3-7) according to http://wiki.openwrt.org/doc/howto/vpn.server.pptpd Signed-off-by: Bruno Randolf b...@einfach.org --- net/pptpd/files/options.pptpd | 1 - 1 file changed, 1 deletion(-) diff --git a/net/pptpd/files/options.pptpd b/net/pptpd/files

Re: [OpenWrt-Devel] [PATCH 6/7] isc-dhcp: dhcrelay: add UCI config and init script

2013-10-10 Thread Bruno Randolf
Please forget this patch, it is slightly incompatible with the version that already exists in trunk... I will update trunk instead. bruno On 10/10/2013 01:16 PM, Bruno Randolf wrote: Signed-off-by: Bruno Randolf b...@einfach.org --- net/isc-dhcp/Makefile | 6 +++-- net/isc

Re: [OpenWrt-Devel] [PATCH 00/10] Some patches for AA 12.09

2013-10-10 Thread Bruno Randolf
On 10/10/2013 02:50 PM, Jo-Philipp Wich wrote: Are these patches backports from trunk? If not please rebase them on current trunk so we can apply them there and backport to 12.09 afterwards. I made the patches originally for 12.09. I am now forward-porting them to trunk, but due to the folder

[OpenWrt-Devel] [PATCH 0/8] Various patches for trunk

2013-10-10 Thread Bruno Randolf
Here I'm resending the patches which still apply to trunk from my previous series which was for AA. Bruno Randolf (8): mark base-files, kernel, opkg as essential packages mkfwimage: Increase RSPRO maximum size to 0xF0 (15 MiB) opkg: remove patch which disables upgrade all iw: add

[OpenWrt-Devel] [PATCH 1/8] mark base-files, kernel, opkg as essential packages

2013-10-10 Thread Bruno Randolf
Mark as essential to prevent removal from a running system. Signed-off-by: Bruno Randolf b...@einfach.org --- package/base-files/Makefile | 1 + package/kernel/linux/Makefile | 2 +- package/system/opkg/Makefile | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/package/base

[OpenWrt-Devel] [PATCH 3/8] opkg: remove patch which disables upgrade all

2013-10-10 Thread Bruno Randolf
such as JFFS2. As OpenWRT is used on a variety of systems, some with plenty of writeable flash space, I suggest to not unconditionally disable upgrade all. Signed-off-by: Bruno Randolf b...@einfach.org --- .../opkg/patches/009-remove-upgrade-all.patch | 41 -- 1 file

[OpenWrt-Devel] [PATCH 5/8] wpa_supplicant: fix beacon_int configuration option

2013-10-10 Thread Bruno Randolf
wpa_supplicant expects beacon_int instead of beacon_interval in its config file. Signed-off-by: Bruno Randolf b...@einfach.org --- package/network/services/hostapd/files/wpa_supplicant.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/network/services/hostapd

[OpenWrt-Devel] [PATCH 2/8] mkfwimage: Increase RSPRO maximum size to 0xF00000 (15 MiB)

2013-10-10 Thread Bruno Randolf
the limit to 0xB0 (11 MiB). Signed-off-by: Bruno Randolf b...@einfach.org --- tools/firmware-utils/src/mkfwimage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/firmware-utils/src/mkfwimage.c b/tools/firmware-utils/src/mkfwimage.c index a527014..e3a03c1 100644

[OpenWrt-Devel] [PATCH 4/8] iw: add patch to support 802.11j frequencies

2013-10-10 Thread Bruno Randolf
A similar change was recently merged in iw commit 58b46da26ab9b5ff31c7033e175351eb1301d9af Signed-off-by: Bruno Randolf b...@einfach.org --- .../network/utils/iw/patches/140-freq-11j.patch| 85 ++ 1 file changed, 85 insertions(+) create mode 100644 package/network/utils

[OpenWrt-Devel] [PATCH 7/8] ppp: [RFC] Add IP unnumbered for PPPoE protocol

2013-10-10 Thread Bruno Randolf
/. RFC: It works, but it is not integrated with netifd, e.g. netifd does not know about the IP address we assigned. Signed-off-by: Bruno Randolf b...@einfach.org --- package/network/services/ppp/Makefile | 2 + .../network/services/ppp/files/ip_unnumbered.sh| 45

[OpenWrt-Devel] [PATCH 8/8] libconfig: enable c++ support (libconfig++).

2013-10-10 Thread Bruno Randolf
Signed-off-by: Bruno Randolf b...@einfach.org --- package/libs/libconfig/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/libs/libconfig/Makefile b/package/libs/libconfig/Makefile index 5ade648..8723e36 100644 --- a/package/libs/libconfig/Makefile +++ b

[OpenWrt-Devel] [PATCH 6/8] x86: fix condition in base-files.mk

2013-10-10 Thread Bruno Randolf
TARGET_x86_generic_Soekris48xx is not defined, CONFIG_TARGET_x86_generic_Soekris48xx is This changes makes it possible to override the network config for soekris net48xx and net45xx targets. Signed-off-by: Bruno Randolf b...@einfach.org --- target/linux/x86/base-files.mk | 2 +- 1 file changed

Re: [OpenWrt-Devel] [PATCH 4/7] pptpd: Add uci configuration for PPTPD.

2013-10-11 Thread Bruno Randolf
On 10/11/2013 01:24 AM, Yousong Zhou wrote: To make `enabled 0` a working option, it should be something like setup_config pptpd start_pptpd Thanks, will fix and resend the patch for trunk. bruno ___ openwrt-devel mailing list

[OpenWrt-Devel] [PATCH 0/6] Patches for trunk packages

2013-10-11 Thread Bruno Randolf
Similar to my previous series for AA, now rebased to trunk... Bruno Randolf (6): libgphoto2 depends on libusb-compat, not libusb-1.0 ddns-scripts: add init script pptpd: Add uci configuration for PPTPD. pptpd: remove IP in options.pptp isc-dhcp: dhcrelay: Add more UCI options isc-dhcp

[OpenWrt-Devel] [PATCH 2/6] ddns-scripts: add init script

2013-10-11 Thread Bruno Randolf
Signed-off-by: Bruno Randolf b...@einfach.org --- net/ddns-scripts/Makefile | 2 ++ net/ddns-scripts/files/etc/init.d/ddns | 12 2 files changed, 14 insertions(+) create mode 100644 net/ddns-scripts/files/etc/init.d/ddns diff --git a/net/ddns-scripts/Makefile b/net

[OpenWrt-Devel] [PATCH 3/6] pptpd: Add uci configuration for PPTPD.

2013-10-11 Thread Bruno Randolf
Signed-off-by: Bruno Randolf b...@einfach.org --- net/pptpd/Makefile| 3 +++ net/pptpd/files/pptpd.init| 40 ++-- net/pptpd/files/pptpd.uciconf | 8 3 files changed, 49 insertions(+), 2 deletions(-) create mode 100644 net/pptpd/files

[OpenWrt-Devel] [PATCH 4/6] pptpd: remove IP in options.pptp

2013-10-11 Thread Bruno Randolf
ppp has obsoleted this option (as of v2.4.3-7) according to http://wiki.openwrt.org/doc/howto/vpn.server.pptpd Signed-off-by: Bruno Randolf b...@einfach.org --- net/pptpd/files/options.pptpd | 1 - 1 file changed, 1 deletion(-) diff --git a/net/pptpd/files/options.pptpd b/net/pptpd/files

[OpenWrt-Devel] [PATCH 1/6] libgphoto2 depends on libusb-compat, not libusb-1.0

2013-10-11 Thread Bruno Randolf
Signed-off-by: Bruno Randolf b...@einfach.org --- libs/libgphoto2/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/libgphoto2/Makefile b/libs/libgphoto2/Makefile index cc45ece..bf4f55f 100644 --- a/libs/libgphoto2/Makefile +++ b/libs/libgphoto2/Makefile @@ -37,7

[OpenWrt-Devel] [PATCH 5/6] isc-dhcp: dhcrelay: Add more UCI options

2013-10-11 Thread Bruno Randolf
Add more options to dhcrelay UCI and init script: - enabled - interfaces: Listen interfaces - relay_mode: What to do about packets that already have a relay option Also mark /etc/config/dhcrelay as conffile Signed-off-by: Bruno Randolf b...@einfach.org --- net/isc-dhcp/Makefile

[OpenWrt-Devel] [PATCH 6/6] isc-dhcp: dhcrelay: Add RFC3527 link selection sub-option

2013-10-11 Thread Bruno Randolf
RFC3527 link selection sub-option is used to select the uplink interface of dhcrelay in cases where the DHCP server does not know how to reach the dhcrelay based on the DHCP range. This can happen in weird network configurations like Mesh networks. Signed-off-by: Bruno Randolf b...@einfach.org

Re: [OpenWrt-Devel] [PATCH 01/10] cron: improve init script

2013-10-11 Thread Bruno Randolf
On 10/11/2013 01:35 AM, Yousong Zhou wrote: Hi, On 10 October 2013 19:02, Bruno Randolf b...@einfach.org wrote: Add PATH in case it is missing (e.g. when executing the script from ssh, like ssh IP /etc/init.d/cron restart). Signed-off-by: Bruno Randolf b...@einfach.org --- package/busybox

Re: [OpenWrt-Devel] [PATCH 3/6] pptpd: Add uci configuration for PPTPD.

2013-10-17 Thread Bruno Randolf
On 10/15/2013 02:45 PM, Jo-Philipp Wich wrote: comments inline. Hi, Thanks, will address the issues and resend. bruno On 11.10.2013 12:30, Bruno Randolf wrote: Signed-off-by: Bruno Randolf b...@einfach.org --- net/pptpd/Makefile| 3 +++ net/pptpd/files/pptpd.init| 40

Re: [OpenWrt-Devel] [PATCH 6/6] isc-dhcp: dhcrelay: Add RFC3527 link selection sub-option

2013-10-17 Thread Bruno Randolf
On 10/15/2013 02:52 PM, Jo-Philipp Wich wrote: +++ b/net/isc-dhcp/patches/100-relay-rfc3527-link-selection.patch Can you elaborate on the origin of this patch? Was it written by you? Yes, this patch was written by me, and I have sent it for inclusion to the upstream ISC dhcp-hackers

[OpenWrt-Devel] [PATCH 0/3] trunk packages resend

2013-10-17 Thread Bruno Randolf
Hi! Here I resend the PPTPD and dhcrelay patches for trunk packages. I tried to address all issues jow has mentioned before. Bruno Randolf (3): pptpd: Add uci configuration for PPTPD. isc-dhcp: dhcrelay: Add more UCI options isc-dhcp: dhcrelay: Add RFC3527 link selection sub-option net

[OpenWrt-Devel] [PATCH 2/3] isc-dhcp: dhcrelay: Add more UCI options

2013-10-17 Thread Bruno Randolf
Add more options to dhcrelay UCI and init script: - enabled - interfaces: Listen interfaces - relay_mode: What to do about packets that already have a relay option Also mark /etc/config/dhcrelay as conffile Signed-off-by: Bruno Randolf b...@einfach.org --- net/isc-dhcp/Makefile

[OpenWrt-Devel] [PATCH 1/3] pptpd: Add uci configuration for PPTPD.

2013-10-17 Thread Bruno Randolf
Signed-off-by: Bruno Randolf b...@einfach.org --- net/pptpd/Makefile | 5 - net/pptpd/files/pptpd.config | 8 net/pptpd/files/pptpd.init | 46 +++- 3 files changed, 53 insertions(+), 6 deletions(-) create mode 100644 net/pptpd

[OpenWrt-Devel] [PATCH 3/3] isc-dhcp: dhcrelay: Add RFC3527 link selection sub-option

2013-10-17 Thread Bruno Randolf
RFC3527 link selection sub-option is used to select the uplink interface of dhcrelay in cases where the DHCP server does not know how to reach the dhcrelay based on the DHCP range. This can happen in weird network configurations like Mesh networks. Signed-off-by: Bruno Randolf b...@einfach.org

[OpenWrt-Devel] small au1000 patches

2007-12-15 Thread bruno randolf
hi florian! i've been playing with openwrt on my meshcube this weekend. so i send a few small patches for the au1000. i'm not sure how they fit into the openwrt way of doing things, but i'd like to include a few more programs and kernel modules on the MeshCube by default, since we have the

[OpenWrt-Devel] [PATCH] au1000: use 128k blocksize for au1000 targets

2007-12-15 Thread bruno randolf
64k blocksize gives erase errors Signed-off-by: Bruno Randolf [EMAIL PROTECTED] --- target/linux/au1000/image/Makefile |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/target/linux/au1000/image/Makefile b/target/linux/au1000/image/Makefile index 3cdd83e..062d613 100644

[OpenWrt-Devel] [PATCH] au1000: use .srec suffix for SREC files

2007-12-15 Thread bruno randolf
use .srec file suffix for .srec files, please Signed-off-by: Bruno Randolf [EMAIL PROTECTED] --- target/linux/au1000/image/Makefile |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/au1000/image/Makefile b/target/linux/au1000/image/Makefile index 062d613

[OpenWrt-Devel] [PATCH] au1000: add profiles MeshCube and InternetBox

2007-12-15 Thread bruno randolf
this adds two au1000 based profiles: MeshCube and T-Mobile Internet Box. Signed-off-by: Bruno Randolf [EMAIL PROTECTED] --- target/linux/au1000/profiles/InternetBox.mk | 19 +++ target/linux/au1000/profiles/MeshCube.mk| 20 2 files changed, 39

[OpenWrt-Devel] patch: iperf configure fix

2008-08-21 Thread Bruno Randolf
this patch fixes the iperf configure and dependencies: Index: package/iperf/Makefile === --- package/iperf/Makefile (revision 615) +++ package/iperf/Makefile (working copy) @@ -22,7 +22,7 @@ SUBMENU:=Monitoring

Re: [OpenWrt-Devel] patch: iperf configure fix

2008-08-22 Thread Bruno Randolf
Felix Fietkau wrote: Bruno Randolf wrote: hmm, i would not have bothered to send a patch if it worked fine without. i'm compiling for x86 and there is no g++-uc in my toolchain path... also there is no uclibcxx am i missing something? uclibc++ is part of the packages feed. you can do

[OpenWrt-Devel] [patch] add package opencv

2008-08-27 Thread Bruno Randolf
+PKG_SOURCE_VERSION:=HEAD +PKG_BUILD_DIR:=$(BUILD_DIR)/opencv + +PKG_FIXUP = libtool + +include $(INCLUDE_DIR)/package.mk + +define Package/opencv + SECTION:=multimedia + CATEGORY:=Multimedia + DEPENDS:=+libjpeg +libpng +libffmpeg + MAINTAINER:=Bruno Randolf [EMAIL PROTECTED] + TITLE:=OpenCV

[OpenWrt-Devel] [patch] fix cvs download

2008-08-27 Thread Bruno Randolf
this patch fixes CVS download - otherwise i get the error: cvs checkout: No CVSROOT specified! Please use the `-d' option Index: include/download.mk === --- include/download.mk (revision 629) +++ include/download.mk (revision 630)

Re: [OpenWrt-Devel] [patch] add package opencv

2008-08-28 Thread Bruno Randolf
-08-27 at 10:52 -0400, Bruno Randolf wrote: this adds the opencv (open source computer vision) libraries Index: package/opencv/Makefile === --- package/opencv/Makefile (revision 0) +++ package/opencv/Makefile (revision 0

[OpenWrt-Devel] Fwd: Re: [patch] add package opencv

2008-08-28 Thread Bruno Randolf
-08-27 at 10:52 -0400, Bruno Randolf wrote: this adds the opencv (open source computer vision) libraries Index: package/opencv/Makefile === --- package/opencv/Makefile (revision 0) +++ package/opencv/Makefile (revision 0

[OpenWrt-Devel] [PATCH] au1000: fix gpio output

2008-09-04 Thread Bruno Randolf
when setting the output state of one GPIO pin we have to keep the state of the other pins, hence use binary OR. also gpio_direction_output() wants to set an initial value, so add that too. this fixes a problem with the USB power switch on mtx-1 boards. Signed-off-by: Bruno Randolf [EMAIL

[OpenWrt-Devel] openwrt trunk on soekris net48xx fixes

2010-02-12 Thread Bruno Randolf
hello! trying to use todays openwrt trunk on a soekris net4826 i ran into the following problems: 1) the default kernel 2.6.31.12 does not boot (system continually reboots) and does not show any output on the serial console. i updated to kernel 2.6.32.8, which works better, but: 2)

Re: [OpenWrt-Devel] openwrt trunk on soekris net48xx fixes

2010-02-14 Thread Bruno Randolf
On Saturday 13 February 2010 20:22:15 Florian Fainelli wrote: Hello, Le samedi 13 février 2010 06:16:17, Bruno Randolf a écrit : hello! trying to use todays openwrt trunk on a soekris net4826 i ran into the following problems: 1) the default kernel 2.6.31.12 does not boot (system

Re: [OpenWrt-Devel] openwrt trunk on soekris net48xx fixes

2010-02-14 Thread Bruno Randolf
On Saturday 13 February 2010 19:57:08 ulf kypke wrote: hello bruno, welcome back ;-) 2010/2/13 Bruno Randolf b...@thinktube.com: hello! trying to use todays openwrt trunk on a soekris net4826 i ran into the following problems: 1) the default kernel 2.6.31.12 does not boot (system

Re: [OpenWrt-Devel] [PATCH] x86: additional grub options and defaults for soekris

2010-02-18 Thread Bruno Randolf
On Wednesday 17 February 2010 10:11:36 Jo-Philipp Wich wrote: Hi. I committed a modified version based on your patch in https://dev.openwrt.org/changeset/19681 - please test and report if you see further issues. hi! yes, grub configuration now works out of the box. there are still the

[OpenWrt-Devel] [patch] openwrt mac80211: let ath5k use PACKAGE_ATH_DEBUG config too

2010-03-12 Thread Bruno Randolf
hi felix! let ath5k use PACKAGE_ATH_DEBUG config too, to enable debugging of ath5k... ah - and there is a problem with firmware extraction for RT, even though no RT drivers are selected (extraction fails, build fails). so i commented that out. feel free to ignore (or fix ;)) that last part.

[OpenWrt-Devel] ath5k-WAR-for-AR71xx-PCI-bug kills performance

2010-03-12 Thread Bruno Randolf
hi felix! using the openwrt mac80211 201-ath5k-WAR-for-AR71xx-PCI-bug.patch on an routerstation pro really kills ath5k performance. with it applied i can get only around 15Mbps, without it i can get up to 30Mbps (that is UDP iperf). and i haven't seen any problems in my, admittedly very

[OpenWrt-Devel] [PATCH] mac80211: enable debug option for ath5k

2010-03-18 Thread Bruno Randolf
From: Bruno Randolf b...@tt-desk.(none) resent and rebased against current trunk --- package/mac80211/Makefile |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/package/mac80211/Makefile b/package/mac80211/Makefile index b302419..64cbf28 100644 --- a/package/mac80211

[OpenWrt-Devel] PCI broken on au1000

2010-04-04 Thread Bruno Randolf
hi! currently PCI is broken on the au1000 platforms. this is also the reason for: https://dev.openwrt.org/ticket/6851 in order to debug this further, does anyone know when the au1000 was working last? which kernel version? has anyone tried openwrt on au1000 recently? bruno

Re: [OpenWrt-Devel] PCI broken on au1000

2010-04-06 Thread Bruno Randolf
On Tuesday 06 April 2010 17:42:12 Florian Fainelli wrote: Hi Bruno, On Monday 05 April 2010 03:23:49 Bruno Randolf wrote: hi! currently PCI is broken on the au1000 platforms. this is also the reason for: https://dev.openwrt.org/ticket/6851 in order to debug this further

Re: [OpenWrt-Devel] meshcube and other devices running backfire

2010-05-21 Thread Bruno Randolf
On Friday 21 May 2010 18:49:01 ulf kypke wrote: hi, backfire is broken on meshcube and magicbox it would be very nice, special for people who are not that familiar with unbricking devices, to stop providing this images on your http://downloads.openwrt.org/backfire/10.03/ page. even nicer

Re: [OpenWrt-Devel] meshcube and other devices running backfire

2010-05-21 Thread Bruno Randolf
On Friday 21 May 2010 19:25:39 ulf kypke wrote: well specially on meshcubes this is very annoying. now i have to build a new special serial converter for it and my to roof date this afternoon is canceled, happy hacking hi ulf! afaik ethernet should still work, it's just PCI which is broken...

Re: [OpenWrt-Devel] meshcube and other devices running backfire

2010-05-21 Thread Bruno Randolf
On Friday 21 May 2010 19:58:45 you wrote: On Friday 21 May 2010 12:25:39 ulf kypke wrote: well specially on meshcubes this is very annoying. now i have to build a new special serial converter for it and my to roof date this afternoon is canceled, happy hacking Just use 2.6.30 if you want

[OpenWrt-Devel] ar71xx sysupgrade fails sometimes on routerstation-pro

2010-06-02 Thread Bruno Randolf
hi! on the routerstation-pro the mtd command of the sysupgrade script (ar71xx/base-files/lib/upgrade/platform.sh) sometimes fails because of problems with the FIS table. this sometimes results in a segfault, sometimes in an error message. i see this about every third time i try to flash an

Re: [OpenWrt-Devel] ar71xx sysupgrade fails sometimes on routerstation-pro

2010-06-03 Thread Bruno Randolf
On Wednesday 02 June 2010 21:05:46 Jo-Philipp Wich wrote: Hi. I think this is a general mmap() issue in ar71xx, the nvram utility had similar problems - the mmap call will always succeed but sometimes the mapped memory just contains zeroes. You can try the patch below and check whether it

Re: [OpenWrt-Devel] PCI broken on au1000

2010-07-01 Thread Bruno Randolf
hi! it seems the problem was alchemy_gpio2_enable(); everything works fine when i remove that call. maybe the problem is that PCI_SERR and PCI_RST# are connected to the GPIO2 block and they don't like the reset of GPIO2? in the following patch i also remove the now unnecessary au_sync from

Re: [OpenWrt-Devel] wireless / ibss / mac80211 / beaconinterval = bintval = bi

2011-01-16 Thread Bruno Randolf
/patches/501-ibss-bintval.patch b/package/iw/patches/501-ibss-bintval.patch new file mode 100644 index 000..aa18641 --- /dev/null +++ b/package/iw/patches/501-ibss-bintval.patch @@ -0,0 +1,57 @@ +iw: Add ibss join parameter for beacon interval + +From: Bruno Randolf b...@einfach.org

[OpenWrt-Devel] OM2P firmware upgrade with LuCI

2014-11-28 Thread Bruno Randolf
Hi! I just noted that there is an issue with the firmware upgrade via LuCI on the OM2P. The image validity check fails, because the following script in system.lua fails: local function image_supported() -- XXX: yay... return ( 0 == os.execute(

Re: [OpenWrt-Devel] au1000 - 3.14 tested needed

2014-12-02 Thread Bruno Randolf
Hi John, Thanks! I just tested it: up running, PCI got detected, Wifi works, looking good... :) root@OpenWrt:/# uname -a Linux OpenWrt 3.14.25 #1 Mon Dec 1 20:42:17 WET 2014 mips GNU/Linux bruno On 12/01/2014 04:55 PM, John Crispin wrote: Hi, i pushed 3.14 support for au1000. i have no

Re: [OpenWrt-Devel] au1000 - 3.14 tested needed

2014-12-10 Thread Bruno Randolf
Hi Bastian, Sorry for the delay. On 12/08/2014 08:01 PM, Bastian Bittorf wrote: what is strange: the ethernet-mac is always changing after each reboot. not sure if this was also the case with 3.10 - bruno can you see this too? Yes, I can confirm this. I just checked: The same happens on

Re: [OpenWrt-Devel] au1000 - 3.14 tested needed

2014-12-10 Thread Bruno Randolf
On 12/10/2014 11:30 AM, Bastian Bittorf wrote: so, does this mean we have not applied DTS to this target? Very likely. I don't remember how we got the MAC addr set before DT. what is also strange: 'yamonenv' is installed, but simply does not work. i never used it before, so i'am not sure if

Re: [OpenWrt-Devel] [PATCH] au1000: distinguish different models and set correct MAC-address

2014-12-11 Thread Bruno Randolf
Hi Bastian, There is a syntax error in the /etc/uci-defaults/02_network script, but even when I fix that, the MAC address is not set. What is ucidef_set_interface_macaddr supposed to do? Some more comments below: On 12/10/2014 09:26 PM, Bastian Bittorf wrote: The target au1000 has at least 2

[OpenWrt-Devel] Dual Wifi for OpenWRT

2015-01-10 Thread Bruno Randolf
Hello! Does anyone know a hardware platform with 2 or more wifi interfaces which can both be used in the 2.4 GHz band? I just went thru the table of hardware looking for boards which have more than one wifi. Unfortunately all of the consumer APs tagged with 2WNIC seem to have 1 wifi for 2.4GHz

Re: [OpenWrt-Devel] Dual Wifi for OpenWRT

2015-01-10 Thread Bruno Randolf
On 01/10/2015 08:38 PM, David Lang wrote: I would not expect to find consumer hardware that had two radios on the 2.4GHz band, the problems that you would run into trying to keep the output of one radio from deafening the other (if not outright popping the receiver amps) would be significant

Re: [OpenWrt-Devel] [PATCH] [ar71xx] Add support for MERCURY MAC1200R

2015-01-11 Thread Bruno Randolf
On 01/11/2015 09:25 PM, Gioacchino Mazzurco wrote: The device has two radios: - 802.11abgn AR9344 SoC, ath9k, working OK - 802.11ac QCA988x, ath10k, working in AP and STA modes Interesting device. Can you post more specs, or add to the TOH wiki? Thanks, bruno

  1   2   >