Re: [LEDE-DEV] [PATCH netifd] interface: add new "ifup-failed" hotplug event

2017-05-07 Thread Martin Schiller
On 2017-05-06 14:47, Jo-Philipp Wich wrote: Hi, Are there any comments about this patch? can't you achieve the same by simply watching ifdown events and checking ifstatus/devstatus indicators? No, unfortunately not. An ifdown event is only generated when the interface has already been

Re: [LEDE-DEV] [PATCH netifd] interface: add new "ifup-failed" hotplug event

2017-05-06 Thread Jo-Philipp Wich
Hi, > Are there any comments about this patch? can't you achieve the same by simply watching ifdown events and checking ifstatus/devstatus indicators? ~ Jo ___ Lede-dev mailing list Lede-dev@lists.infradead.org

Re: [LEDE-DEV] [PATCH netifd] interface: add new "ifup-failed" hotplug event

2017-05-05 Thread Martin Schiller
Are there any comments about this patch? I still want to get this feature into netifd. On 2017-03-31 08:31, Martin Schiller wrote: This hook makes it possible to do some helper work in hotplug scripts when a connection is not established successfully. example: try several username/passwords

[LEDE-DEV] [PATCH netifd] interface: add new "ifup-failed" hotplug event

2017-03-31 Thread Martin Schiller
This hook makes it possible to do some helper work in hotplug scripts when a connection is not established successfully. example: try several username/passwords from a pool to establish a pppoe or wwan connection by replacing the configured values of the connection in a hotplug script.