[OpenWrt-Devel] /sbin/hotplug-call iface event never fired

Yousong Zhou yszhou4tech at gmail.com
Sun Aug 10 12:18:24 EDT 2014


On Aug 10, 2014 8:43 PM, "Weiwu Zhang" <zhangweiwu at realss.com> wrote:
>
> I found this problem while trying to make ddns work.
>
> This command updates ddns:
> # ACTION=ifup INTERFACE=wan /sbin/hotplug-call iface
>
> But: 1) reboot would not update ddns; 2) if ip address changed in a
> day, ddns would not update;
>

The patch [1] has been posted for quite a while.  Can you check it and see
if it can at least fix the first problem.

[1] http://patchwork.openwrt.org/patch/4782/

Regards

                yousong

> Thus it seems the hotplug event only happens if I invoke it manually.
>
> So, now what? What to do next to check the problem? Thanks.
>
> Background:
> --
> # uname -a
> Linux OpenWrt 3.10.32 #5 Wed Mar 12 20:49:34 CST 2014 mips GNU/Linux
> # head /etc/config/ddns
>
> config service 'myddns'
>     option interface 'wan'
>     option use_syslog '1'
>     option use_https '0'
>     option force_interval '72'
>     option force_unit 'hours'
>     option check_interval '10'
>     option check_unit 'minutes'
>     option retry_interval '60'
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20140811/7eb6fc79/attachment.htm>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list