[OpenWrt-Devel] [PATCH] [package] gmp: add host compile

2014-08-16 Thread Luiz Angelo Daros de Luca
/host/lib/libgmpxx.a staging_dir/host/lib/libgmpxx.la Addind host compile in gmp, the dependent package can use: PKG_BUILD_DEPENDS:=gmp/host That will compile gmp to staging_dir/host with *.so files Signed-off-by: Luiz Angelo Daros de Luca luizl...@gmail.com --- package/libs/gmp/Makefile | 3

[OpenWrt-Devel] OpenWRT built on OpenSuSE (x86_64) fails

2014-08-28 Thread Luiz Angelo Daros de Luca
--target=$(REAL_GNU_TARGET_NAME) \ If I remove target, it does not change. Do you guys have any clue? Regards, --- Luiz Angelo Daros de Luca, Me. luizl...@gmail.com ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https

Re: [OpenWrt-Devel] OpenWRT built on OpenSuSE (x86_64) fails

2014-08-29 Thread Luiz Angelo Daros de Luca
but it will definitely fail for host compilation. As a workaround, just unset the CONFIG_SITE before make. Now, how to fix fix? It affects trunk and BB. Regards, --- Luiz Angelo Daros de Luca, Me. luizl...@gmail.com 2014-08-28 20:19 GMT-03:00 Luiz Angelo Daros de Luca luizl...@gmail.com

[OpenWrt-Devel] [PATCH] [generic] Add hotplug events for ntp updates

2012-11-13 Thread Luiz Angelo Daros de Luca
/init.d/myservice try-restart ;; esac PS: I first posted this patch in a trac issue (), but I guess this was the wrong place to go. Signed-off-by: Luiz Angelo Daros de Luca luizl...@gmail.com Index: package/base-files/files/usr/sbin/ntpd-hotplug

Re: [OpenWrt-Devel] milliseconds time measurements

2012-11-22 Thread Luiz Angelo Daros de Luca
: root@router:~# lua -lsocket -e 'print(Milliseconds: .. socket.gettime()*1000)' Milliseconds: 1353642672185.1 And maybe other solutions using other sources... Regards, --- Luiz Angelo Daros de Luca, Me. luizl...@gmail.com 2012/11/22 Gabriel gto...@inti.gob.ar: Hi, I'm using TP

Re: [OpenWrt-Devel] milliseconds time measurements

2012-11-23 Thread Luiz Angelo Daros de Luca
/proc/uptime is much simplier :-) --- Luiz Angelo Daros de Luca, Me. luizl...@gmail.com 2012/11/23 Bastian Bittorf bitt...@bluebottle.com: not possible to get more resolution than 1 second, at least with the date command. I'd like to know if there's a way to get a resolution

Re: [OpenWrt-Devel] [PATCH] [comgt] add support for defining dial number in config file

2014-03-29 Thread Luiz Angelo Daros de Luca
Do I need to improve anything to get commited? --- Luiz Angelo Daros de Luca, Me. luizl...@gmail.com 2014-03-17 18:13 GMT-03:00 luizl...@gmail.com: From: Luiz Angelo Daros de Luca luizl...@gmail.com Signed-off-by: Luiz Angelo Daros de Luca luizl...@gmail.com --- package

[OpenWrt-Devel] Ruby 1.9.x in trunk - fix for bug 9873

2014-03-29 Thread Luiz Angelo Daros de Luca
/compare/ruby-fix_network?expand=1 It also updates ruby to its latest 1.9.3. Regards, --- Luiz Angelo Daros de Luca, Me. luizl...@gmail.com ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin

Re: [OpenWrt-Devel] high load without reason

2014-04-24 Thread Luiz Angelo Daros de Luca
There is one process/thread that is in a block state but uses no CPU. I got similar behavior with a blocked syscall waiting for a SAN lun disk recover. Probably your process has a blocked syscall. Is there any kernel oops dmesg? Try to kill the remaining process. A blocked process will not die

Re: [OpenWrt-Devel] high load without reason

2014-04-24 Thread Luiz Angelo Daros de Luca
Second look. Check if khubd keeps state D (uninterruptible sleep). Maybe a USB device caused it. Em 24/04/2014 04:42, Luiz Angelo Daros de Luca luizl...@gmail.com escreveu: There is one process/thread that is in a block state but uses no CPU. I got similar behavior with a blocked syscall waiting

[OpenWrt-Devel] Missing subtargets of x86 in snapshot/trunk

2014-05-26 Thread Luiz Angelo Daros de Luca
Hello, I noticed that there is no subtarget in http://downloads.openwrt.org/snapshots/trunk/x86/ If resource is not a problem, it would be nice to have subtargets for testing. I'm specially interested in xen_domu. AA has all subtarget in repo Regards, --- Luiz Angelo Daros de Luca, Me

[OpenWrt-Devel] [PATCH] Fix xen domU kmod-xen-kbd package

2014-05-26 Thread Luiz Angelo Daros de Luca
is not available in the kernel config - generating empty package Besides renaming the CONFIG_xxx flag, the patch also fixes the module path and adds necessary dependencies in CONFIG_xxx and opkg Signed-off-by: Luiz Angelo Daros de Luca luizl...@gmail.com --- package/kernel/linux/modules/virtual.mk

Re: [OpenWrt-Devel] [PATCH] Fix xen domU kmod-xen-kbd package

2014-05-27 Thread Luiz Angelo Daros de Luca
/input1 Can anyone with commit access take a look? --- Luiz Angelo Daros de Luca, Me. luizl...@gmail.com 2014-05-26 22:20 GMT-03:00 Luiz Angelo Daros de Luca luizl...@gmail.com: Since kernel 2.6.39, XEN_KBDDEV_FRONTEND was renamed to INPUT_XEN_KBDDEV_FRONTEND. See: http

Re: [OpenWrt-Devel] [PATCH] Compile xen-pci-frontend as module

2014-05-27 Thread Luiz Angelo Daros de Luca
Tested on xen-4.2.3_02-0.7.1 xen-pcifront.ko is only used for PCI Passthrough and not necessary for normal network/block usage. Before this, this module was bulltin in kernel Can anyone with commit access take a look at this? --- Luiz Angelo Daros de Luca, Me. luizl

Re: [OpenWrt-Devel] How to bridge 2 Wifi subnet

2013-01-29 Thread Luiz Angelo Daros de Luca
routers - plug the routers to the wired network using the LAN interface and not WAN. - set IP address for both inside the wired ip range Regards, --- Luiz Angelo Daros de Luca, Me. luizl...@gmail.com 2013/1/29 Nguyễn Hồng Quân quanngu...@mbm.vn Hello, Here is the picture

[OpenWrt-Devel] [PATCH] [kernel] create packages for LP and HTCP TCP congestion algorithms

2013-04-08 Thread Luiz Angelo Daros de Luca
(as transmission allows with option peer-congestion-algorithm: lp). Signed-off-by: Luiz Angelo Daros de Luca luizl...@gmail.com Index: package/kernel/modules/netsupport.mk === --- package/kernel/modules/netsupport.mk(revisão 36276

[OpenWrt-Devel] Math operation gets wrong result on ar71xx for AA

2013-04-26 Thread Luiz Angelo Daros de Luca
with target/linux/ar71xx/patches-3.3/902-unaligned_access_hacks.patch? Thanks, --- Luiz Angelo Daros de Luca, Me. luizl...@gmail.com ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo

Re: [OpenWrt-Devel] Math operation gets wrong result on ar71xx for AA

2013-04-26 Thread Luiz Angelo Daros de Luca
it by parts. So, where is this problem from? Compiler? Kernel? I guess no one faced this problem before because it might be rare to someone have a logical partition over 2147483648 sectors (2^31), or a little over 1TB (1099 GB), in a arch for embebed systems. --- Luiz Angelo Daros de Luca, Me

Re: [OpenWrt-Devel] Math operation gets wrong result on ar71xx for AA

2013-04-27 Thread Luiz Angelo Daros de Luca
Hello, I checked sizeof(sector_t) and it is 8. The assembly code I get is similar to what Sergey posted. If it really is a compiler problem, which are the options? Would removing the inline help? --- Luiz Angelo Daros de Luca, Me. luizl...@gmail.com 2013/4/27 Sergey Vlasov v

Re: [OpenWrt-Devel] Math operation gets wrong result on ar71xx for AA

2013-04-27 Thread Luiz Angelo Daros de Luca
operand, the behavior is undefined. So, as left operand is 8bit, the right operant must not be over 8. Does a simple typecast solves it? return (u32)((u32)p[0] | (u32)p[1] 8 | (u32)p[2] 16 | (u32)p[3] 24); --- Luiz Angelo Daros de Luca, Me. luizl...@gmail.com 2013/4/27

Re: [OpenWrt-Devel] Math operation gets wrong result on ar71xx for AA

2013-04-28 Thread Luiz Angelo Daros de Luca
that this would only trigger a bug if used on 16 processor. I guess x86 has an cpu instruction (bswap?) and it is not affected at all. Regards, --- Luiz Angelo Daros de Luca, Me. luizl...@gmail.com 2013/4/28 Wojciech Kromer wojciech.kro...@dgt.com.pl So, as left operand is 8bit

Re: [OpenWrt-Devel] Math operation gets wrong result on ar71xx for AA

2013-04-28 Thread Luiz Angelo Daros de Luca
/aoecmd.c ./linux-3.3.8/drivers/block/aoe/aoenet.c ./linux-3.3.8/drivers/block/drbd/drbd_nl.c ./linux-3.3.8/drivers/block/osdblk.c ./linux-3.3.8/drivers/bluetooth/hci_bcsp.c ./linux-3.3.8/drivers/char/snsc_event.c Specially, the non arch part is important. --- Luiz Angelo Daros de Luca, Me

[OpenWrt-Devel] [PATCH] fix undefined behavior on get unaligned le

2013-04-28 Thread Luiz Angelo Daros de Luca
The function is only used for archs that does not implement the le/be conversion in hardware. Signed-off-by: Luiz Angelo Daros de Luca luizl...@gmail.com Index: target/linux/generic/patches-3.3/141-fix_undefined_behavior_on_get_unaligned_le.patch

Re: [OpenWrt-Devel] Math operation gets wrong result on ar71xx for AA

2013-04-30 Thread Luiz Angelo Daros de Luca
Thanks you all for the fix. --- Luiz Angelo Daros de Luca, Me. luizl...@gmail.com 2013/4/30 Jonas Gorski j...@openwrt.org On Mon, Apr 29, 2013 at 4:54 PM, Jonas Gorski j...@openwrt.org wrote: Still build testing, but as a addendum, vanilla 4.6.x is *not* affected, so

[OpenWrt-Devel] [PATCH] packages: ruby: Fix network problem and update to 1.9.3p429

2013-06-12 Thread Luiz Angelo Daros de Luca
This patch solves the bug https://dev.openwrt.org/ticket/9873 that prevents the use of socket (and gems) in ruby when crosscompiling. Also, it updates to latest 1.9.x version and remove unnecessary patches. Signed-off-by: Luiz Angelo Daros de Luca luizl...@gmail.com Index: feeds/packages/lang

Re: [OpenWrt-Devel] [PATCH] packages: curl: Allow fine grained protocol configuration

2013-07-02 Thread Luiz Angelo Daros de Luca
It looks like the default values matches the selected features in the previous ./configure command. --- Luiz Angelo Daros de Luca, Me. luizl...@gmail.com 2013/7/2 Jonas Gorski j...@openwrt.org On Wed, May 29, 2013 at 9:52 AM, Helmut Schaa helmut.sc...@googlemail.com wrote

Re: [OpenWrt-Devel] ruby - error: 'EC_GROUP_new_curve_GF2m' undeclared (first use in this function)

2013-07-29 Thread Luiz Angelo Daros de Luca
Hello Remzi, I posted a patch to update ruby to its last 1.9.x version. http://patchwork.openwrt.org/patch/3754/ However, it was not commited. The version of ruby you are using have problems with socket. --- Luiz Angelo Daros de Luca, Me. luizl...@gmail.com 2013/7/29 Remzi

Re: [OpenWrt-Devel] rationale behind pkg management/availability [was: binary package missing from 12.09 archive]

2013-08-29 Thread Luiz Angelo Daros de Luca
build a module that matches the opkg kernel version id (the md5 part). Even copying kernel config. Even using SDK package. --- Luiz Angelo Daros de Luca, Me. luizl...@gmail.com 2013/8/29 Paolo Pisati p.pis...@gmail.com Hi, what's the rationale behind some package (e.g

Re: [OpenWrt-Devel] [PATCH] packages: enable ip on busybox

2013-09-11 Thread Luiz Angelo Daros de Luca
and with standard ip the same way. Regards, --- Luiz Angelo Daros de Luca, Me. luizl...@gmail.com 2013/9/11 Bastian Bittorf bitt...@bluebottle.com * Patrick patr...@lunatiki.de [11.09.2013 07:57]: so we add ~80k to a standard built. i'am ok with this, because we also add

[OpenWrt-Devel] issue: usb1.x not detected in CC

2015-01-21 Thread Luiz Angelo Daros de Luca
Hello, I'm running OpenWRT in Virtualbox. I have no problem with BB. However, when testing trunk, I noticed that usb1.x functions simply does not work. For BB, in a clean install (+usbutils), I get:

Re: [OpenWrt-Devel] issue: usb1.x not detected in CC

2015-01-22 Thread Luiz Angelo Daros de Luca
USB_OHCI_HCD_PLATFORM instead. Regards, Em Thu Jan 22 2015 at 02:19:48, Luiz Angelo Daros de Luca luizl...@gmail.com escreveu: Hello, I'm running OpenWRT in Virtualbox. I have no problem with BB. However, when testing trunk, I noticed that usb1.x functions simply does not work. For BB

[OpenWrt-Devel] x86 failing to build (including buildbot)

2015-03-28 Thread Luiz Angelo Daros de Luca
Hello, Building for i386 target is failing with this error: ERROR: Missing site config for architecture i386 ! The missing file will cause configure scripts to fail during compilation. Please provide a openwrt/trunk/include/site/i386 file and restart the build. As shown in

[OpenWrt-Devel] [PATCH] kernel: add ip_vti tunnel module

2015-02-27 Thread Luiz Angelo Daros de Luca
IP VTI (Virtual Tunnel Interface) is used to create a virtual device for IPsec VPN (similar to OpenVPN). Signed-off-by: Luiz Angelo Daros de Luca luizl...@gmail.com --- package/kernel/linux/modules/netsupport.mk | 16 1 file changed, 16 insertions(+) diff --git a/package/kernel

Re: [OpenWrt-Devel] Designated Driver

2015-04-07 Thread Luiz Angelo Daros de Luca
+1 Em ter, 7 de abr de 2015 às 18:15, Daniel Petre daniel.pe...@gmail.com escreveu: +1 On 08/04/15 00:09, Bruno Randolf wrote: +1 On 04/07/2015 08:47 PM, Hartmut Knaack wrote: That Doodle poll turned out to be spamed/trolled, and everyone could even change or delete other votes.

Re: [OpenWrt-Devel] [PATCH 3/5] elfutils: import package from packages.git

2015-05-19 Thread Luiz Angelo Daros de Luca
: https://lists.openwrt.org/pipermail/openwrt-devel/2014-June/025810.html Kind regards, Jiri Slachta Dne 19.5.2015 v 03:43 Luiz Angelo Daros de Luca napsal(a): I'm curious, as current elfutils packager, how I should play in this import? Should this package be removed from package.git

[OpenWrt-Devel] [PATCH] elfutils: bump to 0.163

2015-06-21 Thread Luiz Angelo Daros de Luca
Bugfix only release. Signed-off-by: Luiz Angelo Daros de Luca luizl...@gmail.com --- package/libs/elfutils/Makefile | 4 +- .../patches/001-elfutils-portability.patch | 263 +++-- .../elfutils/patches/005-build_only_libs.patch | 2 +- package

Re: [OpenWrt-Devel] [PATCH 3/5] elfutils: import package from packages.git

2015-06-15 Thread Luiz Angelo Daros de Luca
Daros de Luca, Me. luizl...@gmail.com 2015-06-14 14:22 GMT-03:00 Felix Fietkau n...@openwrt.org: On 2015-05-19 03:43, Luiz Angelo Daros de Luca wrote: I'm curious, as current elfutils packager, how I should play in this import? Should this package be removed from package.git

Re: [OpenWrt-Devel] Chaos Calmer 15.05-rc2

2015-06-14 Thread Luiz Angelo Daros de Luca
it just fine. Cheers, --- Luiz Angelo Daros de Luca, Me. luizl...@gmail.com 2015-06-14 7:09 GMT-03:00 Daniel Golle dan...@makrotopia.org: On Sat, Jun 13, 2015 at 04:21:55PM +0200, Steven Barth wrote: ** Highlights since Barrier Breaker ** ... * Platform and Driver Support

Re: [OpenWrt-Devel] Chaos Calmer 15.05-rc2

2015-06-14 Thread Luiz Angelo Daros de Luca
Still not pretty, but it works much better. Thanks, --- Luiz Angelo Daros de Luca, Me. luizl...@gmail.com 2015-06-15 0:21 GMT-03:00 Gui Iribarren g...@altermundi.net: On 15/06/15 00:15, Luiz Angelo Daros de Luca wrote: Guys, I'm no svn-git mirror expert but is there any

[OpenWrt-Devel] TEXTREL in x86 with musl

2015-07-06 Thread Luiz Angelo Daros de Luca
Hello, SInce x86 started to compile with musl, elfutils package becomes broken. http://buildbot.openwrt.org:8010/broken_packages/x86/elfutils/compile.txt During linking, elfutils checks if there is TEXTREL in its .so files, and it fatally fails if so. I guess this is the only package that does

Re: [OpenWrt-Devel] [PATCH] perf: replace libelf1 select by a depend

2015-05-26 Thread Luiz Angelo Daros de Luca
Hi Mathieu, So the elfutils import from packages.git was rejected? Regards, Luiz Angelo, Em ter, 26 de mai de 2015 às 18:18, Mathieu Olivari math...@codeaurora.org escreveu: perf has libelf1 marked as a select, but this package is actually located in packages.git. As such, the dependency is

Re: [OpenWrt-Devel] package makefile help

2015-07-31 Thread Luiz Angelo Daros de Luca
The first command compiles all subpackages listed in radvd/Makefile. You never compile subpackages directly. Em sex, 31 de jul de 2015 às 08:39, Pratik Prajapati pratik.prajapat...@gmail.com escreveu: Hi, I we write makefile using this approach

Re: [OpenWrt-Devel] Syntax error in radvd.conf

2015-07-24 Thread Luiz Angelo Daros de Luca
This is a question for openwrt-users. Anyway, interface is the logical openwrt interface (lan, wan), not Linux devices. http://wiki.openwrt.org/doc/uci/radvd Regards, Em sex, 24 de jul de 2015 09:36, Pratik Prajapati pratik.prajapat...@gmail.com escreveu: Hi, I want to run radvd on OpenWrt

Re: [OpenWrt-Devel] Git mirror with branches, tags and full history

2015-11-09 Thread Luiz Angelo Daros de Luca
> Same here - this is really appreciated. > > BR, > > -- Emmanuel Deloget > ___ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt

Re: [OpenWrt-Devel] [PATCH] mac80211: Add dependency on ip (iproute2) to cfg80211

2015-11-17 Thread Luiz Angelo Daros de Luca
p package at the same time. Just > curious. > ___ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel > -- Luiz Angelo Daros de Luca _

[OpenWrt-Devel] [PATCH] elfutils: bump to 0.164

2015-11-10 Thread Luiz Angelo Daros de Luca
Patches are refreshed except for elfutils-portability, which is gone: https://lists.fedorahosted.org/pipermail/elfutils-devel/2015-October/005290.html Signed-off-by: Luiz Angelo Daros de Luca <luizl...@gmail.com> --- package/libs/elfutils/Makefile |4 +- .../patch

Re: [OpenWrt-Devel] [PATCH] x86/xen_domu: enable image generation

2015-07-08 Thread Luiz Angelo Daros de Luca
This was already accepted in trunk. Is there any chance to backport to cc? Em seg, 15 de jun de 2015 04:10, Luiz Angelo Daros de Luca luizl...@gmail.com escreveu: Add features ext4 targz to target x86/xen_domu in order to generate images in defconfig. This fixes #18074. Signed-off

Re: [OpenWrt-Devel] [PATCH v4] base-files: add /etc/profile.d support

2015-09-04 Thread Luiz Angelo Daros de Luca
Normally I like to use find instead of glob With minpath, maxpath, name and etc, you get safe empty result when dir is empty. Regards, Em sex, 4 de set de 2015 10:10, Bastian Bittorf escreveu: > * Karl Palsson [04.09.2015 15:02]: > > So let's -d

Re: [OpenWrt-Devel] Renaming trunk to Dxx Dxx ? Or seperate name for Trunk?

2015-09-10 Thread Luiz Angelo Daros de Luca
IMHO, I would avoid "normal releases" rule as, at some time in future, OpenWRT might hopefully hit T..T.. name. Trunk, unstable or anything like this might be better. Regards, Em qui, 10 de set de 2015 às 17:58, escreveu: > How about Trusty Trunk.. no cocktail though.. so

Re: [OpenWrt-Devel] OpenWRT www version banner a security risk

2015-09-13 Thread Luiz Angelo Daros de Luca
While openwrt doesn't offer security release, hiding version in banner is not very effective. If the attacker can detect it is OpenWRT and if there is a known security issue for any major version, it is enough to try an attack. Robot.txt is effective as Google is a common tool to look for

Re: [OpenWrt-Devel] Need help with Makefile error *** missing separator

2016-01-04 Thread Luiz Angelo Daros de Luca
__ > >>openwrt-devel mailing list > >>openwrt-devel@lists.openwrt.org > >>https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel > >_______ > >openwrt-devel maili

Re: [OpenWrt-Devel] Atomic/failsafe upgrades?

2016-01-07 Thread Luiz Angelo Daros de Luca
gt; >> -- >> Eric Schultz, Community Manager, prpl Foundation >> http://www.prplfoundation.org >> eschu...@prplfoundation.org >> cell: 920-539-0404 >> skype: ericschultzwi >> @EricPrpl >> >> ___ >> openw

Re: [OpenWrt-Devel] [PATCH] procd: hotplug.json: allow passing hotplug events from all subsystems

2015-11-28 Thread Luiz Angelo Daros de Luca
[ "and", > > [ "eq", "SUBSYSTEM", "usb-serial" ], > > [ "regex", "DEVNAME", > > [ "^ttyUSB", "^ttyACM" ] > >

Re: [OpenWrt-Devel] [PATCH][RFC] x86: Save and restore partition table during upgrade

2016-01-16 Thread Luiz Angelo Daros de Luca
+ > + echo "Restoring partition table..." > + sfdisk $disk --force < /tmp/sfdisk.before >&/dev/null > + fi > +} > + > platform_do_upgrade() { > platform_export_bootpart > > if [ -b "${BOOTPART%[0-9]}" ]

Re: [OpenWrt-Devel] RFC: dropping oprofile

2016-01-21 Thread Luiz Angelo Daros de Luca
> to compile again. > > > > " > > elfutils: bump to 0.165 > > > > Signed-off-by: Luiz Angelo Daros de Luca <luizl...@gmail.com> > > git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48393 > > 3c298f89-4303-0410-b956-a3cf2f4a3e73" > Fi

[OpenWrt-Devel] [PATCH] elfutils: bump to 0.165

2016-01-19 Thread Luiz Angelo Daros de Luca
Signed-off-by: Luiz Angelo Daros de Luca <luizl...@gmail.com> --- package/libs/elfutils/Makefile | 8 package/libs/elfutils/patches/003-libint-stub.patch | 2 +- package/libs/elfutils/patches/005-build_only_libs.patch | 4 ++-- package/libs/elfutils/p

[OpenWrt-Devel] cannot boot current x86 snapshot

2016-03-24 Thread Luiz Angelo Daros de Luca
and not PARTUUID=-02. I'm able to boot if I manually replace PARTUUID=-02 by /dev/sda2. Regards, -- Luiz Angelo Daros de Luca luizl...@gmail.com ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman

[OpenWrt-Devel] [PATCH] prereq: fixes checks that prefix env vars (ex:git)

2016-03-05 Thread Luiz Angelo Daros de Luca
If a prereq-build command check defines a command env var (ex: MANPAGER=cat git ...) prereq SetupHostCommand breaks. This is because it looks for the binary using which on the first space-separated item (which might be the env var definition) This patch replaces bash substitution by a sed regex

Re: [OpenWrt-Devel] [RFC] fstools/overlayfs race condition

2016-03-07 Thread Luiz Angelo Daros de Luca
this and see if we can find a better way > > John > _______________ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel > -- Luiz Angelo Daros de Luca luizl...@g

Re: [OpenWrt-Devel] opkg upgrade all

2016-03-29 Thread Luiz Angelo Daros de Luca
es/ > ___ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel > -- Luiz Angelo Daros de Luca luizl...@gmail.com ___

Re: [OpenWrt-Devel] opkg upgrade all

2016-03-29 Thread Luiz Angelo Daros de Luca
an upgrade and not a reflash. If you and the packages are doing the backup correctly, you just need to reinstall all extra packages after the new system is installed. Regards, Em qua, 30 de mar de 2016 02:30, Michal Hrusecky <michal.hruse...@nic.cz> escreveu: > Luiz Angelo Daros de Luc

Re: [OpenWrt-Devel] upstream opkg

2016-04-25 Thread Luiz Angelo Daros de Luca
an openwrt customized pkg_extract.c than to maintain an full opkg fork (with known issues). deb and rpm are already possible busybox applet. Maybe opkg could also become one (and share some code with tar/gzip). Regards, -- Luiz Angelo Daros de Luca luizl...@gmail.com

Re: [OpenWrt-Devel] IEEE 802.11s

2016-04-21 Thread Luiz Angelo Daros de Luca
enwrt-devel@lists.openwrt.org > https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel > -- Luiz Angelo Daros de Luca luizl...@gmail.com ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] Introducing the LEDE project

2016-05-05 Thread Luiz Angelo Daros de Luca
someone's project. However, there is no need to anyone to leave but a need of power transferring. The ones with current decision power at OpenWRT will either give away some of its power or they will lose it all (in favor of a rebooted OpenWRT leaded by LEAD or because it simply becam

Re: [OpenWrt-Devel] Introducing the LEDE project

2016-05-04 Thread Luiz Angelo Daros de Luca
enwrt.org > > https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel > ___ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel > -- Luiz Angelo Daros de Luca luizl...@gmail.com ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] WiFi client mode leaves router inaccessible if upstream network goes down

2017-02-03 Thread Luiz Angelo Daros de Luca
anks! > - Nick > ___________ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel > -- Luiz Angelo Daros de Luca luizl...@gmail.com ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [LEDE-DEV] 18.06 Status?

2018-05-05 Thread Luiz Angelo Daros de Luca
hes on github (77) or patchwork (44) is from developers without commit access. They are potential future developers that will keep the project alive. I'm not specific talking about my patches but it would be kind to encourage new devs to have their work considered, even to say "NAK".

Re: [OpenWrt-Devel] [PATCH v3 0/4] base-files: add new backup options

2018-08-20 Thread Luiz Angelo Daros de Luca
a user asked for it, it only saves a list of installed packages to help reinstalling them. Regards, --- Luiz Angelo Daros de Luca luizl...@gmail.com ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] Use DHCP by default on single port devices

2018-08-27 Thread Luiz Angelo Daros de Luca
r + static IP address" still works with enterprise but "DHCP Client", even with an alternative static IP address, might not work for some home users. For enterprise users, maybe it's time to customize their own firmware. Some simple uci-defaults script can do that job nicely. R

Re: [OpenWrt-Devel] [RFD] sysupgrade and configuration management

2018-08-27 Thread Luiz Angelo Daros de Luca
Hi Paul, > Very nice, but having read the mail thread around Luiz' his patch, I want to > ask for a discussion, but outside of that patch. > > AFAICT from the discussion it follows that sysupgrade, opkg and UCI should be > kept (as much as possible) orthogonal. From the thread: opkg cannot

[OpenWrt-Devel] netifd: need help to fix FS#1463 - route with gateway absent or 0.0.0.0

2018-09-06 Thread Luiz Angelo Daros de Luca
etifd/commit/7ab84972bda51d34295d1938e07ed7efc3b2215d Regards, --- Luiz Angelo Daros de Luca luizl...@gmail.com ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] [PATCH v2 3/4] base-files: add sysupgrade -o to save all overlay files

2018-04-04 Thread Luiz Angelo Daros de Luca
-by: Luiz Angelo Daros de Luca <luizl...@gmail.com> --- package/base-files/files/sbin/sysupgrade | 46 +--- 1 file changed, 43 insertions(+), 3 deletions(-) diff --git a/package/base-files/files/sbin/sysupgrade b/package/base-files/files/sbin/sysupgrade

[OpenWrt-Devel] [PATCH v2 0/4] [RFC] base-files: add new backup options

2018-04-04 Thread Luiz Angelo Daros de Luca
My previous patch on Nov2017 (http://lists.infradead.org/pipermail/lede-dev/2017-November/009892.html) generated some discussion because it depends on the presence of /rom to become effetive. So I opted to turn it into a new sysupgrade option (-u). Besides that, I added some more stuff to

[OpenWrt-Devel] [PATCH v2 1/4] base-files: minor cleanups on sysupgrade

2018-04-04 Thread Luiz Angelo Daros de Luca
Renamed add_uci_conffiles to add_conffiles as it includes any conffiles listed, not only UCI ones. Make do_save_conffiles arg mandatory Allow other options after -l (like -c) Signed-off-by: Luiz Angelo Daros de Luca <luizl...@gmail.com> --- package/base-files/files/sbin/sysupgrad

[OpenWrt-Devel] [PATCH v2 2/4] base-files: add sysupgrade -u to skip unchanged files

2018-04-04 Thread Luiz Angelo Daros de Luca
With '-u', for a file /aaa/bbb/ccc enlisted for backup, it will only get into backup if /rom/aaa/bbb/ccc does not exist or /aaa/bbb/ccc is different from /rom/aaa/bbb/ccc. It also works with '-c', but only effective for files touched but not modified. Signed-off-by: Luiz Angelo Daros de Luca

[OpenWrt-Devel] [PATCH v2 4/4] base-files: add sysupgrade -k to save list of pkgs

2018-04-04 Thread Luiz Angelo Daros de Luca
# rm etc/sysupgrade.installed Signed-off-by: Luiz Angelo Daros de Luca <luizl...@gmail.com> --- package/base-files/files/sbin/sysupgrade | 30 ++ 1 file changed, 30 insertions(+) diff --git a/package/base-files/files/sbin/sysupgrade b/package/base-files/files

Re: [OpenWrt-Devel] [LEDE-DEV] [PATCH v2 2/4] base-files: add sysupgrade -u to skip unchanged files

2018-04-08 Thread Luiz Angelo Daros de Luca
up archive using -f). Flashing depends on external files (/lib/upgrade) whose changes might also depend on a sysupgrade change. Regards, --- Luiz Angelo Daros de Luca luizl...@gmail.com ___ openwrt-devel mailing list openwrt-devel@list

Re: [OpenWrt-Devel] Is printf considered to be guaranteed?

2018-10-19 Thread Luiz Angelo Daros de Luca
Regards, -- Luiz Angelo Daros de Luca luizl...@gmail.com ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] OpenWrt Roadmap

2018-11-12 Thread Luiz Angelo Daros de Luca
Hello, There are a significant amount of devices out there that has 4/32 specs. Even brand new ones. If there is stability issues with newer OpenWrt versions on those devices, we should rethink LEDE EOL. Maintenance burden is directly related to the amount of software to maintain. At the same

[OpenWrt-Devel] Download link not working for 18.06.5 and 19.07.0rc1

2019-11-12 Thread Luiz Angelo Daros de Luca
ws the user to wrongly install snapshot versions. Regards, --- Luiz Angelo Daros de Luca luizl...@gmail.com ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] OpenWrt 19.07 status

2019-12-21 Thread Luiz Angelo Daros de Luca
Hello, 19.07 page has a Roadmap without dates: https://openwrt.org/releases/19.07/start#roadmap It should have some real info with dates, something to make clear that it does not have a real schedule ("It's ready when it is ready") or simply get removed. Regards, --- Luiz Angel

[OpenWrt-Devel] ethernet broken on ath79/tl-wr2543nd since upgrade to kernel 5.4

2020-03-04 Thread Luiz Angelo Daros de Luca
-0:00 [uid=, driv] [3.227646] eth0: Atheros AG71xx at 0xb900, irq 4, mode: rgmii I'm using serial interface and I'm testing using initram. Wireless and swconfig seems to be OK. However, I get not eth0. Does anyone have a clue where it is broken? Regards, --- Luiz Angelo Daros

Re: [OpenWrt-Devel] RFC: versions.json

2020-03-02 Thread Luiz Angelo Daros de Luca
Hello, Thinking on which info the client side would need, I would remove the minors info if we can just skip to latest. And, It's missing a changelog link. Also, each release can have its own info.json with more info. How would it deal with devices that cannot be upgrades (like the past case of

[OpenWrt-Devel] Random data on rootfs_data for tp-wr2543nd-v1 only with ath79

2020-01-30 Thread Luiz Angelo Daros de Luca
y sequence of printable chars. There are plenty of longs in the bug report. Has someone faced something similar? Regards, --- Luiz Angelo Daros de Luca luizl...@gmail.com ___ openwrt-devel mailing list openwrt-devel@lists.openwrt

Re: [OpenWrt-Devel] Random data on rootfs_data for tp-wr2543nd-v1 only with ath79

2020-02-06 Thread Luiz Angelo Daros de Luca
any clue of what could have caused this? Regards, --- Luiz Angelo Daros de Luca luizl...@gmail.com Em sex., 31 de jan. de 2020 às 03:53, Luiz Angelo Daros de Luca < luizl...@gmail.com> escreveu: > Hello, > > I'm trying to debug > https://bugs.openwrt.org/index

Re: [OpenWrt-Devel] Random data on rootfs_data for tp-wr2543nd-v1 only with ath79

2020-02-07 Thread Luiz Angelo Daros de Luca
ead" does not fix the issue as well. Regards, --- Luiz Angelo Daros de Luca luizl...@gmail.com Em qui., 6 de fev. de 2020 às 23:57, Chuanhong Guo escreveu: > Hi! > > On Fri, Feb 7, 2020 at 6:44 AM Luiz Angelo Daros de Luca > wrote: > > > > Hello, > >

Re: [OpenWrt-Devel] Random data on rootfs_data for tp-wr2543nd-v1 only with ath79

2020-02-11 Thread Luiz Angelo Daros de Luca
> There's no need for this. If it's implemented we could simply > use it on all chips and gain the increased flash reading speed. > Ok. I'm using it during my tests, but I could remove it in the final version. > On memory-mapped flash reading, spi controller issues 0x0b > fast-read instruction.

[OpenWrt-Devel] Rebuild kernel modules from changed packages for each stable dot release

2020-02-12 Thread Luiz Angelo Daros de Luca
package dir and it built nicely. Once a package kernel module is changed on a stable branch, can we rebuild it with each previous dot releases SDK for each target and subtarget? And, finally, add the new kmod*.ipk to the respective //kmods//? Regards, --- Luiz Angelo Daros de Luca

[OpenWrt-Devel] ToH dump missing HW version

2020-01-10 Thread Luiz Angelo Daros de Luca
clude them. Can someone add it? Regards, --- Luiz Angelo Daros de Luca luizl...@gmail.com ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] openwrt-18.06 broken since kernel bump 4.14 to 4.14.169

2020-04-14 Thread Luiz Angelo Daros de Luca
) but only openwrt-19.07 got a fix (d91b52b1a2edd3645c88b29deb1091ae5f82fda8) Regards, --- Luiz Angelo Daros de Luca luizl...@gmail.com ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo

Re: [OpenWrt-Devel] [PATCH 19.07] libpcap: Update shared-lib patch from Debian to fix linking problems

2020-04-24 Thread Luiz Angelo Daros de Luca
--- Luiz Angelo Daros de Luca luizl...@gmail.com --- Luiz Angelo Daros de Luca luizl...@gmail.com Em sex., 20 de mar. de 2020 às 15:07, Hauke Mehrtens escreveu: > > This updates the shared-lib patch to the recent version from debian > found here: >

Re: [OpenWrt-Devel] Signing, meta-data, etc. on images and losetup mounts...

2020-04-29 Thread Luiz Angelo Daros de Luca
> > > > Thanks. Where is the beginning of the whole disk image (and end) if I > want to “dd” it onto an SSD or SD? > Meta is at the end. Gunzip will give you a warning and ignored it when expanded. First byte of the expanded image is the disk sector 0. It is a normal disk image with partitions.

Re: [RFC PATCH v2 0/1] Introduce UCI support for configuring DSA VLAN filter rules

2020-07-14 Thread Luiz Angelo Daros de Luca
et the system decide the best way to implement the proposed setup. Regards, --- Luiz Angelo Daros de Luca luizl...@gmail.com ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [RFC PATCH v2 0/1] Introduce UCI support for configuring DSA VLAN filter rules

2020-07-14 Thread Luiz Angelo Daros de Luca
network config that automagically translates > into different things on different boards makes debugging potential issues > very hard. The uci network config is too low level for that imho. You are right. It would not be nice to have too much implicit conf

Re: Restoring (old) config backups and

2020-07-20 Thread Luiz Angelo Daros de Luca
r-reboot). It would be better if all migration could occur immediately after the restore. However, there are two moments when a restore happens: when the user asks for it and during a sysupgrade that keeps existing configuration or provides a backup file. Regards, --- Luiz A

Re: [RFC PATCH v2 0/1] Introduce UCI support for configuring DSA VLAN filter rules

2020-07-23 Thread Luiz Angelo Daros de Luca
ace lan6 option device @lan #the value for lan.device option proto static config interface wan # option device wifinet_wan option proto dhcp --- Luiz Angelo Daros de Luca ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: 20.xx: postponse LuCI HTTPS per default

2020-11-20 Thread Luiz Angelo Daros de Luca
tificate] [Generate a new certificate request] / [Import the signed certificate] # if a CSR was generated [Generate a new Let's Encrypt certificate] # it would be a nice add-on [Remove current certificate and disable encryption] The next luci request will redirect the browser to https:// My

Re: [PATCH] base-files: sysupgrade: store status of system-services

2021-01-10 Thread Luiz Angelo Daros de Luca
> When saving the list of installed pkgs, also store the status of the > system services. The list is created in the etc/backup folder also > and formated as: > > /etc/init.d/ {enable|disable} > > This way it can be sourced after sysupgrade, to restore the previous > state. I also liked the idea.

tcpdump missing packets with different filters for different interfaces

2021-02-02 Thread Luiz Angelo Daros de Luca
reader (wireshark) do it afterwards. But that workaround is not an option while capturing through the same interface you need to capture traffic on. Is this really expected? Maybe a weird mips bug? Or a bad side effect from some openwrt size optimization? Regards, --- Luiz Angelo Daros de

Usability issues for DSA upgrade

2021-06-28 Thread Luiz Angelo Daros de Luca
t retaining the current configuration" as Luci (nor sysupgrade) does not mention wipe but "Keep settings and retain the current configuration" (which, by the way, seems to be two redundant sentences). Regards, --- Luiz Angelo Daros de Luca luizl...@gmai

  1   2   >