Re: [OpenWrt-Devel] synchronous network reload/restart

2015-03-31 Thread Bruno Randolf
Hi, It seems netifd itself and batman-adv also has a similar problem. See the lines below: ./batadv.sh: eval: line 1: can't create /sys/class/net/mesh0/batman_adv/mesh_iface: nonexistent directory Tue Mar 31 09:38:01 2015 daemon.notice netifd: radio0 (6033): ifconfig: SIOCSIFHWADDR: Invalid

Re: [OpenWrt-Devel] synchronous network reload/restart

2015-03-30 Thread Zefir Kurtisi
On 03/26/2015 06:54 PM, Jo-Philipp Wich wrote: Hi. Is there any way to synchronously (blocking) reload or restart the network configuration? ubus call network reload (or restart) returns immediately, and the re-configuration happens asynchronously in the background. I'd like the command

Re: [OpenWrt-Devel] synchronous network reload/restart

2015-03-30 Thread Bruno Randolf
On 03/30/2015 11:26 AM, Zefir Kurtisi wrote: On 03/26/2015 06:54 PM, Jo-Philipp Wich wrote: Hi. Is there any way to synchronously (blocking) reload or restart the network configuration? ubus call network reload (or restart) returns immediately, and the re-configuration happens

Re: [OpenWrt-Devel] synchronous network reload/restart

2015-03-26 Thread Jo-Philipp Wich
Hi. Is there any way to synchronously (blocking) reload or restart the network configuration? ubus call network reload (or restart) returns immediately, and the re-configuration happens asynchronously in the background. I'd like the command to block or otherwise wait until the

[OpenWrt-Devel] synchronous network reload/restart

2015-03-26 Thread Bruno Randolf
Hello, Is there any way to synchronously (blocking) reload or restart the network configuration? ubus call network reload (or restart) returns immediately, and the re-configuration happens asynchronously in the background. I'd like the command to block or otherwise wait until the reconfiguration