Re: [OpenWrt-Devel] Open source open process

2014-10-02 Thread Etienne Champetier
Hi and sorry John and all other that i could have offended. That was really not the goal of my mail, and me being a bit tired and not so good in english, i wrote an awful rant without noticing. Thanks for all the work that you are doing. I know that you and other are working hard to provide us

Re: [OpenWrt-Devel] Open source open process

2014-10-02 Thread Saverio Proto
Hello everyone ! Relax :) If we are reading this list it is because we all want a better OpenWrt, and we all do the best we can for it. Etienne in my experience the OpenWrt group is really open. The problem is the that core people have to face thousands of contacts over the Internet from unknown

Re: [OpenWrt-Devel] uqmi - Specifying Link Protocol (libqmi --device-open-net=net-802-3 option)

2014-10-02 Thread Bjørn Mork
John Crispin blo...@openwrt.org writes: we noticed that qmi is not working properly today and are working on a fix. John On 01/10/2014 21:12, Spam Catcher wrote: I'm trying to use uqmi with a Sierra Wireless MC7354 and MC7750. On both modules I'm able to bring up a connection to the

Re: [OpenWrt-Devel] uqmi - Specifying Link Protocol (libqmi --device-open-net=net-802-3 option)

2014-10-02 Thread Felix Fietkau
On 2014-10-01 21:12, Spam Catcher wrote: I'm trying to use uqmi with a Sierra Wireless MC7354 and MC7750. On both modules I'm able to bring up a connection to the cell network, but cannot send or receive anything on the wwan0 interface. After much digging I found an option for libqmi that

Re: [OpenWrt-Devel] Open source open process

2014-10-02 Thread Hanno Schupp
Apparently yes, Bruno. Just asking for more communication while at the same time even commending the devs for their hard work, as Etienne did, seems to justify being insulted. Personal sensibilities aside this has been a bone of contention for a long time. Here just a couple of examples:

Re: [OpenWrt-Devel] Open source open process

2014-10-02 Thread Hanno Schupp
Really, John? Personal insults through direct emails? On 2 October 2014 18:14, John Crispin blo...@openwrt.org wrote: until now i considered you one of the reliable crowd and just reasserted to yet another troll On 02/10/2014 07:01, Hanno Schupp wrote: I think this is his point, mate: You

Re: [OpenWrt-Devel] Open source open process

2014-10-02 Thread buddhay
On 02.10.2014 12:21, Hanno Schupp wrote: For example, I did not know that BB-final binaries have been online for over a day... is it really too much to ask to send a short note about a major release to the mailing list? exactly Etiennes point, correct and valid as opposed to uncivilized

Re: [OpenWrt-Devel] Open source open process

2014-10-02 Thread Felix Fietkau
On 2014-10-02 11:06, Bruno Randolf wrote: Hi all, While we all agree that the OpenWRT core developers are doing great work, are really busy, and sometimes it's more important to fix a bug that to send an email, I think Etienne raises a valid point here: communication could be better and the

Re: [OpenWrt-Devel] kernel changes on recompilation?

2014-10-02 Thread Russell Senior
Nishant == Nishant Sharma codemarau...@gmail.com writes: Nishant [...] I never did a clean or dir clean but yes I enabled a Nishant few packages and modules with new requirements. Nishant Which is fine by my own thinking. And just for adding Nishant e.g. batman-adv to existing devices in the

Re: [OpenWrt-Devel] [RFC PATCH] packages: Smart Queue Management for AQM Packet Scheduling and Qos from CeroWrt

2014-10-02 Thread David Lang
On Thu, 2 Oct 2014, Alpha Sparc wrote: How good is the throughput on CeroWrt compared to OpenWrt ? The focus of CeroWrt is on reducing latency, not increasing throughput. If you run into really badd bufferbloat problems without these scrips, then these scripts can result more more 'goodput'

Re: [OpenWrt-Devel] Open source open process

2014-10-02 Thread Etienne Champetier
My first email was wrong, and i don't want to criticize anybody work, don't want to insult anybody, and really don't want to start a war. Apologies again 2014-10-02 13:55 GMT+02:00 Imre Kaloz ka...@openwrt.org: John, Please mind your manners and keep the discussion at a professional level.

[OpenWrt-Devel] [PATCH netifd] proto-shell: fix for not handling switch from DHCP to static race

2014-10-02 Thread Michel Stam
When a shell script call is finished, proto_shell_task_finish( ) is called to monitor processes, and determine the next interface state. When the interface is brought up after a reconfiguration from dhcp to static, it will first try to (erroneously?) reconfigure the interface for DHCP. Upon doing

[OpenWrt-Devel] [PATCH ubox] Use different loglevels

2014-10-02 Thread Michel Stam
Ubox logs various messages during OpenWRT boot which are not very interesting, such as the number of iterations made. This fix implements several loglevels for debug/info/error so that more useful messages are shown. Signed-off-by: Michel Stam m.s...@fugro.nl --- kmodloader.c | 75

[OpenWrt-Devel] [PATCH libubox] Allow SIGINT to be released on request

2014-10-02 Thread Michel Stam
SIGINT is captured by uloop by default. This does not work for procd, where SIGINT is used by the kernel to indicate that the system must be rebooted. Signed-off-by: Michel Stam m.s...@fugro.nl --- uloop.c | 24 +--- uloop.h | 1 + 2 files changed, 18 insertions(+), 7

Re: [OpenWrt-Devel] kernel changes on recompilation?

2014-10-02 Thread Jo-Philipp Wich
Hi Gui, this is not supposed to happen though - you can see the magic in include/kernel-defaults.mk - define Kernel/Configure/Default The hash is calculated like that: grep '=[ym]' .../.config | sort | md5sum Can you diff the Kernel build_dir/target-*/linux-*/linux-*/.config file before and

[OpenWrt-Devel] [PATCH procd] Add ctrlaltdel handler to procd

2014-10-02 Thread Michel Stam
Procd, up until now, did not support the ctrlaltdel handler. Thus, the system would immediately reboot upon the three-finger salute, and no shutdown scripts would be run. This patch adds the handler for the /etc/inittab entry, so that /sbin/reboot can be run and in turn the shutdown scripts can be

[OpenWrt-Devel] [PATCH procd 1/8] Fix procd not handling rapid reboot signals very well

2014-10-02 Thread Michel Stam
When keeping ctrl-alt-del pressed, or when running; while true; do /sbin/reboot done effectively the procd shutdown cycle gets into an undefined state, Signed-off-by: Michel Stam m.s...@fugro.nl --- state.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git

[OpenWrt-Devel] [PATCH procd 6/8] Reboot busybox style via procd

2014-10-02 Thread Michel Stam
It has been observed that, very rarely, the system does not reboot when procd enters the shutdown state. Busybox seems to have an obscure fix in its shutdown, where the parent (procd) process is put in an infinite loop, and a special child is executed to execute reboot(). This may very well be the

[OpenWrt-Devel] [PATCH procd 2/8] Log startup/shutdown to console

2014-10-02 Thread Michel Stam
procd has the habit of logging startup/shutdown via rcS to syslog, which is pointless in case of a shutdown, and unlikely to be complete on a startup (as syslog is not running). Write to /dev/console instead. Signed-off-by: Michel Stam m.s...@fugro.nl --- rcS.c | 10 ++ 1 file changed, 6

[OpenWrt-Devel] [PATCH procd 3/8] Fix curses applications to work with procd

2014-10-02 Thread Michel Stam
The problem was caused by procd not opening /dev/tty* (which ever was specified in /etc/inittab), causing /proc/PID/fd to point to /console instead. /dev/console is a non-controlling tty (CTTY), and cannot be used as one, which is exactly what curses applications want. Since this is very likely

[OpenWrt-Devel] [PATCH procd 4/8] Fix scroll lock blocking procd

2014-10-02 Thread Michel Stam
On x86, pressing the scrolllock button may effectively prevent procd from rebooting the system. This happens because procd tries to write to /dev/console, which in that situation is blocked, effectively blocking procd from rebooting the system. This patch puts procd's stderr access into

[OpenWrt-Devel] [PATCH procd 5/8] Kill processes on shutdown

2014-10-02 Thread Michel Stam
Procd as it currently is does not kill the running processes during shutdown. As this might cause undesired behaviour, this should be implemented. Implementation was taken from busybox 1.19.4 Signed-off-by: Michel Stam m.s...@fugro.nl --- state.c | 10 ++ 1 file changed, 10 insertions(+)

[OpenWrt-Devel] [PATCH procd 8/8] Fix 'reboot' message when the system is powering down

2014-10-02 Thread Michel Stam
While executing a system halt (via the powerbutton or otherwise), the system displays rebooting, whereas it should display that it is going to turn off. Signed-off-by: Michel Stam m.s...@fugro.nl --- state.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/state.c

[OpenWrt-Devel] [PATCH procd 7/8] Show the shutdown sequence on the active virtual terminal

2014-10-02 Thread Michel Stam
procd by default writes to /dev/console. When rebooting, this means that the terminal on which the reboot sequence was started will not see what is going on. This patch fixes that by reopening stdin, stdout and stderr to /dev/tty0 upon reboot. Also, due to (probably) pivot-root, /proc/1/fd shows

[OpenWrt-Devel] [PATCH] toolchain: Fix libthreaddb not being installed

2014-10-02 Thread Michel Stam
Signed-off-by: Michel Stam m.s...@fugro.nl --- package/libs/toolchain/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/libs/toolchain/Makefile b/package/libs/toolchain/Makefile index 36cf8c4..72ce6b9 100644 --- a/package/libs/toolchain/Makefile +++

[OpenWrt-Devel] [PATCH] busybox: remove validation message from bootup

2014-10-02 Thread Michel Stam
A message: uinteger - 9 = true is displayed during boot. This is the result of the validate_data command checking the cron log level. As the output is not interesting, only the result, filter... Signed-off-by: Michel Stam m.s...@fugro.nl --- package/utils/busybox/files/cron | 2 +- 1 file

[OpenWrt-Devel] tp-link mr12u !

2014-10-02 Thread Daniel Petre
Hello, just got this mini router and it's so small and neat! Unfortunately it seems i cannot generate images with it using BB but people on the forum say it's similar to the tp-link mr3040: https://forum.openwrt.org/viewtopic.php?id=45167 I tried to patch my BB toolchain with the modifications

[OpenWrt-Devel] [PATCH] base-files: remove the deluge of driver messages during bootup

2014-10-02 Thread Michel Stam
Early during bootup, kmodloader is started which loads the drivers in /etc/modules.d. Unfortunately at this time the system script has not run yet, which is supposed to set the console log level. Having the S10system script moved to an earlier time is not an option, as this in turn will not work

[OpenWrt-Devel] [PATCH] base-files: remove a 'not found' error message during system boot

2014-10-02 Thread Michel Stam
During boot, a not found message is displayed for systems which do not have uci 'network.globals.ula_prefix' defined in /etc/config/network. The error message itself is not used and can be ignored. Signed-off-by: Michel Stam m.s...@fugro.nl ---

[OpenWrt-Devel] [PATCH] netifd: fix an error message during network shutdown

2014-10-02 Thread Michel Stam
When 'wifi down' is called by /etc/init.d/network, it is run from stop_service( ). This function is in turn invoked from stop( ). stop( ) messes up the order by first procd_kill-ing the network settings, then calling wifi to down the wifi networking interfaces. By redefining stop( ) instead, the

Re: [OpenWrt-Devel] Barrier Breaker 14.07 Final

2014-10-02 Thread Nishant Sharma
A big thank and many congratulations! Cheers, Nishant On 2 October 2014 18:29:08 GMT+05:30, Steven Barth cy...@openwrt.org wrote: The OpenWrt developers are proud to announce the final release of OpenWrt Barrier Breaker. ___ __ |

[OpenWrt-Devel] [PATCH] mac80211: remove error from detect script

2014-10-02 Thread Michel Stam
Signed-off-by: Michel Stam m.s...@fugro.nl --- package/kernel/mac80211/files/lib/wifi/mac80211.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/kernel/mac80211/files/lib/wifi/mac80211.sh b/package/kernel/mac80211/files/lib/wifi/mac80211.sh index a3b2199..2af4dc5

[OpenWrt-Devel] [PATCH] libiconv: do not replace untranslatable characters with * or ?

2014-10-02 Thread Michel Stam
From: Tjalling Hattink t.hatt...@fugro.nl Instead throw an -EILSEQ error. Signed-off-by: Tjalling Hattink t.hatt...@fugro.nl --- package/libs/libiconv/src/iconv.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package/libs/libiconv/src/iconv.c

[OpenWrt-Devel] [PATCH] include: make sure modules are modposted after initramfs image is built

2014-10-02 Thread Michel Stam
From: Tjalling Hattink t.hatt...@fugro.nl Otherwise the modpost steps for individual modules that are compiled manually (using make package/name_of_module/install) will give warning of missing symbols when that module depends other modules. This is caused by the Module.symvers file not

[OpenWrt-Devel] [PATCH] lldpd: update to version 0.7.10

2014-10-02 Thread Michel Stam
Allow discovery protocols to be disabled from menuconfig Signed-off-by: Michel Stam m.s...@fugro.nl --- package/network/services/lldpd/Config.in | 28 + package/network/services/lldpd/Makefile| 47 --

[OpenWrt-Devel] [PATCH] authsae: update to latest version

2014-10-02 Thread Michel Stam
Send a netlink call to leave the mesh when meshd exits Make hunting-and-pecking loop (more) resistant to side channel attack Signed-off-by: Michel Stam m.s...@fugro.nl --- package/network/services/authsae/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[OpenWrt-Devel] [PATCH] busybox: add option for tweaking arpping to udhcpd

2014-10-02 Thread Michel Stam
Some clients have a very short timeout for sending the DHCP DISCOVER, shorter than the arpping timeout of 2000 milliseconds that udhcpd uses by default. This patch allows tweaking the timeout, or disabling of arpping altogether, at the risk of handing out addresses which are already in use.

[OpenWrt-Devel] [PATCH 1/3] netifd: implement zeroconf

2014-10-02 Thread Michel Stam
The scripts were based on the netifd dhcp scripts, and should add zeroconf support to /etc/config/network Example: config interface 'lan' option ifname 'eth0' option auto '0' option proto 'zeroconf' Optionally, the desired IP address can be added by: option

[OpenWrt-Devel] [PATCH 3/3] busybox/netifd: make zcip log to syslog (always)

2014-10-02 Thread Michel Stam
zcip is not the most talkative beast at the best of times. It would be nice to see -something- in syslog when an IP address is acquired. Signed-off-by: Michel Stam m.s...@fugro.nl --- .../netifd/files/lib/netifd/proto/zeroconf.sh | 2 +- .../busybox/patches/460-zcip-always-syslog.patch |

[OpenWrt-Devel] [PATCH 2/3] busybox: allow own class B range to be used for zeroconf

2014-10-02 Thread Michel Stam
169.254 may be used by local networks. This patch allows specifying your own IP range. Signed-off-by: Michel Stam m.s...@fugro.nl --- .../busybox/patches/450-zcip-own-ip-range.patch| 110 + 1 file changed, 110 insertions(+) create mode 100644

[OpenWrt-Devel] Set which antenna to be used

2014-10-02 Thread Fernando Frediani
Hi all, I have just tested BB Final on a 1043ND-v1 to observe a possible issue I've seen a while ago. This device has 3 antennae but I want to use only one port (a Sector antenna) so I set the following on my /etc/config/wireless which means only the first antenna port (4 = 100 in binary).

Re: [OpenWrt-Devel] [PATCH ubox] Use different loglevels

2014-10-02 Thread Karl P
Just one minor inline, Cheers, Karl P On 10/02/2014 12:42 PM, Michel Stam wrote: Ubox logs various messages during OpenWRT boot which are not very interesting, such as the number of iterations made. This fix implements several loglevels for debug/info/error so that more useful messages are

Re: [OpenWrt-Devel] [RFC PATCH] packages: Smart Queue Management for AQM Packet Scheduling and Qos from CeroWrt

2014-10-02 Thread Sebastian Moeller
Hi Weedy, On Oct 2, 2014, at 05:46 , Alpha Sparc alphasp...@gmail.com wrote: How good is the throughput on CeroWrt compared to OpenWrt ? I assume you are talking about the pure routing performance with no firewall/NAT and traffic-shaping involved? I think they pretty much are equal

Re: [OpenWrt-Devel] [PATCH ubox] Use different loglevels

2014-10-02 Thread Stam, Michel [FINT]
Hey Karl, I agree that verbose in the macro would be an option, although by then you're re-implementing the syslog priorities in macros. Also, currently the verbose argument is only used in deps_available( ), which would mean implementing the verbose parameter throughout the kmodloader.c source.

[OpenWrt-Devel] [PATCH][RESEND] netifd: IPIP tunnel support

2014-10-02 Thread Hans Dedecker
Adds IPIP tunnel support to netifd. Following IPIP tunnel parameters can be configured : -peeraddr (IPv4 remote address) -ipaddr (IPv4 local address) -mtu (IPIP tunnel mtu) -ttl (time to live of encapsulting packets) -tos (type of service either inherit (outer header inherits the

[OpenWrt-Devel] [PATCH][RESEND] IPIP: IP in IP package support

2014-10-02 Thread Hans Dedecker
The package supports IP in IP by registering the ipip protocol handler Following options are configurable -peeraddr (IPv4 remote address) -ipaddr (IPv4 local address) -ttl (time to live of encapsulating packet) -tos (type of service of encapsulating packet either inherit (outer

Re: [OpenWrt-Devel] [PATCH] base-files: remove a 'not found' error message during system boot

2014-10-02 Thread Jo-Philipp Wich
Hi Michel, On 02.10.2014 15:24, Michel Stam wrote: During boot, a not found message is displayed for systems which do not have uci 'network.globals.ula_prefix' defined in /etc/config/network. The error message itself is not used and can be ignored. Signed-off-by: Michel Stam

Re: [OpenWrt-Devel] [PATCH ubox] Use different loglevels

2014-10-02 Thread Karl P
Just an idea when I saw that deps_available line. I've not looked at the code in any detail. Cheers, Karl P On 10/02/2014 02:24 PM, Stam, Michel [FINT] wrote: Hey Karl, I agree that verbose in the macro would be an option, although by then you're re-implementing the syslog priorities in

[OpenWrt-Devel] [PATCH 1/3] 6rd: Tos support

2014-10-02 Thread Hans Dedecker
Tos support is added as a string parameter which can have the following values : -inherit (outer header inherits the tos value of the inner header) -hex value Signed-off-by: Hans Dedecker dedec...@gmail.com --- package/network/ipv6/6rd/files/6rd.sh | 6 -- 1 file changed, 4

[OpenWrt-Devel] [PATCH 3/3] 6in4: Tos support

2014-10-02 Thread Hans Dedecker
Tos support is added as a string parameter which can have the following values : -inherit (outer header inherits the tos value of the inner header) -hex value Signed-off-by: Hans Dedecker dedec...@gmail.com --- package/network/ipv6/6in4/files/6in4.sh | 6 -- 1 file changed, 4

[OpenWrt-Devel] [PATCH 2/3] 6to4: Tos support

2014-10-02 Thread Hans Dedecker
Tos support is added as a string parameter which can have the following values : -inherit (outer header inherits the tos value of the inner header) -hex value Signed-off-by: Hans Dedecker dedec...@gmail.com --- package/network/ipv6/6to4/files/6to4.sh | 6 -- 1 file changed, 4

[OpenWrt-Devel] MTD mounting problem on ar71xx and kernel 3.14.x.

2014-10-02 Thread Paul Blazejowski
Hello all, A while back i have created a ticket (https://dev.openwrt.org/ticket/17609) detailing kernel 3.14.x failure to boot on ar71xx (wndr3700v4 router) platform. Today i have successfully used serial console attached to the router and got a boot log which shows a wrong checksum of kernel

Re: [OpenWrt-Devel] MTD mounting problem on ar71xx and kernel 3.14.x.

2014-10-02 Thread Paul Blazejowski
My bad, sorry i have pasted wrong file (like an imbecile) :D, here is the correct output: U-Boot 1.1.4 (Jun 21 2012 - 11:09:33) DNI HW ID: 29763948 flash 128MB RAM 128MB U-boot dni29 V1.8 DRAM: 128 MB Atheros on-chip NAND FLash Controller Driver, Version 0.1 (c) 2010 Atheros Communications,

Re: [OpenWrt-Devel] [PATCH 2/3] busybox: allow own class B range to be used for zeroconf

2014-10-02 Thread Felix Fietkau
On 2014-10-02 15:41, Michel Stam wrote: 169.254 may be used by local networks. This patch allows specifying your own IP range. Signed-off-by: Michel Stam m.s...@fugro.nl Could you please also submit this and the other patch to busybox upstream? Thanks, - Felix