Commit Graph

26 Commits (85905945f57f2a94bd608262b76f547527459ad1)

Author SHA1 Message Date
Felix Fietkau c3312ba02d netifd: bring up all interfaces on /etc/init.d/network restart
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31732 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-14 23:50:59 +00:00
Felix Fietkau 4c693d4929 netifd: use the new json_get_vars function in the dhcp helper script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31727 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-14 20:58:27 +00:00
Felix Fietkau f387b5deb8 netifd: improve error handling in legacy script compatibility library, do not fill the log with error messages for interfaces that could not be found
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-21 20:34:48 +00:00
Felix Fietkau fe7e861b06 netifd: make type a local variable in /lib/network/config.sh to avoid clashes with an internal config_foreach variable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31430 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-21 20:34:41 +00:00
Felix Fietkau 6959928314 ppp: move ppp-{up,down} from the netifd package to pppd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31340 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-17 21:35:13 +00:00
Felix Fietkau f33b5960c7 pppd: split files into netifd and non-netifd files, move the netifd ppp.sh file to the pppd package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31041 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-20 13:09:27 +00:00
Felix Fietkau 9b7e775c56 netifd: scan l3 devices on find_config()
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31033 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 21:09:54 +00:00
Felix Fietkau c133369698 netifd: shut down all interfaces before restarting netifd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 21:09:51 +00:00
Felix Fietkau e6721f01b5 netifd: implement find_config()
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30947 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-15 09:49:26 +00:00
Felix Fietkau 9c7f658df3 netifd: add missing do_sysctl function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30749 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-27 23:37:46 +00:00
Felix Fietkau 2407096bfc netifd: add a hotplug handler for setting sysctls (based on the old 10-routes file)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30743 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-27 16:23:47 +00:00
Felix Fietkau 639660f57c netifd: add a new udhcpc default script for command line use (no uci support)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30741 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-27 16:23:39 +00:00
Felix Fietkau de8a98e59d netifd: set the network device in uci state as well to avoid further remapping issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30008 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-03 10:17:30 +00:00
Felix Fietkau 6947242c04 netifd: fix legacy scripts that expect the ifname option to be mapped to the device option after fixup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-02 23:01:02 +00:00
Felix Fietkau 59e41117c6 netifd: always issue a reload on ifup, not just for -a
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29863 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 21:14:26 +00:00
Nicolas Thill eac6909465 package/netifd: use new service wrapper
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28839 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 22:58:56 +00:00
Felix Fietkau 1e20e3114a netifd: ensure that a bridge gets created before hostapd needs it, hostapd must not attempt to create the bridge by itself
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28745 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-04 01:05:12 +00:00
Felix Fietkau 5f8e0eff4b netifd: start wifi at boot
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28738 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-03 20:02:52 +00:00
Felix Fietkau 7e7a63e779 netifd: add missing proto handler conversion after r28632 (thx, Jonathan Bennet)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28713 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-01 22:02:40 +00:00
Felix Fietkau 774a74722d netifd: update, prefix proto handler callbacks with 'proto_'
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28632 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-27 20:28:42 +00:00
Felix Fietkau 0095a6a47c netifd: remove obsolete _init callbacks, set available=1 for ppp
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28631 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-27 20:28:37 +00:00
Felix Fietkau 52cd85e16f netifd: allow ppp based proto handlers to override the connect/disconnect script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28630 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-27 20:28:33 +00:00
Felix Fietkau 794228a96c netifd: if core dump support is enabled, use it. also add some delay after start to avoid race conditions with other init scripts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28611 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-26 18:30:55 +00:00
Felix Fietkau 7b7b3c5a18 netifd: add two simple scripts for querying interface/device status
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28545 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-23 17:22:14 +00:00
Felix Fietkau 952c79097e netifd: reload the network config on ifup -a
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28544 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-23 17:22:01 +00:00
Felix Fietkau 9117bb10f7 add an initial (experimental) version of netifd, disabled by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28499 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-21 01:47:49 +00:00