summaryrefslogtreecommitdiff
path: root/package/base-files/files/etc/hotplug.d/iface
AgeCommit message (Collapse)Author
2011-10-27[package] base-files: remove rdate integration, add busybox ntpd init script ↵jow
and server list in /etc/config/system The rdate applet proved to be too unreliable to obtain the current time on boot: - public time servers are rare and often unreachable or overloaded - rdate does not daemonize, it needs a network connection the moment it is started, leading to race conditions - the /etc/config/timeserver configuration is overly complex and there is no reliable way to disable rdate invocations - the time protocol as specified in RFC 868 is considered obsolete This commit adds an init script /etc/init.d/sysntpd which starts and stops the busybox ntpd accordingly. The builtin ntpd can be disabled by either disabling the init script, removing the symlink to busybox or by clearing the timeserver list in /etc/config/system. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28612 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-20base-files: move network related scripts to a separate package to make the ↵nbd
transition to netifd easier git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28495 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-15[package] base-files: use uci_toggle_state() to prevent unwanted aggregation ↵jow
of state vars (#9711) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27616 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-25[package] base-files: fix sysctl handling, do not react on fake ifaces in ↵jow
route hotplug handler git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25713 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-11[package] base-files:jow
- properly disable IPv6 on bridge ports - introduce accept_ra option, defaults to true for dhcp interfaces, false for others - introduce send_rs option, defaults to true for static interfaces, false for others git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25454 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-01[package] base-files: derive connect_time from uptime as local system time ↵jow
may warp due to rdate, ntp and other means git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24212 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-01[package] base-files: save the connect time of interfaces in uci statejow
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24206 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-30[package] base-files: add "mtu" option for route sections, allows setting ↵jow
per-route mtu values git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-02[package] base-files:jow
- add aliases to device by default (not ifname) - introduce option "layer" to select the target ifname to attach the alias to: - 3 use tun device (tun over bridge over device) fallback to bridge or device - 2 use bridge (bridge over device) fallback to device - 1 use device git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21655 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-01[package] base-file: move alias setup to route hotplug, this fixes alias ↵jow
sections for non-static interfaces like ppp, dhcp, 6in4 etc. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-17[package] base-files (#7316)jow
- improve rdate reliability - make rdate config more ntp like - move time server list to /etc/config/timeserver - bump package revision git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21495 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-27[package] base-files: add a hotplug handler for rdatejow
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20518 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-19fix broken logic in r15272, r15273jow
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15274 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-19[package] base-files: (#4928)jow
handle "option gateway 0.0.0.0" and "option gateway interface" in route sections as "no gateway given" to allow defining gateway-less routes while still keeping the possibility to have static routes with a proper gateway on interfaces with# dynamic ips git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15272 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-12[package] base-files: remove redundant netmask handling in 10-routesjow
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15219 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-22allow ipv4 routes without gateway in configurationjow
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13714 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-28package/base-files: allow ipv6 routes without gateway specifiedjow
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13419 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-28fix up the network ifname in the network state when receiving iface/ifup eventsnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13399 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-06use default gateway for routes that have no gw specified, Signed off by: ↵blogic
Brian J. Murrell git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11380 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-03Here comes the new UCI. Enjoy :)nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10367 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-16Add route6 option to setup IPv6 routes (#2528)florian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9337 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-04fix a race condition with dynamic interfaces and firewallingnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8343 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-13use . /var/state/network instead of config_load to avoid a CONFIG_SECTIONS resetnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7953 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-12fix static routes for dynamic interfaces (#1446)nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7949 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-16keep track of the network interface states (stored in uci format in ↵nbd
/var/state/network, overlay over /etc/config/network) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7643 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-02add support for static routes - based on the patch from #1365nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6457 3c298f89-4303-0410-b956-a3cf2f4a3e73