Re: [OpenWrt-Devel] Linksys WRT1900ACS router is not booting after flashing custom build

2016-04-29 Thread Vincent Wiemann
Hi Avijit, > Also I have added myself in this mailing group couple of days back. Not > sure if this is the right forum to ask this question. If nor please > direct me to right forum. this is the OpenWrt developer mailing list. You should better use the forum: https://forum.openwrt.org/ Greetz,

[OpenWrt-Devel] Linksys WRT1900ACS router is not booting after flashing custom build

2016-04-29 Thread Avijit Das
Hello, I am trying to flash custom image in my router (Linksys WRT1900ACS). I have followed the step mentioned in the bellow link: https://davidsimpson.me/2015/11/14/installing-openwrt-on-a-linksys-wrt1900acs/ I end up bricking my device. Can you please suggest me how to recover my device?

[OpenWrt-Devel] [PATCH v2] ubox: make system log support as a separate package

2016-04-29 Thread Andrej Vlasic
Currently system log is always included as a part of ubox. Add logd as a seperate package and add it to default packages list. Signed-off-by: Andrej Vlasic --- Changes in v2: Move system log into seperate package, and add it to default packages list include/target.mk

[OpenWrt-Devel] [PATCH 1/2] ubus: lua: return string errors, not just codes

2016-04-29 Thread Karl Palsson
From: Karl Palsson Return an extra string to lua clients, not just the code. Signed-off-by: Karl Palsson --- Makes it much more pleasant when working with ubus via lua, rather than simply getting the integer return code. example code also updated to

[OpenWrt-Devel] [PATCH 2/2] ubus: lua: use built in pkg-config support for alternatives

2016-04-29 Thread Karl Palsson
From: Karl Palsson Different distributions have different names for the lua 5.1 package. Use cmake's built in pkg-config support to search for the first one, rather than running it explicitly and searching for a single version. Signed-off-by: Karl Palsson

Re: [OpenWrt-Devel] [PATCH v2 1/3] mount_root: implement overlay= boot option

2016-04-29 Thread Josua Mayer
Am 29.04.2016 um 07:47 schrieb Rafał Miłecki: > On 28 April 2016 at 20:20, wrote: >> @@ -33,6 +33,35 @@ start(int argc, char *argv[1]) if >> (!getenv("PREINIT")) return -1; >> >> + /* +* Check cmdline for a hint about overlay >> device +*/ +

[OpenWrt-Devel] [PATCH] load running state after lock is acquired

2016-04-29 Thread Alin Nastac
When running "/etc/init.d/firewall reload & fw3 -q restart", the fw3 instance that handle the reload might try to read the running state after firewall was stopped by the fw3 instance that does the restarting. Since a NULL run_state will transform reload operation in start operation, the resulted

Re: [OpenWrt-Devel] [PATCHv10] ramips: Add support for SamKnows Whitebox 8

2016-04-29 Thread Andrew Yong
Noted. Would I need to re-send the same v10? On 29 Apr 2016 20:30, "Piotr Dymacz" wrote: > Hello Andrew, > > Just two comments. > > Your patch changelog should go below "---" after the Signed-off-by > line, so that it won't get included in commit message. > It's common to

Re: [OpenWrt-Devel] [PATCH v2 2/3] ext4_part_match: fix bug that prevented matching names

2016-04-29 Thread Ram Chandra Jangir
Thanks Josua Mayer. Devname and partname both are different. Devname is holding the device node(ex. mmcblkXpY) and given name(or partname) is the partition name(ex. rootfs or rootfs_data). For below uevent sysfs entries, it tries to populate the device node(mmcblkXpY) in devname variable

[OpenWrt-Devel] [PATCH v2] dropbear: Make utmp and putuline support configurable via a seperate config option

2016-04-29 Thread Hans Dedecker
Utmp support tracks who is currenlty logged in via /var/run/utmp supported by buysbox Putuline support will use the utmp structure to write to the utmp file Signed-off-by: Hans Dedecker --- v2 : Readd disable-utmpx support package/network/services/dropbear/Config.in | 15

Re: [OpenWrt-Devel] [PATCHv10] ramips: Add support for SamKnows Whitebox 8

2016-04-29 Thread Piotr Dymacz
Hello Andrew, Just two comments. Your patch changelog should go below "---" after the Signed-off-by line, so that it won't get included in commit message. It's common to include just a small description about the hardware the patch adds support for, examples: [1], [2], [3]. Cheers, Piotr [1]

[OpenWrt-Devel] netifd hotplug event race condition for monitor interfaces

2016-04-29 Thread Bruno Randolf
Hello, I have a system where I want to reload a service when a monitor interface appears. The monitor interface is configured in /etc/config/wireless as: config wifi-iface 'monitor' option device 'radio0' option ifname 'moni0' option mode 'monitor' Unfortunately netifd

[OpenWrt-Devel] [PATCHv10] ramips: Add support for SamKnows Whitebox 8

2016-04-29 Thread Andrew Yong
PATCHv1: This patch adds support for the SamKnows version 8.0 Whitebox, built around the MT7621 platform. 2.4GHz appears to be working, albeit poorly; 5GHz not working yet. PATCHv2: - Fixed LED name in DTS. PATCHv3: DTS: Syntax error fixed, LEDs and buttons mapped correctly now - diag.sh

Re: [OpenWrt-Devel] [PATCH 2/6] dropbear: Make utmp and putuline support configurable via seperate config options

2016-04-29 Thread Hans Dedecker
On Fri, Apr 29, 2016 at 1:24 PM, John Crispin wrote: > Hi, > > comment inline > > On 27/04/2016 11:13, Hans Dedecker wrote: > > Utmp support tracks who is currenlty logged in by logging info to the > file /var/run/utmp (supported by busybox) > > Putuline support will use the

Re: [OpenWrt-Devel] [PATCHv9] ramips: Add support for SamKnows Whitebox 8

2016-04-29 Thread Andrew Yong
Will do. Awesome. On 29 Apr 2016 19:30, "John Crispin" wrote: > Hi, > > please drop the mt76 part from the patch it is already merged in the > mt76 tree on github and will hit trunk soon. > > also patch does not apply as shown below. > > John > > ../patchwork 615343 >

Re: [OpenWrt-Devel] [PATCHv9] ramips: Add support for SamKnows Whitebox 8

2016-04-29 Thread John Crispin
Hi, please drop the mt76 part from the patch it is already merged in the mt76 tree on github and will hit trunk soon. also patch does not apply as shown below. John ../patchwork 615343 --2016-04-28 09:07:34-- http://patchwork.ozlabs.org/patch/615343/mbox/ Resolving

Re: [OpenWrt-Devel] [PATCH 2/6] dropbear: Make utmp and putuline support configurable via seperate config options

2016-04-29 Thread John Crispin
Hi, comment inline On 27/04/2016 11:13, Hans Dedecker wrote: > Utmp support tracks who is currenlty logged in by logging info to the file > /var/run/utmp (supported by busybox) > Putuline support will use the utmp structure to write to the utmp file > > Signed-off-by: Hans Dedecker