[OpenWrt-Devel] [patch] udhcpc: Pass all events to udhcpc.user

2009-07-09 Thread Geoff Levand
Petitboot and maybe other apps need to know when the dhcp lease is lost. Move the udhcpc.user call to send it all udhcpc events. Signed-off-by: Geoff Levand --- package/base-files/files/usr/share/udhcpc/default.script |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- a/package

[OpenWrt-Devel] [PATCH] UCI config for sslh package

2009-07-09 Thread Matthias Buecher / Germany
Adopted sslh to uci config. Config allows for configuring all possible options. Allows only one instance. Create files directory in package folder and apply patch from the feeds/packages folder. Didn't know if I should have updated the package revision to 2. If so please do. sslh is working fine

[OpenWrt-Devel] Adding a path for external media

2009-07-09 Thread Daniel Dickinson
It would make using external media (e.g. USB drive) for packages easier if the packages could be installed onto it and used the same as on the flash, which can be achieved by adding an agreed upon path to the PATH, which could be used by external media. For example, if it is agreed that package ex

[OpenWrt-Devel] How to use UCI in init scripts?

2009-07-09 Thread Matthias Buecher / Germany
Hi everybody, can you point me to documentation or explain how I read UCI values from an init script? I'm trying to create an UCI config for SSLH. It's working fine, but right now all values are directly set inside the script and not read from the config file. Also started a forum thread for thi

[OpenWrt-Devel] [PATCH] madwifi.sh channel fix

2009-07-09 Thread Alina Friedrichsen
In the madwifi.sh there is to read "only need to change freq band and channel on the first vif". This is wrong. For example if you create a new Ad-Hoc network and an AP interface, the channel is reseted to 1, regardless of the UCI setting. So remove this wrong code. Signed-off-by: Alina Friedri

[OpenWrt-Devel] openvpn dynamic reconfiguration script

2009-07-09 Thread Andrea Borgia
Hi, guys. The background: I am running openvpn on port 53 because it is the only open port at a given site. For that reason, I had to beat into submission both dnsmasq (telling it NOT to bind 0.0.0.0:53, but lan:53) and openvpn. Since openvpn does not allow an interface to be specified, I had to