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 0b5

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

2013-10-10 Thread cmsv
I have encountered the following error while trying to patch the file: patching file attitude_adjustment/package/hostapd/files/wpa_supplicant.sh Hunk #1 FAILED at 119. Hunk #2 FAILED at 163. 2 out of 2 hunks FAILED -- saving rejects to file attitude_adjustment/package/hostapd/files/wpa_supplicant.

[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 --- package/busybox/files/cron | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/busybox/files/cron b/package/busybox/files/cron index 465b1a

[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 --- 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/Makefile b/packa

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

2013-10-10 Thread Bruno Randolf
Hi, Here are some patches for the 12.09 AA branch, some of which we have been carrying along in our internal version for quite some while now. Bruno Randolf (9): cron: improve init script mark base-files, kernel, opkg as essential packages mkfwimage: Increase RSPRO maximum size to 0xF0

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

2013-10-10 Thread Bruno Randolf
RSPRO has 16MiB of Flash, using the following layout: [2.93] 0x-0x0003 : "RedBoot" [2.94] 0x0003-0x0013 : "kernel" [2.95] 0x0013-0x00ff : "rootfs" [2.96] 0x00ff-0x00fff000 : "FIS directory" [2.97000

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

2013-10-10 Thread Bruno Randolf
From: Kentaro Matsuyama Some PPP connections 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 address when routing multiple IPs, and some customers want t

[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 --- package/iw/patches/140-freq-11j.patch | 85 +++ 1 file changed, 85 insertions(+) create mode 100644 package/iw/patches/140-freq-11j.patch

[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 --- target/linux/x86/base-files.mk | 2 +- 1 file changed, 1 insertion(+),

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

2013-10-10 Thread Bruno Randolf
Fix kernel warning when using iwconfig for configuring ad-hoc mode, e.g. "iwconfig wlan0 essid test channel 1" [ 1003.46] WARNING: at /home/taka/openwrt-12.09/openwrt-rsp/build_dir/linux-ar71xx_generi c/compat-wireless-2013-06-27/net/wireless/chan.c:373 cfg80211_chandef_usable+0x50/0x21c [cf

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

2013-10-10 Thread Bruno Randolf
Backport and fix upstream commit 12d6d41276def096cb3f7dc36f438db9ed6a0a8d for scx200_hrt to avoid warnings like below on Soekris net48xx boards. [ 13.310053] [ cut here ] [ 13.310053] WARNING: at kernel/time/timekeeping.c:863 do_timer+0x6bc/0x880() [ 13.310053] Adjust

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

2013-10-10 Thread Bruno Randolf
The patch disables the upgrade "all packages" feature of opkg, by removing the patch we enable "opkg upgrade" to upgrade all new packages. As noted in the OpenWRT wiki, this feature has to be used with caution, especially with SquashFS file systems, but it works really well with writable filesystem

[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 --- 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/hostapd/files/wpa

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

2013-10-10 Thread Bruno Randolf
On 10/10/2013 11:28 AM, cmsv wrote: I have encountered the following error while trying to patch the file: patching file attitude_adjustment/package/hostapd/files/wpa_supplicant.sh Hunk #1 FAILED at 119. Hunk #2 FAILED at 163. 2 out of 2 hunks FAILED -- saving rejects to file attitude_adjustment

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

2013-10-10 Thread Bruno Randolf
Signed-off-by: Bruno Randolf --- 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 +37,7 @@ endef

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

2013-10-10 Thread Bruno Randolf
Signed-off-by: Bruno Randolf --- 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/ddns-scripts/Makefi

[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 UCI

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

2013-10-10 Thread Bruno Randolf
Signed-off-by: Bruno Randolf --- 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 +42,24 @@ endef

[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 --- 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 100644 net/isc-dhcp/f

[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 --- net/isc-dhcp

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

2013-10-10 Thread Bruno Randolf
Signed-off-by: Bruno Randolf --- 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/files/pptpd.uciconf

[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 --- net/pptpd/files/options.pptpd | 1 - 1 file changed, 1 deletion(-) diff --git a/net/pptpd/files/options.pptpd b/net/pptpd/files/options.pptpd index 5dd

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 --- net/isc-dhcp/Makefile | 6 +++-- net/isc-dhcp/files/dhcrelay

[OpenWrt-Devel] [PATCH] Update bind to 9.9.4

2013-10-10 Thread Thomas Heil
>From bf8914ee8dc72dbe289c4383388b66a7f2acb81c Mon Sep 17 00:00:00 2001 From: Thommas Heil Date: Thu, 10 Oct 2013 14:33:45 +0200 Subject: package: bind - update to 9.9.4-1 - refresh patches - disable ecdsa - Signed-off-by: Thommas Heil --- net/bind/Makefile |5 ++-

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

2013-10-10 Thread Jo-Philipp Wich
Hello Bruno. 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. ~ Jow signature.asc Description: OpenPGP digital signature ___ openwrt-devel mailing list ope

Re: [OpenWrt-Devel] [PATCH] Update bind to 9.9.4

2013-10-10 Thread Jo-Philipp Wich
Applied in r38353 with slightly modified commit message. Thanks. ~ Jow signature.asc Description: OpenPGP digital signature ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] ar71xx / hang during early boot in kernel loader

2013-10-10 Thread Bastian Bittorf
* Bastian Bittorf [08.10.2013 09:24]: > Decompressing kernel... failed, data error! > > System halted! > > > it's clear, that in this stage we cannot make use of > kernel features (e.g. panic_on_oops), because there is > no kernel yet 8-) IMHO we should enforce a reboot in this

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

Re: [OpenWrt-Devel] [PATCHv2] dropbear: update to 2013.59 (released 4 october 2013)

2013-10-10 Thread Jo-Philipp Wich
Applied in r38356 - thanks! ~ Jow signature.asc Description: OpenPGP digital signature ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] GPIO and pinctrl problem

2013-10-10 Thread Gerhard Bertelsmann
Hi, I'm having a problem with getting and freeing GPIOs. Please have a look at this simple module: -8< #include #include #include #include #define DRV_NAME "GPIO Test" #define PFX DRV_NAME ": " #define GPIO_TEST_PIN 12 static int __

Re: [OpenWrt-Devel] [PATCH][packages] udpxy: Update to version 1.0.23-9

2013-10-10 Thread Jo-Philipp Wich
Applied in r38357 with slightly modified commit message and changed source url. ~ Jow signature.asc Description: OpenPGP digital signature ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinf

Re: [OpenWrt-Devel] [PATCH] iwinfo: make 'type' visible in wrapped iwinfo

2013-10-10 Thread Jo-Philipp Wich
I do not understand the purpose of this patch. Can you outline such a callsite which is attempting to read the type attribute? ~ Jow signature.asc Description: OpenPGP digital signature ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org ht

Re: [OpenWrt-Devel] opkg development and OpenWRT

2013-10-10 Thread Jo-Philipp Wich
Hi Paul. > 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. That would be me. I already planned to give current opkg git a try soon and see how we can merge o

Re: [OpenWrt-Devel] [PATCH] [packages] ppp: correct module loaded check in proto_pptp_setup

2013-10-10 Thread Jo-Philipp Wich
Applied in r38358 - thanks! ~ Jow signature.asc Description: OpenPGP digital signature ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

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

2013-10-10 Thread Ben West
Here is that same patch, but against current trunk. On Thu, Oct 10, 2013 at 6:02 AM, Bruno Randolf wrote: > wpa_supplicant expects beacon_int instead of beacon_interval in its config > file. > > Signed-off-by: Bruno Randolf > --- > package/hostapd/files/wpa_supplicant.sh | 6 +++--- > 1 file

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

2013-10-10 Thread Ben West
Hi cmsv, Bruno's patch seems to have had its tab spacing munged in transit, which is why the patch failed. I'm attaching a Gzipped version of that same patch, against AA r38347, which should apply cleanly to your build tree. As for leaving beacon_int unspecified, that would tell the driver to us

[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 pat

[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 --- 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-files/Makefile b

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

2013-10-10 Thread Bruno Randolf
The patch disables the upgrade "all packages" feature of opkg, by removing the patch we enable "opkg upgrade" to upgrade all new packages. As noted in the OpenWRT wiki, this feature has to be used with caution, especially with SquashFS file systems, but it works really well with writable filesystem

[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 --- package/network/services/hostapd/files/wpa_supplicant.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/network/services/hostapd/files/wpa_supplica

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

2013-10-10 Thread Bruno Randolf
RSPRO has 16MiB of Flash, using the following layout: [2.93] 0x-0x0003 : "RedBoot" [2.94] 0x0003-0x0013 : "kernel" [2.95] 0x0013-0x00ff : "rootfs" [2.96] 0x00ff-0x00fff000 : "FIS directory" [2.97000

[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 --- .../network/utils/iw/patches/140-freq-11j.patch| 85 ++ 1 file changed, 85 insertions(+) create mode 100644 package/network/utils/iw/patches/140-fr

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

2013-10-10 Thread Bruno Randolf
Some PPP connections 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 address when routing multiple IPs, and some customers want to use it to save IP addres

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

2013-10-10 Thread Bruno Randolf
Signed-off-by: Bruno Randolf --- 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/package/libs/libconfi

[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 --- target/linux/x86/base-files.mk | 2 +- 1 file changed, 1 insertion(+),

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

2013-10-10 Thread Yousong Zhou
Hi, On 10 October 2013 20:16, Bruno Randolf wrote: > Signed-off-by: Bruno Randolf > --- > net/pptpd/Makefile| 3 +++ > net/pptpd/files/pptpd.init| 41 +++-- > net/pptpd/files/pptpd.uciconf | 8 > 3 files changed, 50 insertions(+), 2

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

2013-10-10 Thread Yousong Zhou
Hi, On 10 October 2013 19:02, Bruno Randolf 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 > --- > package/busybox/files/cron | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a

Re: [OpenWrt-Devel] GPIO and pinctrl problem

2013-10-10 Thread Jiapeng Li
I think the new gpio driver(after r38026(include)) of ramips platform has some bugs, after i set uartf to "gpio uartf" mode, i can't export any gpio. Maybe there are some relationship between this error and mine. root@OpenWrt:/sys/class/gpio# echo 1 > export [ 1056.70] rt2880-pinmux pinctrl.1:

Re: [OpenWrt-Devel] GPIO and pinctrl problem

2013-10-10 Thread Jiapeng Li
Which version of trunk do you use? After i downgrade to r38025, all things work fine. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH] iwinfo: make 'type' visible in wrapped iwinfo

2013-10-10 Thread Nathan Hintz
On Thu, 10 Oct 2013 16:52:23 +0200 Jo-Philipp Wich wrote: > I do not understand the purpose of this patch. > Can you outline such a callsite which is attempting to read the type > attribute? > > ~ Jow > Here are the places in luci that I am aware of: libs/core/luasrc/model/network.lua