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

Weiwu Zhang zhangweiwu at realss.com
Sun Aug 10 08:42:44 EDT 2014


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;

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



More information about the openwrt-devel mailing list