Re: [OpenWrt-Devel] [PATCH, v2] dnsmasq: prevent forwarding RFC6303 zones

2015-10-18 Thread Stefan Monnier
> RFC6303 specifies reverse dns zones that ideally should not be forwarded > to upstream (root) servers and create unnecessary load upon them. Shouldn't this be done upstream (i.e. in dnsmasq directly) rather than in our config? Stefan ___ open

Re: [OpenWrt-Devel] Talks between OpenWrt and LEDE

2016-12-21 Thread Stefan Monnier
> Yocto. If lede were to succeed in meeting its other goals, coherently, > preserving "lede" and moving forward as a separate project does make > sense. I don't have a clear opinion either way, but I think there are several points to take into account: - OpenWRT indeed has a fair bit of positive n

Re: [OpenWrt-Devel] Talks between OpenWrt and LEDE

2016-12-22 Thread Stefan Monnier
>> - While brands have value, you can change a name without losing all the >> brand recognition. I'm thinking here of cases like XBMC->Kodi or >> OpenOffice-> LibreOffice. > I would point at OpenOffice -> LibreOffice as a failure of name changes. There are several aspects in a name change. E.g.

Re: [OpenWrt-Devel] Moving all feeds to OpenWrt GitHub organisation

2014-08-10 Thread Stefan Monnier
> It would be great to have all feeds in one place, on GitHub. I think making oneself dependent upon a commercial company without paying it (i.e. without leverage) would be a mistake. Stefan ___ openwrt-devel mailing list openwrt-devel@lists.op

Re: [OpenWrt-Devel] Moving all feeds to OpenWrt GitHub organisation

2014-08-11 Thread Stefan Monnier
> We use git, the day github closes, or asks for money, or ..., we move. Notice how right after suggesting github, you suggested using its bugtracker. It's only when github closes your access that you realize you didn't stick to just "using Git". Stefan _

Re: [OpenWrt-Devel] Moving all feeds to OpenWrt GitHub organisation

2014-08-12 Thread Stefan Monnier
> Why do you want GitHub to close so bad !!! I don't. There are indeed many other cases where you may want to move to something else. The problems stay the same. Stefan ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://li

Re: [OpenWrt-Devel] what's the rationale for mixed quotes in Config.in help?

2014-09-14 Thread Stefan Monnier
> This option group includes the `libanl' library which > Back before XFree86 consolidated misc-fixed and other such fonts to cover (a small subset of) Unicode, these two chars where typically rendered under X11 as symmetric quotes (the '

[OpenWrt-Devel] OpenWRT support for MPR-A1

2014-10-03 Thread Stefan Monnier
AFAICT OpenWRT comes with some support for the Hame MPR-A1 thingy (although its 16MB of RAM and 4MB of flash probably prevent it from being fully supported). I had no trouble building an image for it, but now I'm wondering how to install that image. I went to http://wiki.openwrt.org/toh/hame/mpr

[OpenWrt-Devel] Installing OpenWRT on RA-5350 without serial

2013-09-19 Thread Stefan Monnier
Has anyone figured out to install OpenWRT on something like a Hame MPR-A1 without opening the device and connecting a serial line? Most of those devices offer a plain busybox shell via telnet and support for usb-storage, so it should be possible to install OpenWRT via /dev/mtd*, but AFAIK the few

[OpenWrt-Devel] Installing OpenWRT on a Gigaset SX762

2013-09-24 Thread Stefan Monnier
[ Previously posted on openwrt-users, but now that it failed halfway, I figure that installing via httpd isn't really an option at all. ] I finally got my Gigaset back, so I can get back at installing OpenWRT on it. I have replaced the secondary bootloader, so I get the HTTP server requesting t

Re: [OpenWrt-Devel] Installing OpenWRT on a Gigaset SX762

2013-09-24 Thread Stefan Monnier
> is that danube or amazon based board? Danube. > In case that is danube board please use openwrt/v2013.07 branch to get > u-boot going: > https://github.com/danielschwierzeck/u-boot-lantiq/commits/openwrt/v2013.07 Is that required to install OpenWRT? How do I install that u-boot? Stef

Re: [OpenWrt-Devel] Installing OpenWRT on a Gigaset SX762

2013-09-24 Thread Stefan Monnier
> Except that when I submit that firmware, the request never ends. > [ See below my sig for the story of what happens in more details. ] After trying a few more times with various machines, it finally worked right (without those long waits). So now I managed to install the attitude adjustment im

Re: [OpenWrt-Devel] [PATCH] Improve generated ext4 images

2012-08-29 Thread Stefan Monnier
> NAK. Journaling is disabled on purpose, as it wears out flash based > devices faster. I don't know of any non-anecdotal evidence showing that the difference is significant. OTOH the added reliability afforded by journaling (especially for the kind of boxes that typically run OpenWRT where it's

Re: [OpenWrt-Devel] [PATCH] Improve generated ext4 images

2012-08-30 Thread Stefan Monnier
>>> NAK. Journaling is disabled on purpose, as it wears out flash based >>> devices faster. >> I don't know of any non-anecdotal evidence showing that the difference >> is significant. OTOH the added reliability afforded by journaling >> (especially for the kind of boxes that typically run OpenWR

Re: [OpenWrt-Devel] Support for USB LTE modems Samsung GT-B3730 / GT-B3710 / GT-B3740

2014-01-24 Thread Stefan Monnier
>> I'd like to use a Samsung GT-B3740 USB LTE modem together with OpenWRT. > To get it to build just add a declaration to Another option is to compile it directly into your kernel, via make kernel_menuconfig -- Stefan ___ openwrt-devel mailing list

Re: [OpenWrt-Devel] [RFC] Changing default Fragmentation Threshold and RTS/CTS Threshold

2014-02-17 Thread Stefan Monnier
> With new values: 9.1 MB/s Sounds amazingly high for a noisy environment (I'm no specialist, but I've never gotten such high bandwidth over wifi). Stefan ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/

Re: [OpenWrt-Devel] Making sense of OpenWRT / Linksys WRT1900AC collaboration claims

2014-04-22 Thread Stefan Monnier
>I'm not sure if I can adequately address all of your concerns, but I > may be able to clear up some confusion. It seems that there was no confusion at all. The problem is that Belkin/Linksys lied about its involvement with the OpenWRT community and what you're saying confirms it. The reacti

Re: [OpenWrt-Devel] [PATCH v5] ppp: add new protocol PPPoSSH.

2014-05-24 Thread Stefan Monnier
> you want, using tun devices ("ssh -w"), without the "recursive TCP" issues. The -w switch has the exact same TCP-over-TCP issue. But don't worry: TCP-over-TCP is used everyday by lots of people. It's not perfect, but it works well enough for many uses. That's why ssh provides "-w" and that's als

Re: [OpenWrt-Devel] /dev/watchdog from shell script

2012-01-06 Thread Stefan Monnier
> I did this on my boxes, but it does not help. > Again a device is _pingable_, but all daemons are > not responding anymore: So either: - watchdog was killed and this just disabled the watchdog timer altogether. - watchdog was not killed for some reason (e.g. because the kernel considered that

Re: [OpenWrt-Devel] [PATCH 1/2] Initial DSL framework for Lantiq

2012-01-23 Thread Stefan Monnier
> and allows you to start and start the daemon. (with-smartypants-mode "But what if I want to start it instead?") Stefan ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] Smallest Linux

2008-10-11 Thread Stefan Monnier
>> I has 50k or so of RAM and 500k of ROM/Flash. It is smart enough to >> mount an MMC card or two. I believe it's will be difficult to squeeze a Linux kernel in 500kB of Flash; but assuming you can do it (e.g. place the kernel in the MMC and use the 500kB flash for a bootloader), you'll probably

Re: [OpenWrt-Devel] Strange JFFS partition

2008-10-30 Thread Stefan Monnier
> Something know what is the reason to that one empty data partition > (jffs) has 72% used. > root@(noname):/# df -h > FilesystemSize Used Available Use% Mounted on > /dev/root 2.6M 2.6M 0 100% / > tmpfs 7.0M 20.0k 7.0

Re: [OpenWrt-Devel] [PATCH] Edimax BR6104KP profile with rootfs on a USB drive

2008-10-31 Thread Stefan Monnier
> -- Building the flash image is too platform-specific. For Edimax > routers, you need to add the header, for other platforms you might > not need it, or do something else. Also The Edimax makefiles always > assume there's always a JFFS or Squashfs partition, while in my case > there should be n

Re: [OpenWrt-Devel] [PATCH] Edimax BR6104KP profile with rootfs on a USB drive

2008-11-04 Thread Stefan Monnier
> regarding WL-700gE, I couldn't yet find where exactly it does what you > describe, but I didn't yet have time to spend more time on it. It's not in the Svn (the code there just does a minimal install and then expects you to change the init file to do something else, which is explained in some w

[OpenWrt-Devel] Minor patch to make wpa_cli usable

2008-12-03 Thread Stefan Monnier
By default OpenWRT starts wpa_supplicant without specifying ctrl_interface, so wpa_cli has no socket to which to connect. The trivial patch below fixes that, Stefan Index: package/wpa_supplicant/files/wpa_supplicant.sh ===

[OpenWrt-Devel] "df " doesn't return any information

2008-12-13 Thread Stefan Monnier
On my WL-700gE (with root mounted from the internal harddrive), I have the following problem: # df /var/cache/polipo / Filesystem 1k-blocks Used Available Use% Mounted on # Of course, this `df' is busybox's implementation of `df'. # type df df is a tracked alias fo

[OpenWrt-Devel] Where is the code that causes jffs2 to be built-in

2008-12-14 Thread Stefan Monnier
I'm trying to build an WL-700gE (2.6) image that doesn't have jffs2 built-in (only squashfs which then pivots to ext3), but can't seem to figure where is the code that causes jffs2 to be built into the kernel. I thought the "FEATURES" setting in the target's file would do it, but target/linux/brc

Re: [OpenWrt-Devel] Where is the code that causes jffs2 to be built-in

2008-12-15 Thread Stefan Monnier
>> I'm trying to build an WL-700gE (2.6) image that doesn't have jffs2 >> built-in (only squashfs which then pivots to ext3), but can't seem to >> figure where is the code that causes jffs2 to be built into the kernel. > target/linux/generic-2.6/config-2.6.* Oh, so there's no *code* that turns it

Re: [OpenWrt-Devel] Where is the code that causes jffs2 to be built-in

2008-12-15 Thread Stefan Monnier
> ah, you are looking for a subarch > something like > target/linux/brcm47xx/Makefile # add SUBTARGETS=myarch > target/linux/brcm47xx/myarch/config-default # this is the kernel-config > target/linux/brcm47xx/myarch/profiles/001-myprofile.mk > look how it is done in target/linux/ixp4xx/ I see.

Re: [OpenWrt-Devel] Where is the code that causes jffs2 to be built-in

2008-12-16 Thread Stefan Monnier
>> I see. Sounds like a lot of trouble just to remove jffs2. > Yes. Is there any particular reason you're trying to do so? I see > what you're trying to do, but no why. JFFS2 is rather well suited for > the hardware OpenWRT is targeted at, integrated HD or not. Does the > 700gE not have any fl

Re: [OpenWrt-Devel] OpenWrt development process

2009-01-07 Thread Stefan Monnier
> OpenWrt is described as a Linux distribution for embedded devices. > (ok. It was a kind of joke, but this is actually the goal of OpenWrt; to > develop a Linux based embedded system for both final solutions and > development) That begs the question: what's the difference between OpenWRT and

[OpenWrt-Devel] RTC for WL-700gE

2009-01-08 Thread Stefan Monnier
I like my WL-700gE and recently went through the trouble to take an older package for its RTC driver and update it. I'm not sure if the package is in a good enough shape for inclusion, but I'd like to know what needs to be done now in order to get it included. There's a trac ticket for it at http

Re: [OpenWrt-Devel] [PATCH] proper hotplug handling of external storage

2009-01-12 Thread Stefan Monnier
> The Filesystem Hierarchy Standard (http://www.pathname.com/fhs/) > suggests to mount removable devices under the directory /media and leave > /mnt for a temporary mounted filesystem. > I know removable devices were mounted under /mnt before these patches, > but I think it would be a good idea to

[OpenWrt-Devel] LVM2 out of control

2009-01-14 Thread Stefan Monnier
I'm trying to get LVM2 working on my WL-700gE and am seeing some really odd behavior, I've appended a sample session that shows that the behavior seems to be non deterministic. I've tried stracing the execution and diffing the strace of different executions. See the diff below the sample session

[OpenWrt-Devel] Size of .trx files is "off by 4kB"

2009-01-16 Thread Stefan Monnier
Why is it that my .trx files (which I build for my WL-700gE, a brcm47xx target) always have a size of the form N*65536+4096. So, for example, I can have a firmware of size 1708032 or one of size 1773568, but nothing in-between. Now the remaining size for the firmware on my flash is 1769472. So I

[OpenWrt-Devel] [PATCH] /proc/diag/button

2009-01-16 Thread Stefan Monnier
The patch below adds a /proc/diag/button subdirectory, parallel to /proc/diag/led. In my case it saves me from having to add kmod-gpio-dev and gpioctl to my firmware, since I only need them to check whether the ezsetup button is pressed during boot (to trigger some kind of failsafe/rescue mode).

[OpenWrt-Devel] [PATCH] let httpd run under some other uid

2009-01-16 Thread Stefan Monnier
The patch below adds a `user' option to /etc/config/httpd, mapped to busybox_httpd's "-u" parameter (which is disabled by default, BTW). Stefan Index: package/busybox/files/httpd === --- package/busybox/files/httpd (révisio

[OpenWrt-Devel] [PATCH] minor fix for /etc/init.d/cron

2009-01-16 Thread Stefan Monnier
If /etc/crontabs contains several files, /etc/init.d/cron may misbehave because it forgets to quote the list. Also if /var/spool/cron/crontabs is a directory, then /etc/init.d/cron will place a spurious crontabs symlink into it. Stefan Index: package/busybox/files/cron

[OpenWrt-Devel] HOME set in /etc/profile

2009-01-16 Thread Stefan Monnier
When is the following line from /etc/profile export HOME=$(grep -e "^${USER:-root}:" /etc/passwd | cut -d ":" -f 6) ever useful? Usually /etc/profile expects HOME to be properly setup already and in my experience, the software installed in OpenWRT does indeed set it up properly. So I'd recomme

[OpenWrt-Devel] [PATCH] hotplug2 and setenv

2009-01-16 Thread Stefan Monnier
Hotplug2 has a strict separation between environment variables and event variables. When you write %% in a rule, it only looks up the vars provided with the event, not the environment. Inversely, the `setenv' rules only change the environment. The only connection between the two is that event v

[OpenWrt-Devel] [PATCH] let cups work right when /tmp and /var are split

2009-01-16 Thread Stefan Monnier
By default OpenWRT's /var is a symlink to /tmp. This is unusual under GNU/Linux but justified by the unusual circumstances of limited flash space and lifetime. But there is no reason for OpenWRT packages to presume that /tmp and /var are always interchangeable. The patch below fixes the cups pack

[OpenWrt-Devel] [PATCH] restart ntpd when the network is brought up

2009-01-16 Thread Stefan Monnier
ntpd is automatically restarted when `wan' is brought up. This is good when your system is a home router. But if you're using it some other way, its internet connection might come from `lan' rather than from `wan'. So I suggest the patch below. Stefan Index: net/ntpd/files/ntpd.hotplu

[OpenWrt-Devel] [PATCH] start mpd normally

2009-01-16 Thread Stefan Monnier
The patch below makes /etc/init.d/mpd start the MusicPlayerDaemon in a more normal way: - it stops it from rebuilding the database at every start (which takes a very long time on large databases). - it stops it from going through the trouble to create the music database directory (if it doesn't

Re: [OpenWrt-Devel] HOME set in /etc/profile

2009-01-17 Thread Stefan Monnier
>> When is the following line from /etc/profile >> export HOME=$(grep -e "^${USER:-root}:" /etc/passwd | cut -d ":" -f 6) >> ever useful? > if $USER != 'root' ? I use many users other than `root' on my OpenWRT machine and have never needed the above line. So if that can be useful, it's not just

Re: [OpenWrt-Devel] [PATCH] start mpd normally

2009-01-17 Thread Stefan Monnier
>> +if [ -x /bin/nice ]; then > maybe this is a better abstraction: > which nice >/dev/null && { Fine by me (I don't use it myself because it's less standard, and because I know the kind of input it returns on stdout, but not the kind of status it returns). >> +# This has rea

[OpenWrt-Devel] `mtd' or /dev/mtdblockN?

2009-01-18 Thread Stefan Monnier
What's the difference between writing the flash using the `mtd' utility, or writing it by catting into /dev/mtdblockN ? Stefan ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org http://lists.openwrt.org/cgi-bin/mailman/listinfo/open

Re: [OpenWrt-Devel] rebooting from a kernel on external storage

2009-01-20 Thread Stefan Monnier
> It's worth recognizing and mentioning that perhaps this boot loader > could actually be a full linux kernel and a very small / that simply > "kexec"s a new kernel from the USB storage once it's mounted at /. > I wonder how portable kexec is amongst the processors Linux runs on. That would be nic

Re: [OpenWrt-Devel] rebooting from a kernel on external storage

2009-01-22 Thread Stefan Monnier
> I disagree because that would create an unwanted relationship between > ipkg and sysupgrade and also will result in having old configuration > files if new versions of packages also have updated > configuration files. Why would you not want such a relationship. [io]pkg's conffiles are meant to

Re: [OpenWrt-Devel] mounting / from USB automatically yet?

2009-01-25 Thread Stefan Monnier
> I've just updated my trunk tree to the latest and I'm looking at the > patches that I'm carrying in my tree wondering what's still relevant and > what's not. One of the bigger ones is a patch to mount a USB device > on / in mount_root. > Is this still needed or has some official support for thi

Re: [OpenWrt-Devel] [PATCH] Append mac address to ssid

2009-01-27 Thread Stefan Monnier
> This patch introduces the 'hwsuffix' boolean parameter in the > wifi-iface section. By setting hwsuffix to 1, the interface's > mac address will be appended to the ssid. Works only with madwifi. Hmm... I'm curious: when is this kind of thing useful? Stefan ___

Re: [OpenWrt-Devel] please reopen ticket 3152

2009-02-01 Thread Stefan Monnier
>> > I've just posted some more details to ticket #3152 which is currently >> > closed. Could somebody with permission to do so, please reopen it? >> > >> > Basically, I'm getting: >> > >> > b43-phy2: Broadcom 4318 WLAN found >> > phy2: Selected rate control algorithm 'pid' >> > Broadcom 43xx dr

Re: [OpenWrt-Devel] please reopen ticket 3152

2009-02-02 Thread Stefan Monnier
>> A "recent" change to the way hotplug2 is started&killed around >> pivot_root made me bump into the exact above scenario. > How did you solve it? I updated my USB (really IDE in my case) rootfs. More specifically, the /etc/init.d/boot script needs to "killall -q hotplug2" before starting hotplu

Re: [OpenWrt-Devel] please reopen ticket 3152

2009-02-03 Thread Stefan Monnier
>> I updated my USB (really IDE in my case) rootfs. > Ahhh. Care to post the patch? As I said, the "patch" was ln -sf /rom/etc/init./boot /etc/init.d/boot >> More specifically, the >> /etc/init.d/boot script > The one on the flash, that calls /sbin/mount_root? The flash is uptodate, the USB

Re: [OpenWrt-Devel] please reopen ticket 3152

2009-02-03 Thread Stefan Monnier
>> ln -sf /rom/etc/init./boot /etc/init.d/boot > Hrm. But in my case, those files are effectively the same (where > hotplug counts). See: > # diff -u /rom/etc/init.d/boot /etc/init.d/boot > --- /rom/etc/init.d/boot Mon Jun 16 23:08:04 2008 > +++ /etc/init.d/boot Fri Jul 11 00:16:00 2008 >

[OpenWrt-Devel] [PATCH] Add /proc/diag/button dir to get button status

2009-02-16 Thread Stefan Monnier
The patch below tweaks the broadcom-diag module so as to complement /proc/diag/led with a /proc/diag/button subdirectory which shows the current status of the various buttons. The same information can already be obtained via `gpioctl' (which requires the `gpio_dev' kernel module), except that gpio

Re: [OpenWrt-Devel] Size of .trx files is "off by 4kB"

2009-02-16 Thread Stefan Monnier
Ping? Doesn't someone have some idea of where that might come from? Stefan >>>>> "Stefan" == Stefan Monnier writes: > Why is it that my .trx files (which I build for my WL-700gE, a brcm47xx > target) always have a size of the form N*65536+40

Re: [OpenWrt-Devel] Size of .trx files is "off by 4kB"

2009-02-16 Thread Stefan Monnier
>> Ping? Doesn't someone have some idea of where that might come from? > I'm not familiar with .trx in particular, but at least for AR7 squashfs > images there is a 4-byte jffs marker at the very end that is > deliberately aligned to the start of the next erase block after the end > of the real f

Re: [OpenWrt-Devel] [PATCH] Add lzma support to jffs2

2009-02-19 Thread Stefan Monnier
> This patch will add lzma support to the jffs2 filesystem. It adds I'm curious: when I looked at it, it seemed like it might be problematic on small machines like the WRT54G because of its memory use. Was I just imagining it, or is it indeed something to watch out for? Stefan

Re: [OpenWrt-Devel] [PATCH] Add lzma support to jffs2

2009-02-19 Thread Stefan Monnier
>>> This patch will add lzma support to the jffs2 filesystem. It adds >> I'm curious: when I looked at it, it seemed like it might be problematic >> on small machines like the WRT54G because of its memory use. Was I just >> imagining it, or is it indeed something to watch out for? > I've only trie

[OpenWrt-Devel] WL700gE with new 2.6.28 kernel?

2009-02-20 Thread Stefan Monnier
Has someone managed to build a kernel for use on the WL-700gE? I tried to update my kernel and first noticed that the aec62xx module was missing. `packages/kernel/modules/block.mk' seemed to explain that some renaming break the kmod-ide-core package. So looking at the files drivers/ide/*.ko, I fi

[OpenWrt-Devel] [PATCH] IDE in 2.6.28 (was: WL700gE with new 2.6.28 kernel?)

2009-02-21 Thread Stefan Monnier
> Has someone managed to build a kernel for use on the WL-700gE? > I tried to update my kernel and first noticed that the aec62xx module > was missing. `packages/kernel/modules/block.mk' seemed to explain that > some renaming break the kmod-ide-core package. So looking at the files > drivers/ide/

[OpenWrt-Devel] [PATCH] Support for LVM

2009-02-21 Thread Stefan Monnier
ages/utils/lvm2/files/lvm2.init (révision 0) @@ -0,0 +1,12 @@ +#!/bin/sh /etc/rc.common +# Copyright (C) 2009 Stefan Monnier +START=15 + +start () { + /sbin/lvm vgscan --ignorelockingfailure --mknodes || : + /sbin/lvm vgchange -aly --ignorelockingfailure || return 2 +} + +stop () { +/

Re: [OpenWrt-Devel] [PATCH] Support for LVM

2009-02-24 Thread Stefan Monnier
@ -0,0 +1,12 @@ +#!/bin/sh /etc/rc.common +# Copyright (C) 2009 Stefan Monnier +START=15 + +start () { + /sbin/lvm vgscan --ignorelockingfailure --mknodes || : + /sbin/lvm vgchange -aly --ignorelockingfailure || return 2 +} + +stop () { +/sbin/lvm vgchange -aln --ignorelockingfailure || re

Re: [OpenWrt-Devel] how to control "install" sequence ?

2009-03-18 Thread Stefan Monnier
> There is a way to force a package to be installed after another > package when creating the firmware image? Not that I know. The DEPENDS directive should properly enforce an order when packages are installed via "opkg", but IIUC the firmware image is built differently and doesn't do a topologic

[OpenWrt-Devel] uClibc, glibc, eglibc

2009-03-19 Thread Stefan Monnier
Both eglibc and uClibc are targetted at embedded systems, meaning that they intend to be smaller and use less CPU and RAM than glibc. Is there some place where such goals are actually tested? How do they compare in practice? I'd expect their respective development team (especially eglibc's) to ha

Re: [OpenWrt-Devel] [RFC] Update from hotplug2-0.9 to hotplug2-1.0-beta

2009-03-30 Thread Stefan Monnier
> Update the hotplug2 package from hotplug2-0.9 to hotplug2-1.0-beta. > hotplug2-1.0 no longer needs the udevtrigger, so remove that > dependency from target.mk. That would be a welcome upgrade. > Some changes are needed to the rules. Help on that would be appreciated. Among other things, hotpl

Re: [OpenWrt-Devel] RFC: install packages to an external filesystem

2009-04-13 Thread Stefan Monnier
> Jo, Nico and I have been discussing an issue which is defining at build time > packages that should be installed on, say an usb flash drive. For this we > have two approaches: Any reason why this can't be done separately? Stefan ___ openwrt

Re: [OpenWrt-Devel] Who handles integration of new packages and what's the state of documentation?

2009-05-05 Thread Stefan Monnier
> 2. How to take part in the development, and how to become an OpenWrt > developer? Again, the direction to walk down, is to > participate. A good direction is to start maintaining a package, > discuss issues on irc #openwrt-devel etc. I've sent several patches here, and I didn't get much feedbac

Re: [OpenWrt-Devel] replace /jffs with usb stick

2009-08-18 Thread Stefan Monnier
> I am having a hard time to find the place where mounting root "/" really > happens .. It's in /sbin/mount_root. And yes, it is not exactly trivial to find (although in retrospect I had to admit that the name should have made it pretty obvious). See below the patch I use on my WL-700gE to mount

[OpenWrt-Devel] Bug between `list' and `restart' in rc.common

2009-10-04 Thread Stefan Monnier
The OpenVPN package uses `list' in its /etc/config/openvpn file. In most cases, this works just fine. But when you run "/etc/init.d/openvpn restart", the decomposition of "restart" into "stop" and "start" causes the config file to be processed twice, so the list elements get added twice. E.g. if

[OpenWrt-Devel] FQDN for routes should expand to all IPs

2009-10-16 Thread Stefan Monnier
I posted a bug on the sourceforge tracker almost two weeks ago: http://sourceforge.net/tracker/index.php?func=detail&aid=2872760&group_id=48978&atid=454719 and since I haven't seen any answer (although it even contains a patch which seems to work well, at least for me), I'm wondering if that's th

Re: [OpenWrt-Devel] FQDN for routes should expand to all IPs

2009-10-16 Thread Stefan Monnier
Sorry, wrong list, Stefan >>>>> "Stefan" == Stefan Monnier writes: > I posted a bug on the sourceforge tracker almost two weeks ago: > http://sourceforge.net/tracker/index.php?func=detail&aid=2872760&group_id=48978&atid=454719 > and sin

Re: [OpenWrt-Devel] seems typo in [package/base-files/files/etc/hosts] file

2009-10-17 Thread Stefan Monnier
>> how about add another line in "/etc/hosts" file ? > Useless duplication to me. I think furthermore that the FQDN is here so > that localhost doesn't become the name of a host on the default subnet > (like localhost.lan) I thought that all the names listed in /etc/hosts are FQDN already (adding

Re: [OpenWrt-Devel] /etc and non-config files (like functions.sh)

2010-01-13 Thread Stefan Monnier
> What do the rest of you think, of making the /lib move for a) > functions.sh and b) preinit? 100% agreement. You'll probably want to keep compatibility symlinks in place, tho (and maybe /etc/functions.sh won't be a symlink but a file that loads all the files into which functions.sh has been spl

Re: [OpenWrt-Devel] /etc and non-config files (like functions.sh)

2010-01-13 Thread Stefan Monnier
>> What do the rest of you think, of making the /lib move for a) >> functions.sh and b) preinit? > Sounds like a good idea to me. Might as well move /etc/init.d and > rc.common while we're at it - but not without compatibility symlinks, > both for users and for applications that rely on the old lay

Re: [OpenWrt-Devel] Preinit fixes

2010-01-26 Thread Stefan Monnier
> I have just a request from the documentation point of view: can anyone > formalize a document with the init sequence, the hooks that can be used and > any other useful information to customize the init process. I know that the > source code is better a document... but I formal document can be

Re: [OpenWrt-Devel] Preinit fixes

2010-01-26 Thread Stefan Monnier
> See, http://cshore.is-a-geek.com/openwrt/preinit_mount.html > It's fully documented along with an example. Thanks. It's much better, but it still leaves several questions open: - where is the "failsafe" code (it has its own subsection in the doc, but it doesn't say to which file it correspon

Re: [OpenWrt-Devel] Preinit fixes

2010-01-27 Thread Stefan Monnier
> As for improving the docs...While docs can always be better, I prefer > development, and I think I've already greatly improved the state of > documentation compared to what it was, as far as preinit goes. I'm sorry if my posts came thorugh as requests for you to improve the doc. I haven't looke

Re: [OpenWrt-Devel] hotplug.d/block/10-mount script

2010-01-28 Thread Stefan Monnier
> Swap comes last because I plan to enable swapfile support, which rely on > the filesystem to be mounted first. Any idea for a swapfile name? > /swapfile, /swap.swp ... Is that really designed for swap on a hotplugged device? Is that a good idea? Stefan

Re: [OpenWrt-Devel] hotplug.d/block/10-mount script

2010-01-28 Thread Stefan Monnier
>>> Swap comes last because I plan to enable swapfile support, which rely on >>> the filesystem to be mounted first. Any idea for a swapfile name? >>> /swapfile, /swap.swp ... >> Is that really designed for swap on a hotplugged device? >> Is that a good idea? > I use hotplugged swap. It is not a ba

Re: [OpenWrt-Devel] Wanted: Package Maintainers

2010-02-01 Thread Stefan Monnier
> We are looking for people that want to maintain and update individual > packages. If you are interested please contact me with what package you want > to maintain. I'd be happy to maintain the LVM package. I guess that presumes it gets accepted first ;-) Stefan ___

Re: [OpenWrt-Devel] [PATCH] Hotplug automount fixes/enhancements

2010-02-01 Thread Stefan Monnier
> To be honest I'm not sure how useful the unmount in hotplug really is > anyway...usually if it's called it mean the device has already been > removed, I think. But if you don't unmount, then you're left with some "zombie" mount, which still refers to the device name and can lead to problems (min

Re: [OpenWrt-Devel] Wanted: Package Maintainers

2010-02-02 Thread Stefan Monnier
> I will commit your patches later today. I also need the username you > want to use, a ssh public key for svn, and the hash created by > 'htdigest -c passwdfile openwrt username' for trac and I will get you > setup with access to LVM. I also request that you fill in > https://dev.openwrt.org/wik

Re: [OpenWrt-Devel] Wanted: Package Maintainers

2010-02-02 Thread Stefan Monnier
Oh, and did I say I *hate* Reply-To? Stefan >>>>> "Stefan" == Stefan Monnier writes: >> I will commit your patches later today. I also need the username you >> want to use, a ssh public key for svn, and the hash created by >> 'htdiges

Re: [OpenWrt-Devel] b43 driver

2010-02-08 Thread Stefan Monnier
>> Note: The brcm47xx still won't work for those of you needing broadcom >> wifi, stick to brcm-2.4. We will tell you when it does work. > I need to know. How much may take time before we can use the b43 driver? > One month? Half year? IIUC the above note is conservative: the b43 driver in brcm4

Re: [OpenWrt-Devel] [RFC] External Rootfs (e.g. USB)

2010-02-15 Thread Stefan Monnier
> Here is the first part of the rootfs on external (i.e. not the squashfs, > jffs, or boot root) rootfs (right not just usb, but can easily be > extended to others). Thanks, this is a needed feature, indeed. > This has to be manually configured after the first > boot (and requires a reboot after

Re: [OpenWrt-Devel] b43 driver

2010-02-15 Thread Stefan Monnier
>> AP with WPA2-PSK generally works for me on Asus WL-500g Deluxe, but >> throughput is very bad. > My WL-500g Deluxe (4306 corerev 5 onboard) works extremely well with > the b43 driver and WPA-PSK2 with AES. I can max it out at around ~2 > MB/s at close range, the same speed it reached with the

Re: [OpenWrt-Devel] 2mb flash not OpenWRT-Target?

2010-02-18 Thread Stefan Monnier
>> Linux can hardly fit in a 2MB flash device, once you have opened the > Yes, but this text was written in the old times (2004?) I've been using OpenWRT on my WL-700gE for a while now. That machine has a 2MB flash, so OpenWRT is quite usable there. But yes, it also has a IDE interface, so the 2

Re: [OpenWrt-Devel] [RFC] External Rootfs (e.g. USB)

2010-02-18 Thread Stefan Monnier
>> > This has to be manually configured after the first >> > boot (and requires a reboot after a sysupgrade first boot). >> H... that's a problem. It means that you can't just have >> squashfs+extroot but need a jffs2 inbetween just for this >> little cconfig. > Actually the squashfs/jffs2 is

Re: [OpenWrt-Devel] 2mb flash not OpenWRT-Target?

2010-02-24 Thread Stefan Monnier
>>> The Asus WL520GC I just bought is running Linux. It has 2MB of flash. >> Wow, I assumed that out of the box, these devices with a small amount of >> flash did not run Linux. That was true in the past at least. Things have >> changed since I last checked... > obviously. DD-WRT micro images also

Re: [OpenWrt-Devel] [RFC] External Rootfs (e.g. USB)

2010-02-24 Thread Stefan Monnier
>> Still, you need jffs2 there (both the jffs2 partition and the jffs2 >> modules). That's a lot of flash space for something that's not >> actually needed. And of course, it's also an added step when >> installing upgrading the firmware. > Having a fallback jffs2 is something most people have sa

Re: [OpenWrt-Devel] [PATCH] block-extroot: the next iteration

2010-02-24 Thread Stefan Monnier
> config mount > option 'uuid' 'some-uuid-here' > option 'label' 'fs-label' > option 'device' '/dev/device' > option 'target' '/usb' > option 'fstype' 'ext3' > option 'enabled' '1' > option 'enabled_fsck' '1' > option 'is_rootfs' '1' Why

Re: [OpenWrt-Devel] 2mb flash not OpenWRT-Target?

2010-02-24 Thread Stefan Monnier
> As such I think it would be very useful to have a minimum build (just > enough to bring up interfaces and install additional packages) Agreed. Stefan ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/ma

Re: [OpenWrt-Devel] 2mb flash not OpenWRT-Target?

2010-02-25 Thread Stefan Monnier
>> As such I think it would be very useful to have a minimum build (just >> enough to bring up interfaces and install additional packages) > Agreed. Oops, sorry for sending it so early. What I meant to add was that I haven't found a way to make such a minimum build config yet. E.g. I have made a

Re: [OpenWrt-Devel] [PATCH] Automount enhanced/fixed, also fstab

2010-02-25 Thread Stefan Monnier
> Certainly a label or uuid is possible, but the problem isn't convincing > OpenWRT to boot into a rootfs, but making sure the rootfs has the > appropriate binaries. Indeed. Part of the solution is to reduce as much as possible the linkage between the squashfs/jffs2 part of the boot and the rest

Re: [OpenWrt-Devel] [PATCH] dropbear: allow multiple listen ports to be configured

2010-02-28 Thread Stefan Monnier
> This patch allows multiple listen ports to be configured for dropbear in > /etc/config/dropbear. It renames the 'Port' option to 'Ports', so this > will break existing configs. Shouldn't this be sent to the dropbear upstream maintainers? It doesn't seem specific to OpenWRT at all. Ste

Re: [OpenWrt-Devel] [PATCH] dropbear: allow multiple listen ports to be configured

2010-02-28 Thread Stefan Monnier
> No, as his patch only modifies OpenWrt scripts and uci. > The functionality of multiple ports with only one DropBear instance is > already in DropBear. Duh... sorry for being so dense, Stefan ___ openwrt-devel mailing list openwrt-devel@list

Re: [OpenWrt-Devel] Backfire 10.03-beta

2010-03-05 Thread Stefan Monnier
> Binaries can be downloaded at > http://downloads.openwrt.org/backfire/10.03-beta/ Is there some equivalent Svn revision, branch, or the trunk rev-number from which it was branched? Stefan ___ openwrt-devel mailing list openwrt-devel@lists.op

[OpenWrt-Devel] [PATCH] minor fix for /etc/init.d/cron

2010-03-10 Thread Stefan Monnier
If /var/spool/cron/crontabs is a directory, then /etc/init.d/cron will place a spurious "crontabs" symlink into it. Stefan Index: package/busybox/files/cron === --- package/busybox/files/cron (révision 19922) +++ package/b

[OpenWrt-Devel] [PATCH] Typo in dhcp-fwd.init

2010-03-10 Thread Stefan Monnier
Simple typo. Stefan Index: net/dhcp-forwarder/files/dhcp-fwd.init === --- net/dhcp-forwarder/files/dhcp-fwd.init (révision 19649) +++ net/dhcp-forwarder/files/dhcp-fwd.init (copie de travail) @@ -4,7 +4,7 @@ LO

  1   2   >