[OpenWrt-Devel] [PATCH] kernel/modules: load pppol2tp after pppox
l2tp_ppp needs to be loaded after pppox, otherwise it ends up like this: l2tp_ppp: Unknown symbol pppox_ioctl (err 0) ... during boot. I also fixed the dependency, it should be pppox rather than pppoe. Signed-off-by: Daniel Golle dgo...@allnet.de diff --git a/package/kernel/modules/netsupport.mk b/package/kernel/modules/netsupport.mk index 4f7c053..ca70c25 100644 --- a/package/kernel/modules/netsupport.mk +++ b/package/kernel/modules/netsupport.mk @@ -560,10 +560,10 @@ $(eval $(call KernelPackage,pptp)) define KernelPackage/pppol2tp SUBMENU:=$(NETWORK_SUPPORT_MENU) TITLE:=PPPoL2TP support - DEPENDS:=kmod-ppp +kmod-pppoe +kmod-l2tp + DEPENDS:=kmod-ppp +kmod-pppox +kmod-l2tp KCONFIG:=CONFIG_PPPOL2TP FILES:=$(LINUX_DIR)/net/l2tp/l2tp_ppp.ko - AUTOLOAD:=$(call AutoLoad,40,l2tp_ppp) + AUTOLOAD:=$(call AutoLoad,41,l2tp_ppp) endef define KernelPackage/pppol2tp/description pgpXde8MmJh2x.pgp Description: PGP signature ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] swconfig: List available switches
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi. [snip] + while (dev) { + struct switch_dev *next = dev-next; + print_dev_summary(dev); + swlib_free(dev); + dev = dev-next; This looks like a user-after-free. Given that you allocate a next pointer above, did you maybe mean dev = next; here? ~ Jow -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk/wPOAACgkQdputYINPTPOB6QCeIzONC5hxe5Z0yYBUPSwKvV1b 4JAAnjT3vquzxcvFctSX6JMoT5YpKmTp =KX8w -END PGP SIGNATURE- ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH V3 1/1] Add support for Raspberry Pi / brcm 2708 / 2835
On Sat, Jun 23, 2012 at 12:29 PM, Ian Ridge ianri...@gmail.com wrote: Hi, The patch adds brcm2708 target, plus required mtools and dosfstools to the tools directory. It outputs an SD card image suitable for the raspberry pi. Thanks to the people who have sent me feedback. Tool patches seemed mangled on V2, so I've sent as combined svn generated patch this time. I've made the following updates: Fixed bcm2835 sound driver build for 3.3 kernel. Tested using player with an mp3 to HDMI output. Cleaned html from 0001-Add-dwc_otg-driver.patch (reducing overall patch size) Need to chmod a+x target/linux/brcm2708/image/gen_rpi_sdcard_img.sh Works with kernel 3.3 and was tested with openwrt trunk revision 32482 (22 June 2012). The script gen_rpi_sdcard_img.sh cannot find ptgen: ./gen_rpi_sdcard_img.sh: line 12: ptgen: command not found -- Benjamin Henrion bhenrion at ffii.org FFII Brussels - +32-484-566109 - +32-2-3500762 In July 2005, after several failed attempts to legalise software patents in Europe, the patent establishment changed its strategy. Instead of explicitly seeking to sanction the patentability of software, they are now seeking to create a central European patent court, which would establish and enforce patentability rules in their favor, without any possibility of correction by competing courts or democratically elected legislators. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] Trying to identify a wifi issue
DIR-825 router here running r32492 (but this issue has been going on with builds for a couple months now - I wish I knew which release was the last it wasn't a problem with). On about a daily basis, I've found it necessary to restart the wifi interface on my router - it stops responding to devices connecting to it and the only way to get it going again is to kick the interfaces by running /sbin/wifi. I'd like to troubleshoot this issue and identify what's causing it to lose wifi - but not sure where to start. The timing isn't completely predictable (but usually it's in the morning first thing that I need to kick it to get it working). Where's a good place to start trying to identify the issue? Jim -- Jim Henderson Please keep on-topic replies on the list so everyone benefits ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH V3 1/1] Add support for Raspberry Pi / brcm 2708 / 2835
On Sat, Jun 23, 2012 at 12:29 PM, Ian Ridge ianri...@gmail.com wrote: Hi, The patch adds brcm2708 target, plus required mtools and dosfstools to the tools directory. It outputs an SD card image suitable for the raspberry pi. Thanks to the people who have sent me feedback. Tool patches seemed mangled on V2, so I've sent as combined svn generated patch this time. I've made the following updates: Fixed bcm2835 sound driver build for 3.3 kernel. Tested using player with an mp3 to HDMI output. Cleaned html from 0001-Add-dwc_otg-driver.patch (reducing overall patch size) Need to chmod a+x target/linux/brcm2708/image/gen_rpi_sdcard_img.sh Works with kernel 3.3 and was tested with openwrt trunk revision 32482 (22 June 2012). Kind Regards Furthermore the serial messages does not seem to go further then the kernel messages: http://www.zoobab.com/raspberry-pi-openwrt -- Benjamin Henrion bhenrion at ffii.org FFII Brussels - +32-484-566109 - +32-2-3500762 In July 2005, after several failed attempts to legalise software patents in Europe, the patent establishment changed its strategy. Instead of explicitly seeking to sanction the patentability of software, they are now seeking to create a central European patent court, which would establish and enforce patentability rules in their favor, without any possibility of correction by competing courts or democratically elected legislators. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH V3 1/1] Add support for Raspberry Pi / brcm 2708 / 2835
Hello Ian, Le samedi 23 juin 2012 12:29:34, Ian Ridge a écrit : Hi, The patch adds brcm2708 target, plus required mtools and dosfstools to the tools directory. It outputs an SD card image suitable for the raspberry pi. Thanks to the people who have sent me feedback. Tool patches seemed mangled on V2, so I've sent as combined svn generated patch this time. I have a couple comments about your patch: - your kernel configuration has too many modules built-in (sound, wireless, netfilter, HID, crypto). bcm2708 - you are missing a target/linux/brcm2708/base-files/etc/inittab override to set the console to ttyAMA0 (something like target/linux/realview/base- files/etc/inittab) - it seems like the GPU firmware files could be made a as package rather than a sub-directory of the image/ directory, event though that's the bootloader part, uboot is also in package/ I've made the following updates: Fixed bcm2835 sound driver build for 3.3 kernel. Tested using player with an mp3 to HDMI output. Cleaned html from 0001-Add-dwc_otg-driver.patch (reducing overall patch size) Need to chmod a+x target/linux/brcm2708/image/gen_rpi_sdcard_img.sh This is something you can set with either git or svn. Works with kernel 3.3 and was tested with openwrt trunk revision 32482 (22 June 2012). I build tested the patches and they look correct to me. Kind Regards Signed-off-by: Ian Ridge ianridge at gmail.com -- Florian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH V3 1/1] Add support for Raspberry Pi / brcm 2708 / 2835
On Sun, Jul 1, 2012 at 8:47 PM, Florian Fainelli flor...@openwrt.org wrote: Hello Ian, Le samedi 23 juin 2012 12:29:34, Ian Ridge a écrit : Hi, The patch adds brcm2708 target, plus required mtools and dosfstools to the tools directory. It outputs an SD card image suitable for the raspberry pi. Thanks to the people who have sent me feedback. Tool patches seemed mangled on V2, so I've sent as combined svn generated patch this time. I have a couple comments about your patch: - your kernel configuration has too many modules built-in (sound, wireless, netfilter, HID, crypto). bcm2708 - you are missing a target/linux/brcm2708/base-files/etc/inittab override to set the console to ttyAMA0 (something like target/linux/realview/base- files/etc/inittab) Like here: http://code.google.com/p/raspberrypi-openwrt/source/browse/target/linux/raspberrypi/base-files/etc/inittab?r=776324732f3d2a9eeea23c0e61269a43e6cda7a1 -- Benjamin Henrion bhenrion at ffii.org FFII Brussels - +32-484-566109 - +32-2-3500762 In July 2005, after several failed attempts to legalise software patents in Europe, the patent establishment changed its strategy. Instead of explicitly seeking to sanction the patentability of software, they are now seeking to create a central European patent court, which would establish and enforce patentability rules in their favor, without any possibility of correction by competing courts or democratically elected legislators. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] busybox: Update to 1.20.1
Based on Peter Wagner's busybox 1.20.0 patch. 201204291418.19054.tripo...@gmx.at Signed-off-by: Jonathan McCrohan jmccro...@gmail.com --- package/busybox/Makefile |6 +- package/busybox/config/Config.in | 44 +++- package/busybox/config/archival/Config.in | 22 +- package/busybox/config/console-tools/Config.in |1 - package/busybox/config/coreutils/Config.in | 20 +- package/busybox/config/debianutils/Config.in |1 - package/busybox/config/e2fsprogs/Config.in |1 - .../config/e2fsprogs/old_e2fsprogs/Config.in |1 - package/busybox/config/libbb/Config.in | 13 +- package/busybox/config/loginutils/Config.in| 18 ++ package/busybox/config/mailutils/Config.in |1 - package/busybox/config/miscutils/Config.in |7 +- package/busybox/config/networking/Config.in| 18 +- package/busybox/config/networking/udhcp/Config.in |6 +- package/busybox/config/printutils/Config.in|1 - package/busybox/config/procps/Config.in| 16 +- package/busybox/config/runit/Config.in |1 - package/busybox/config/selinux/Config.in |1 - package/busybox/config/shell/Config.in |4 + package/busybox/config/sysklogd/Config.in |1 - package/busybox/config/util-linux/Config.in| 124 +- ...se_md5_hash_by_default_like_it_used_to_be.patch | 20 -- .../004-upstream-percent_decode_in_place.patch | 237 .../patches/241-udhcpc-oversized_packets.patch | 26 ++- .../patches/244-udhcpc_add_6rd_option.patch| 141 +--- package/busybox/patches/310-passwd_access.patch| 41 package/busybox/patches/350-httpd_redir.patch | 27 +-- .../busybox/patches/700-hexdump_segfault_fix.patch | 11 - 28 files changed, 237 insertions(+), 573 deletions(-) delete mode 100644 package/busybox/patches/002-passwd_use_md5_hash_by_default_like_it_used_to_be.patch delete mode 100644 package/busybox/patches/004-upstream-percent_decode_in_place.patch delete mode 100644 package/busybox/patches/310-passwd_access.patch delete mode 100644 package/busybox/patches/700-hexdump_segfault_fix.patch diff --git a/package/busybox/Makefile b/package/busybox/Makefile index ef7f518..0651515 100644 --- a/package/busybox/Makefile +++ b/package/busybox/Makefile @@ -8,14 +8,14 @@ include $(TOPDIR)/rules.mk PKG_NAME:=busybox -PKG_VERSION:=1.19.4 -PKG_RELEASE:=2 +PKG_VERSION:=1.20.1 +PKG_RELEASE:=1 PKG_FLAGS:=essential PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=http://www.busybox.net/downloads \ http://distfiles.gentoo.org/distfiles/ -PKG_MD5SUM:=9c0cae5a0379228e7b55e5b29528df8e +PKG_MD5SUM:=af2fededb6dca804544c05684636e574 PKG_BUILD_DEPENDS:=BUSYBOX_CONFIG_FEATURE_HAVE_RPC:librpc PKG_BUILD_PARALLEL:=1 diff --git a/package/busybox/config/Config.in b/package/busybox/config/Config.in index 0045036..cddc2f6 100644 --- a/package/busybox/config/Config.in +++ b/package/busybox/config/Config.in @@ -82,20 +82,21 @@ config BUSYBOX_CONFIG_FEATURE_BUFFERS_GO_IN_BSS endchoice config BUSYBOX_CONFIG_SHOW_USAGE - bool Show terse applet usage messages + bool Show applet usage messages default y help - All BusyBox applets will show help messages when invoked with - wrong arguments. You can turn off printing these terse usage - messages if you say no here. - This will save you up to 7k. + Enabling this option, BusyBox applets will show terse help messages + when invoked with wrong arguments. + If you do not want to show any (helpful) usage message when + issuing wrong command syntax, you can say 'N' here, + saving approximately 7k. config BUSYBOX_CONFIG_FEATURE_VERBOSE_USAGE bool Show verbose applet usage messages default y depends on BUSYBOX_CONFIG_SHOW_USAGE help - All BusyBox applets will show more verbose help messages when + All BusyBox applets will show verbose help messages when busybox is invoked with --help. This will add a lot of text to the busybox binary. In the default configuration, this will add about 13k, but it can add much more depending on your configuration. @@ -105,8 +106,8 @@ config BUSYBOX_CONFIG_FEATURE_COMPRESS_USAGE default y depends on BUSYBOX_CONFIG_SHOW_USAGE help - Store usage messages in compressed form, uncompress them on-the-fly - when applet --help is called. + Store usage messages in .bz compressed form, uncompress them + on-the-fly when applet --help is called. If you have a really tiny busybox with few applets enabled (and bunzip2 isn't one of them), the overhead of the decompressor might @@ -598,12 +599,39 @@ config
Re: [OpenWrt-Devel] Captive Portal with OAuth support?
Thanks Bastian, I want to try your kalua. How to build it? Is it run on OpwnWrt Backfire or Kamikaze? On 06/30/2012 01:43 AM, Bastian Bittorf wrote: Is there anyone in this mailing list tried with this idea? Which should I start from? we have this included since a long time: https://github.com/bittorf/kalua a good starting point is: https://github.com/livibetter/bash-oauth/blob/master/OAuth.sh bye, bastian. -- Regards, Quân ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Captive Portal with OAuth support?
Sorry, I found the instruction. Is there a pre-built binary package of kalua? On Mon 02 Jul 2012 11:10:23 AM ICT, Nguyễn Hồng Quân wrote: Thanks Bastian, I want to try your kalua. How to build it? Is it run on OpwnWrt Backfire or Kamikaze? On 06/30/2012 01:43 AM, Bastian Bittorf wrote: Is there anyone in this mailing list tried with this idea? Which should I start from? we have this included since a long time: https://github.com/bittorf/kalua a good starting point is: https://github.com/livibetter/bash-oauth/blob/master/OAuth.sh bye, bastian. -- Regards, Quân ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel