Re: [OpenWrt-Devel] Supporting platform-in-a-box

2011-01-28 Thread Philip Prindeville
On 1/28/11 7:42 PM, Felix Fietkau wrote: On 2011-01-29 3:39 AM, Felix Fietkau wrote: On 2011-01-28 9:27 PM, Philip Prindeville wrote: I have the following ~/.openwrt/defconfig contents: CONFIG_PACKAGE_usbutils=y CONFIG_PACKAGE_libusb-1.0=y CONFIG_PACKAGE_pciutils=y CONFIG_PACKAGE_ip=y CONFIG_

Re: [OpenWrt-Devel] TP-Link TL-WA901ND V2 support

2011-01-28 Thread Jonathan Bennett
OK, so, I was finally able to compile forcedeth support into the kernel. It seems that the kernel compile process prompts whether to actually compile that in. Without running V=99, I had no way of telling it to actually include forcedeth support. That said, I still have no ethernet support. Strang

Re: [OpenWrt-Devel] Supporting platform-in-a-box

2011-01-28 Thread Felix Fietkau
On 2011-01-29 3:39 AM, Felix Fietkau wrote: > On 2011-01-28 9:27 PM, Philip Prindeville wrote: >> I have the following ~/.openwrt/defconfig contents: >> >> >> CONFIG_PACKAGE_usbutils=y >> CONFIG_PACKAGE_libusb-1.0=y >> CONFIG_PACKAGE_pciutils=y >> CONFIG_PACKAGE_ip=y >> CONFIG_PACKAGE_iftop=y >>

Re: [OpenWrt-Devel] Supporting platform-in-a-box

2011-01-28 Thread Felix Fietkau
On 2011-01-28 9:27 PM, Philip Prindeville wrote: > I have the following ~/.openwrt/defconfig contents: > > > CONFIG_PACKAGE_usbutils=y > CONFIG_PACKAGE_libusb-1.0=y > CONFIG_PACKAGE_pciutils=y > CONFIG_PACKAGE_ip=y > CONFIG_PACKAGE_iftop=y > CONFIG_PACKAGE_coreutils-uptime=y > CONFIG_PACKAGE_core

Re: [OpenWrt-Devel] Attempt to build r25222 fails

2011-01-28 Thread Jim Henderson
On Sat, 29 Jan 2011 01:48:11 +0100, Jo-Philipp Wich wrote: > see https://dev.openwrt.org/ticket/8418#comment:1 . Thanks, Jow - next time I'll remember to do this. Do I need to do anything to preserve the packages that I've installed, or will the fact that they're configured take care of that for

Re: [OpenWrt-Devel] Attempt to build r25222 fails

2011-01-28 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, see https://dev.openwrt.org/ticket/8418#comment:1 . ~ Jow -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk1DY8sACgkQdputYINPTPNjKwCfTnDooYpeZPe1Qeoefk

[OpenWrt-Devel] Resend: [PATCH 1/1] Build breaks if libusb-1.0 selected

2011-01-28 Thread Philip Prindeville
There seems to be a dependency between libusb-1.0 and opkg. libusb-1.0 will only build if opkg has already been built. Index: tools/Makefile === --- tools/Makefile (revision 25095) +++ tools/Makefile (working copy) @@ -57

[OpenWrt-Devel] Attempt to build r25222 fails

2011-01-28 Thread Jim Henderson
Just working through the latest updates, and when I build, I get the following error: configure: creating ./config.status config.status: error: cannot find input file: `Makefile.in' make[3]: *** [/home/jhenderson/Downloads/openwrt/build_dir/host/ opkg-576/.configured] Error 1 make[3]: Leaving dir

Re: [OpenWrt-Devel] default stack size limit is too big

2011-01-28 Thread Felix Fietkau
On 2011-01-29 12:53 AM, Alexander Gordeev wrote: > В Fri, 28 Jan 2011 13:47:18 +0100 > Felix Fietkau пишет: > >> On 2011-01-28 1:28 PM, Alexander Gordeev wrote: >> > Hi! >> > >> > I have a device with only 16MB of memory and I want to run threaded >> > applications on it. The size of allocated s

Re: [OpenWrt-Devel] default stack size limit is too big

2011-01-28 Thread Alexander Gordeev
В Fri, 28 Jan 2011 13:47:18 +0100 Felix Fietkau пишет: > On 2011-01-28 1:28 PM, Alexander Gordeev wrote: > > Hi! > > > > I have a device with only 16MB of memory and I want to run threaded > > applications on it. The size of allocated stack space in uClibc's > > implementation of pthread_create

Re: [OpenWrt-Devel] Supporting platform-in-a-box

2011-01-28 Thread Philip Prindeville
On 1/28/11 1:44 PM, Claudio wrote: 2011/1/28 Philip Prindeville: and I was wondering... would it be useful to have a directory called "bouquets" (sorry, that's a hang-over from working with Dreambox and other FTA satellite STB's) that contain useful configuration bundles where someone can just d

Re: [OpenWrt-Devel] Supporting platform-in-a-box

2011-01-28 Thread Claudio
2011/1/28 Philip Prindeville : > and I was wondering... would it be useful to have a directory called > "bouquets" (sorry, that's a hang-over from working with Dreambox and other > FTA satellite STB's) that contain useful configuration bundles where someone > can just do: The scripts/env should be

[OpenWrt-Devel] Supporting platform-in-a-box

2011-01-28 Thread Philip Prindeville
I have the following ~/.openwrt/defconfig contents: CONFIG_PACKAGE_usbutils=y CONFIG_PACKAGE_libusb-1.0=y CONFIG_PACKAGE_pciutils=y CONFIG_PACKAGE_ip=y CONFIG_PACKAGE_iftop=y CONFIG_PACKAGE_coreutils-uptime=y CONFIG_PACKAGE_coreutils-users=y CONFIG_PACKAGE_coreutils-who=y CONFIG_PACKAGE_fdisk=y

Re: [OpenWrt-Devel] Clean way of adding custom scripts and firstrun

2011-01-28 Thread Hanno Schupp
@ Ithamar Thank you. That is well understood. However, when you write a script to automate a router configuration that should be working cross platform, then you cannot preconfigure the wireless configuration with a static file. First you cannot make assumptions about the hardware present, it cou

Re: [OpenWrt-Devel] uhttpd / bug when decoding URL

2011-01-28 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I will add a substitution to replace "+" with " ", to maintain compatibility with BusyBox httpd. ~ Jow -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk1DCV

[OpenWrt-Devel] uhttpd / bug when decoding URL

2011-01-28 Thread Bastian Bittorf
when decoding an RFC2396-url-encoded string on commandline, there a two mistakes: first, the ssl-check is loaded, which is not needed. second a '+' is not decoded to space. (and it seems, that the hole decoding is not feature-complete) e.g. uhttpd -d "open+wrt" should return "open wrt", but lea

[OpenWrt-Devel] 802.1q range on Broadcom based WRTs

2011-01-28 Thread Gert Doering
Hi, I hope that someone here on the list knows enough about the Broadcom WRT hardware used in the Linksys E3000 to help me answer something that googling didn't get me anywhere. I have a setup where I need to have 802.1q tagged frames come out of this E3000, and the site network admin has assign

Re: [OpenWrt-Devel] [PATCH] mac80211.sh setting ESSID in station mode

2011-01-28 Thread Felix Fietkau
On 2011-01-28 1:57 PM, Bastian Bittorf wrote: > in station/client mode we forgot to set the ESSID, > so there was no connection possible. this is just > a proposal - i'am unsure if there is a better place > for the command. > > Signed-off-by: Bastian Bittorf No, we didn't forget to set the ESSID,

[OpenWrt-Devel] [PATCH] mac80211.sh setting ESSID in station mode

2011-01-28 Thread Bastian Bittorf
in station/client mode we forgot to set the ESSID, so there was no connection possible. this is just a proposal - i'am unsure if there is a better place for the command. Signed-off-by: Bastian Bittorf >From 831ce3fda06bbccc0a2be09b783a4a2e2db41b69 Mon Sep 17 00:00:00 2001 From: Bastian Bittorf D

[OpenWrt-Devel] [PATCH] mac80211.sh setting ESSID in station mode

2011-01-28 Thread Bastian Bittorf
in station/client mode we forgot to set the ESSID, so there was no connection possible. this is just a proposal - i'am unsure if there is a better place for the command. Signed-off-by: Bastian Bittorf ___ openwrt-devel mailing list openwrt-devel@lists.o

Re: [OpenWrt-Devel] [PATCH v2] cron: Add path

2011-01-28 Thread Felix Fietkau
On 2011-01-27 3:22 AM, kentarou matsuyama wrote: > Override PATH for /etc/init.d/cron. This is necessary to ensure all programs > can be found when executing the script from remote by using ssh. > (e.g. ssh IP /etc/init.d/cron restart) Applied in r25196, thanks. - Felix ___

Re: [OpenWrt-Devel] Clean way of adding custom scripts and firstrun

2011-01-28 Thread Ithamar R. Adema
On Fri, 2011-01-28 at 11:28 +1300, Hanno Schupp wrote: > I am asking as some configuration like network and wireless may be set > by the system on boot, so if one would like to add to > the /etc/config/wireless configuration (i.e. by setting the power to > max possible or, setting diversity etc.) t

Re: [OpenWrt-Devel] default stack size limit is too big

2011-01-28 Thread Felix Fietkau
On 2011-01-28 1:28 PM, Alexander Gordeev wrote: > Hi! > > I have a device with only 16MB of memory and I want to run threaded > applications on it. The size of allocated stack space in uClibc's > implementation of pthread_create equals to the stack size limit as > returned by ulimit -s (or the def

[OpenWrt-Devel] default stack size limit is too big

2011-01-28 Thread Alexander Gordeev
Hi! I have a device with only 16MB of memory and I want to run threaded applications on it. The size of allocated stack space in uClibc's implementation of pthread_create equals to the stack size limit as returned by ulimit -s (or the default for the current architecture if the limit is set to 'un

[OpenWrt-Devel] toolchain's gdb add-symbol-file doesn't honor file address

2011-01-28 Thread Steve Brown
The line number is correct, but the start/end addresses ignore the file address. $ ./staging_dir/toolchain-mips_r2_gcc-4.3.3+cs_uClibc-0.9.31/bin/mips-openwrt-linux-gdb GNU gdb 6.8 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later