[OpenWrt-Devel] How to use PAM with Busybox Login tools.

2014-06-06 Thread John Clark
I’ve been going the rounds of how to enable PAM for the busy box login tools. At first glance it seems it is supported in the ‘menuconfig’ set of options. However, upon performing the ‘make’ operation, the build fails as ‘libpam’ is not in the LDLIBS list, nor is it any path that the Makefile fo

Re: [OpenWrt-Devel] mempool support question for building software

2014-06-06 Thread Florian Fainelli
2014-06-06 15:35 GMT-07:00 Derek Werthmuller : > I'm trying to build a new version of clamav for the brcm2708 platform and > have some questions about the new build dependencies for the latest version > of clamav 98.3. 98.1 built OK and didn't use openssl. > > The configure portion of the build is

[OpenWrt-Devel] mempool support question for building software

2014-06-06 Thread Derek Werthmuller
I'm trying to build a new version of clamav for the brcm2708 platform and have some questions about the new build dependencies for the latest version of clamav 98.3. 98.1 built OK and didn't use openssl. The configure portion of the build is asking about mempool support. output snip checking

[OpenWrt-Devel] [PATCH V2] brcm47xx: mips74k: optimize kernel config

2014-06-06 Thread Rafał Miłecki
This saves abount 15 kB of compressed kernel size. Signed-off-by: Rafał Miłecki --- This patch replaces brcm47xx: mips74k: disable BCM47XX_SSB --- target/linux/brcm47xx/mips74k/config-default | 10 ++ 1 file changed, 10 insertions(+) create mode 100644 target/linux/brcm47xx/mips74k/conf

[OpenWrt-Devel] [PATCH] procd: Fix USB cellular modems

2014-06-06 Thread Matthew Reeve
Without this patch, /etc/hotplug.d/tty/30-3g won't be called when you insert or remove a USB-serial cellular modem. (see Ticket #14117) Signed-off-by: Matthew Reeve --- package/system/procd/files/hotplug.json 2014-05-27 22:34:33.175634831 + +++ package/system/procd/files/hotplug.json

Re: [OpenWrt-Devel] [Patch][BCM63XX] Select HW_RANDOM_BCM63XX only in the SoCs that support it.

2014-06-06 Thread José Vázquez
2014-06-06 22:00 GMT+02:00, Jonas Gorski : > On Fri, Jun 6, 2014 at 9:52 PM, Florian Fainelli > wrote: >> 2014-06-06 12:46 GMT-07:00 José Vázquez Fernández >> : >>> Select HW_RANDOM_BCM63XX only in the SoCs that support it. >>> >>> Only BCM6368, BCM6362 and BCM63268 have a hardware random numbers

Re: [OpenWrt-Devel] [RFH][PATCH] brcm47xx: mips74k: drop CONFIG_SSB for kernel config

2014-06-06 Thread Hauke Mehrtens
On 06/06/2014 09:25 PM, Rafał Miłecki wrote: > This allows using ssb.ko and saving some space (and memory if unused). > --- > I need some help with this patch. > > Unfortunately this results in: > ERROR: "pcibios_enable_device" [drivers/ssb/ssb.ko] undefined! > ERROR: "register_pci_controller" [dr

Re: [OpenWrt-Devel] [Patch][BCM63XX] Select HW_RANDOM_BCM63XX only in the SoCs that support it.

2014-06-06 Thread Jonas Gorski
On Fri, Jun 6, 2014 at 9:52 PM, Florian Fainelli wrote: > 2014-06-06 12:46 GMT-07:00 José Vázquez Fernández : >> Select HW_RANDOM_BCM63XX only in the SoCs that support it. >> >> Only BCM6368, BCM6362 and BCM63268 have a hardware random numbers generator, >> so, if none of these are selected, don't

Re: [OpenWrt-Devel] [Patch][BCM63XX] Select HW_RANDOM_BCM63XX only in the SoCs that support it.

2014-06-06 Thread Florian Fainelli
2014-06-06 12:46 GMT-07:00 José Vázquez Fernández : > Select HW_RANDOM_BCM63XX only in the SoCs that support it. > > Only BCM6368, BCM6362 and BCM63268 have a hardware random numbers generator, > so, if none of these are selected, don't compile a driver that has no > effect. > > Tested with BCM6358

[OpenWrt-Devel] [Patch][BCM63XX] Select HW_RANDOM_BCM63XX only in the SoCs that support it.

2014-06-06 Thread José Vázquez Fernández
Select HW_RANDOM_BCM63XX only in the SoCs that support it. Only BCM6368, BCM6362 and BCM63268 have a hardware random numbers generator, so, if none of these are selected, don't compile a driver that has no effect. Tested with BCM6358 and BCM6328 successfully. Signed off by: José Vázquez Fern

[OpenWrt-Devel] [RFH][PATCH] brcm47xx: mips74k: drop CONFIG_SSB for kernel config

2014-06-06 Thread Rafał Miłecki
This allows using ssb.ko and saving some space (and memory if unused). --- I need some help with this patch. Unfortunately this results in: ERROR: "pcibios_enable_device" [drivers/ssb/ssb.ko] undefined! ERROR: "register_pci_controller" [drivers/ssb/ssb.ko] undefined! It seems to be caused because

[OpenWrt-Devel] [PATCH] brcm47xx: mips74k: disable BCM47XX_SSB

2014-06-06 Thread Rafał Miłecki
Save 8 376 B of LZMA compressed kernel size. Signed-off-by: Rafał Miłecki --- target/linux/brcm47xx/mips74k/config-default | 1 + 1 file changed, 1 insertion(+) create mode 100644 target/linux/brcm47xx/mips74k/config-default diff --git a/target/linux/brcm47xx/mips74k/config-default b/target/l

[OpenWrt-Devel] [PATCH] mac80211: b43: fix B43_USE_SSB dependency

2014-06-06 Thread Rafał Miłecki
Signed-off-by: Rafał Miłecki --- package/kernel/mac80211/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/kernel/mac80211/Makefile b/package/kernel/mac80211/Makefile index 19f8c3b..d316958 100644 --- a/package/kernel/mac80211/Makefile +++ b/package/kernel/mac80

[OpenWrt-Devel] Problem compiling kernel 3.3.8 in AA

2014-06-06 Thread Francisco Cuesta
Hello, I am trying to compile my trunk version of Attitude Adjustment with some USB features enabled for allowing the connection of Atheros USB dongles to a tplink WDR4300ND. However, I am facing always the same problem, the firmware creation process is always stopped at the same point, which can

[OpenWrt-Devel] Patch: usb-modeswitch-data update url/version

2014-06-06 Thread Mark Janssen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hello, Package/utils/usbmode is referring to a file that no longer exists. I've updated the filename and md5sum to the latest version. Signed-off-by: Mark Janssen - --- package/utils/usbmode/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2

Re: [OpenWrt-Devel] [PATCH] mac80211: b43: rework package dependency

2014-06-06 Thread Rafał Miłecki
On 6 June 2014 13:25, Jonas Gorski wrote: > Since we now support building empty ipks for modules built into the > kernel, I wonder if we shouldn't just drop the ! dependency of > bcma/ssb to bcm47xx/bcm63xx. We definitely need to rethink think... with my patch I got: tmp/.config-package.in:9597:e

Re: [OpenWrt-Devel] [PATCH] mac80211: b43: rework package dependency

2014-06-06 Thread Jonas Gorski
On Fri, Jun 6, 2014 at 12:50 PM, Rafał Miłecki wrote: > This fixes: >> Package kmod-b43 is missing dependencies for the following libraries: >> bcma.ko >> ssb.ko > on non-Broadcom targets. > > Signed-off-by: Rafał Miłecki > --- > package/kernel/mac80211/Makefile | 11 ++- > 1 file change

[OpenWrt-Devel] [PATCH] mac80211: b43: rework package dependency

2014-06-06 Thread Rafał Miłecki
This fixes: > Package kmod-b43 is missing dependencies for the following libraries: > bcma.ko > ssb.ko on non-Broadcom targets. Signed-off-by: Rafał Miłecki --- package/kernel/mac80211/Makefile | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/package/kernel/mac8021

[OpenWrt-Devel] Broken b43 package, a bit uncommon dependency

2014-06-06 Thread Rafał Miłecki
So it appears my patch broke b43 on non-Broadcom targets. > Package kmod-b43 is missing dependencies for the following libraries: > bcma.ko > ssb.ko > make[3]: *** > [/home/zajec/openwrt/openwrt.git/bin/ar71xx/packages/kmod-b43_3.10.36+2014-05-22-1_ar71xx.ipk] > Error 1 My problem is that I can

Re: [OpenWrt-Devel] hotplug / micro-optimization

2014-06-06 Thread Felix Fietkau
On 2014-06-05 10:31, Bastian Bittorf wrote: > i have a router here with 400 vlan-interfaces. > i'am still not happy, that an hotplug-event triggers a lot of unneccesary > action. > > i see at least 3 possibilities reduce the load: > (beside the upcoming procd-interface job) > > 1) > each script

Re: [OpenWrt-Devel] [PATCH] openssl: version bump

2014-06-06 Thread Gert Doering
Hi, On Thu, Jun 05, 2014 at 11:54:40PM +0200, joerg jungermann wrote: > > > today appeared another serious vulnerability in openssl. More info is > > > here http://ccsinjection.lepidum.co.jp. Users are advised to update to > > > openssl 1.0.1h. > > Thank you for your patch, it was committed in r41

Re: [OpenWrt-Devel] hotplug / micro-optimization

2014-06-06 Thread Bastian Bittorf
* Weedy [06.06.2014 09:23]: > On 5 Jun 2014 04:19, "Bastian Bittorf" wrote: > > 3) > > during bootup or '/etc/init.d/$daemon enable' we build a directory for > > enabled scripts. while we are at it, we can e.g. call 'ifup'/$ACTION if the > > daemon supports/implements it, otherwise ignore > > Yo

Re: [OpenWrt-Devel] hotplug / micro-optimization

2014-06-06 Thread Weedy
On 5 Jun 2014 04:19, "Bastian Bittorf" wrote: > > i have a router here with 400 vlan-interfaces. > i'am still not happy, that an hotplug-event triggers a lot of unneccesary action. I wasn't paying attention but what services are you complaining about? On my router things like dnsmasq, the firewa