[OpenWrt-Devel] new package: openvpn-interface

2013-01-14 Thread Joachim Schlipper
I would like to add a new package that enables the use of openvpn connections as netifd interfaces. Each openvpn instance is then treated as a virtual network interface which simplifies the usage, especially with firewalling, re-configuration of network interfaces (ifdown ifup sequences) etc. I ha

Re: [OpenWrt-Devel] new package: openvpn-interface

2013-01-14 Thread Christoph Thielecke
Hello, > I have created a bundle with the required files (quite a lot, because of > many up- down- connect- and disconnect- scripts) here: > http://www.schlipper.net/openwrt/openvpn-interface.tgz Its password protected which is surely wrong. With best regards Christoph -- Linux User Group Wern

Re: [OpenWrt-Devel] [PATCH] Assign non-default priority to zram swap

2013-01-14 Thread Bastian Bittorf
* Nathan Hintz [14.01.2013 11:05]: > - swapon "$zram_dev" > + swapon -p 0 "$zram_dev" this breaks zram for now, because we compile the busybox-swaponoff without support for "p". the patch is OK, but can please somebody switch on the support for "p" for all images? bye,

[OpenWrt-Devel] Get to RedBoot prompt in Atheros-based router

2013-01-14 Thread Nguyễn Hồng Quân
Hello all I'm trying to flash OpenWrt to an old D-Link DIR-300 router. The router has contained DD-WRT already (not stock firmware), so I assume that its RedBoot listens at 192.168.1.1 when booting. However, I tried many times with "telnet 192.168.1.1 9000" and cannot get in. The error is al

Re: [OpenWrt-Devel] new package: openvpn-interface

2013-01-14 Thread Joachim Schlipper
Sorry, I had a typo. correct link is: http://www.schlipper.net/OpenWRT/openvpn-interface.tgz Joachim Am 14.01.2013 11:01, schrieb Christoph Thielecke: > Hello, > >> I have created a bundle with the required files (quite a lot, because of >> many up- down- connect- and disconnect- scripts) here: >

Re: [OpenWrt-Devel] Get to RedBoot prompt in Atheros-based router

2013-01-14 Thread Bastian Bittorf
* Nguyễn Hồng Quân [14.01.2013 11:53]: > > I'm trying to flash OpenWrt to an old D-Link DIR-300 router. The please use http://wiki.openwrt.org/toh/d-link/dir-300#with.dir300-flash.sh.shell.script the link is dead, but it's in the feed: package/feeds/packages/dir300-flash bye, bastian _

Re: [OpenWrt-Devel] new package: openvpn-interface

2013-01-14 Thread Jiri Slachta
Hello Joachim :) Dne 14.1.2013 10:53, Joachim Schlipper napsal(a): > Is it possible for me to get svn write access > for that package, so I can maintain the package in the future? Who is > the one to talk to about that? why don't you send a patch to mailing list according to SubmittingPatches gui

Re: [OpenWrt-Devel] new package: openvpn-interface

2013-01-14 Thread Joachim Schlipper
Hello Jiri, Am 14.01.2013 12:05, schrieb Jiri Slachta: > why don't you send a patch to mailing list according to > SubmittingPatches guide ( > https://dev.openwrt.org/wiki/SubmittingPatches )? You do not need to > have write access, and this practice is quite good - everyone can test > your packag

Re: [OpenWrt-Devel] new package: openvpn-interface

2013-01-14 Thread Jiri Slachta
Hello Joachim Dne 14.1.2013 12:20, Joachim Schlipper napsal(a): > Hello Jiri, > > Thank you for your suggestion. I never considered it to be a patch > because it doesn't change anything existing. As it is a whole new > package I guessed it would not be a patch, but rethinking it after your > comm

Re: [OpenWrt-Devel] [PATCH] Assign non-default priority to zram swap

2013-01-14 Thread Bastian Bittorf
* Nathan Hintz [14.01.2013 11:05]: > - swapon "$zram_dev" > + swapon -p 0 "$zram_dev" i just stumbled over the fact, that target atheros 23xx has no support for swap activated and is still at kernel v3.3.8. CONFIG_SWAP=y make kernel_menuconfig General setup ---> [*] Sup

Re: [OpenWrt-Devel] [PATCH] Assign non-default priority to zram swap

2013-01-14 Thread Bastian Bittorf
* Nathan Hintz [14.01.2013 11:05]: > Insures zram swap is higher priority than any swap added by block-mount; > which is not the case if zram swap is restarted for any reason > (e.g., /etc/init.d/zram restart). > > Signed-off-by: Nathan Hintz > > Index: package/zram-swap/files/zram.init > =

[OpenWrt-Devel] ADB P.DGA4001N with different hardware

2013-01-14 Thread Ernesto
Hi all, I have an ADB P.DGA4001N, but it is a different hardware than what is described in the wiki (http://wiki.openwrt.org/toh/adb/p.dg_a4001n1). What I get in the console at boot time after unsuccessful flashing is: CFE version 1.0.37-106.24 for A4001N TEF 0001 BCM96328 (32bit,SP,BE) Build Dat

Re: [OpenWrt-Devel] Evenly distribute bandwidth for users?

2013-01-14 Thread Ben West
You may also want to look at tools like Coovachilli, wifidog, and nodogsplash if you want to constrain upload/download bandwidth for individual DHCP clients. These are the tools commonly used to manage bandwidth on public wifi hotspots. http://wiki.openwrt.org/doc/howto/wireless.hotspot http://wi

Re: [OpenWrt-Devel] [PATCH] Assign non-default priority to zram swap

2013-01-14 Thread Nathan Hintz
On Mon, 2013-01-14 at 11:25 +0100, Bastian Bittorf wrote: > * Nathan Hintz [14.01.2013 11:05]: > > > - swapon "$zram_dev" > > + swapon -p 0 "$zram_dev" > > this breaks zram for now, because we compile > the busybox-swaponoff without support for "p". > > the patch is OK, but

[OpenWrt-Devel] SDK: cannot build nano package as per wiki example

2013-01-14 Thread Enrico Thierbach
Hi list, I wrote a small C utilitiy that I want to compile into an openwrt package. I tried to find my way through the somewhat confusing documentation on the wiki and the 'net over the weekend, but couldnÄt get anything working. Now for a more systematic approach: 1. I downloaded and unpacke

Re: [OpenWrt-Devel] Get to RedBoot prompt in Atheros-based router

2013-01-14 Thread Nguyễn Hồng Quân
Hi Bastian, I tried that script but failed at "Waiting for the wireless router…" (infinite waiting). The scripted start from "looking for factory bootloader" step but as I told, the router has had DD-WRT already. This means factory bootloader was replaced. I wonder if the time for RedBoot to

[OpenWrt-Devel] [PATCH][BCM63XX] Add BeiMan HA910_BizN/HA910_N support

2013-01-14 Thread Kicer J
Add BeiMan HA910_BizN and HA910_N support. Signed-off-by: Kicer Jiao --- Index: target/linux/brcm63xx/image/Makefile === --- target/linux/brcm63xx/image/Makefile(revision 35162) +++ target/linux/brcm63xx/image/Makefile

[OpenWrt-Devel] [PATCH, v2] Assign non-default priority to zram swap

2013-01-14 Thread Nathan Hintz
Insures zram swap is higher priority than any swap added by block-mount; which is not the case if zram swap is restarted for any reason (e.g., /etc/init.d/zram restart). v2 - Default CONFIG_FEATURE_SWAPON_PRI to 'y' Unfortunately, this adds an additional ~2.1K to the size of busybox. Signed-off-