Re: [LEDE-DEV] [PATCH] Mountd: Add sysupgrade functionality.

2016-07-06 Thread Olivier Hardouin
Though I like the idea of being able to upgrade using a usb stick, I wonder if mountd is the correct place to implement this. Indeed mountd is sending events via hotplug, so some other subsystems could listen to these ones and decide whether the upgrade should be based on some file of an attached u

[LEDE-DEV] Avoiding useless debugging and testing via URFC or RFD

2016-07-06 Thread Daniel Curran-Dickinson
Hi all, but especially Felix and John, I am rather frustrated with the fact that whole point of my URFC concept seems to have failed.  The point of URFC is not free debugging, it is to avoid things like the DEFAULT_/DEVICE_TYPE patch where I spend a ton of time debugging and testing, but a quick o

[LEDE-DEV] [PATCH, v2] ramips: Add support for the NixCore X1 Module

2016-07-06 Thread L. D. Pinney
The NixCore X1 is a Ralink/MediaTek rt5350 WiFi Module. http://nixcores.com/ Signed-off-by: L. D. Pinney Acked-by: Drew Gaylo --- V2 uses a combined .dtsi target/linux/ramips/base-files/etc/board.d/02_network | 1 + target/linux/ramips/base-files/lib/ramips.sh | 3 ++ target/

Re: [LEDE-DEV] Routing two interfaces on same subnet

2016-07-06 Thread Tobias Welz
Hum, now you want to toggle wifi - this is a totally different request. This can maybe done by hotplug events on the ethernet executing "wifi up" and "wifi down" You could also have a look if there is some package that might support something like that - i don't know if e.g. mwan3 package can do

Re: [LEDE-DEV] Routing two interfaces on same subnet

2016-07-06 Thread Tobias Welz
If both are in the same network it should be fine. If both are in different networks, then you cause trouble. Original Message Subject: Re: [LEDE-DEV] Routing two interfaces on same subnet From: Baptiste Clenet To: Tobias Welz Cc: lede-dev@lists.infradead.org Date: 6.7.2016 0

Re: [LEDE-DEV] git.lede-project.org currently down

2016-07-06 Thread Jo-Philipp Wich
Hi again, the server is back online now. ~ Jo ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev

[LEDE-DEV] git.lede-project.org currently down

2016-07-06 Thread Jo-Philipp Wich
Hi, the instance serving git.lede-project.org had to be shut down due to urgent updates on the host system and is currently unavailable. It should be back within the next 30 minutes. You can fetch the LEDE sources via Github at https://github.com/lede-project Sorry for the inconvenience! ~ Jo

[LEDE-DEV] [PATCH] base-files: sysupgrade. Added the ability to use URL as source

2016-07-06 Thread adron
From: Sergey Sergeev scp uls(like this scp://adron@192.168.88.6:lede/lede-ar71xx-mikrotik-NAND-512b-squashfs-sysupgrade.bin) is supported too. And you also can specify custom ssh port(...8.88.6:22110:lede...) Signed-off-by: Sergey Sergeev --- package/base-files/files/sbin/sysupgrade | 39 +

[LEDE-DEV] [PATCH] base-files: sysupgrade. Added the ability to use URL as source

2016-07-06 Thread adron
From: Sergey Sergeev scp uls(like this scp://adron@192.168.88.6:lede/lede-ar71xx-mikrotik-NAND-512b-squashfs-sysupgrade.bin) is supported too. And you also can specify custom ssh port(...8.88.6:22110:lede...) Signed-off-by: Sergey Sergeev --- package/base-files/files/sbin/sysupgrade | 39 +

[LEDE-DEV] [PATCH V2 procd] system: add reboot method to system ubus object

2016-07-06 Thread Rafał Miłecki
Sometimes, for various reasons, user may want to reboot a device. This is a common task and it makes sense to support it with something common like a procd. Right now both: LuCI and LuCI2 implement this feature on their own with luci-rpc-luci2-system reboot and luci-rpc-sys reboot. This leads to c

Re: [LEDE-DEV] [PATCH] Mountd: Add sysupgrade functionality.

2016-07-06 Thread Wang Linetkux
Another possible solution is to record the HASH of system image after system upgrade is done. Next time when we try to do the system upgrade, we can compare the recorded HASH value and the compute value from system upgrade file? 2016-07-06 18:18 GMT+08:00 Bruno Randolf : > On 06/07/16 06:58, John

Re: [LEDE-DEV] [PATCH] Mountd: Add sysupgrade functionality.

2016-07-06 Thread Bruno Randolf
On 06/07/16 06:58, John Crispin wrote: > Hi Philipp > > the thing that i am worried about is this process > > 1) plug a stick > 2) mountd detects the upgrade file > 3) mountd triggers sysupgrade > 4) system reboots > 5) goto 1) > > there is no way to know at what point between 3 and 4 we need to

Re: [LEDE-DEV] Routing two interfaces on same subnet

2016-07-06 Thread Baptiste Clenet
Thing is I don't want to relay traffic from ethernet to wifi STA, I want that if ethernet is connected, wifi is disabled and if ethernet is unplugged, wifi is enabled. 2016-07-06 9:05 GMT+02:00 Baptiste Clenet : > Ok Thanks Tobias, > I will try to implement it. > So if user plugged ethernet to the

Re: [LEDE-DEV] Clarification on recursive dependencies

2016-07-06 Thread Felix Fietkau
On 2016-07-06 07:27, Daniel Curran-Dickinson wrote: > Hi Felix, > > I'd like clarification on > > https://git.lede-project.org/?p=source.git;a=commitdiff;h=71753a8286dcb > 4dedbb6d4792b0fd5dd305c3338 > > for two reasons: with a patch picking a default SSL provider, the two > packages in commi

[LEDE-DEV] LEDE and locale issues

2016-07-06 Thread Daniel Curran-Dickinson
Hi all, I've noticed that LEDE default locale seems to be ANSI_X3.4-1968, however Ubuntu 16.04 does not let you set that locale (an error is thrown if LC_CTYPE is set to that string). For things where locale matters, how does one alter the locale for LEDE? Regards, Daniel _

Re: [LEDE-DEV] Routing two interfaces on same subnet

2016-07-06 Thread Baptiste Clenet
Ok Thanks Tobias, I will try to implement it. So if user plugged ethernet to the internet provider router and wifi is also connected, they will be no problem? 2016-07-06 2:16 GMT+02:00 Tobias Welz : > Bridging in client mode is not supported by most devices. > That's why you need a "pseudo bridge"