aboutsummaryrefslogtreecommitdiffstats
path: root/package/netifd/files
Commit message (Collapse)AuthorAgeFilesLines
* AA: netifd: backport r37051Steven Barth2013-06-281-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@37052 3c298f89-4303-0410-b956-a3cf2f4a3e73
* AA: netifd: remove deprecated IPv6 sysctlsSteven Barth2013-05-271-36/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@36733 3c298f89-4303-0410-b956-a3cf2f4a3e73
* AA: backport netifd from trunkSteven Barth2013-05-242-2/+28
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@36705 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to latest versionFelix Fietkau2013-01-292-4/+4
| | | | | | | | | fixes DNS servers on reload (#12910) fixes ubus object race on reload or down/up (#12612) Backport of r35383 git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35384 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: sync with trunk r35251Felix Fietkau2013-01-202-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35254 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: call /etc/udhcp.user from the netifd dhcp.scriptFelix Fietkau2012-12-151-0/+3
| | | | | | | | | | | This was done previously when dhcp was handled by the network scripts. So netifd should behave the same. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> Backport of r34704 git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34706 3c298f89-4303-0410-b956-a3cf2f4a3e73
* AA: netifd: backport r34089Jo-Philipp Wich2012-11-051-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34090 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] netifd: prevent error in ifup if no /etc/config/wireless exists, ↵Jo-Philipp Wich2012-09-151-3/+7
| | | | | | properly handle wifi-iface sections which are part of multiple networks git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33425 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] netifd: call "wifi down" before "wifi up"Jo-Philipp Wich2012-08-091-0/+2
| | | | | | | | | | | | When the underlying /etc/config/wireless got changed since the last "wifi up" has been performed, the uci vap ifname state vars become inconsistent on a subsequent "wifi up" and multiple vaps get mapped to the same ifnames which confuses the gui and other processes relying on them. For now call an explicit "wifi down" prior to each "wifi up" which will clear up the state accordingly. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33076 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] netifd: repair dhcp client id optionJo-Philipp Wich2012-07-011-1/+1
| | | | | | | | Busybox udhcpc dropped support for the -c option, instead it can be emulated by using -x 0x3d:id, change the dhcp protocol script accordingly and filter all colons from the id while we're at it. This change supersedes http://patchwork.openwrt.org/patch/1810/ git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32573 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] netifd: localize internally used shell variables (#11567)Jo-Philipp Wich2012-06-112-1/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32192 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] netifd: fix typo in dhcp protocol handler, fixes reqopt handling ↵Jo-Philipp Wich2012-06-071-1/+1
| | | | | | (#11609) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32098 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] /etc/functions.sh => /lib/functions.shJo-Philipp Wich2012-06-053-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32062 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: call /sbin/wifi up on /etc/init.d/network reloadFelix Fietkau2012-05-281-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31941 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: fix "Command failed: Not found" error with dhcpFelix Fietkau2012-05-261-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31863 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: bring up wifi at bootFelix Fietkau2012-05-241-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31855 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: improve /sbin/ifup wifi hack, make it work properly with -a. fold ↵Felix Fietkau2012-05-233-66/+84
| | | | | | /etc/init.d/netifd into /etc/init.d/network git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31850 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] netifd: port r27720 (#9763) to the netifd ifup variantJo-Philipp Wich2012-05-231-0/+18
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31849 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: bring up all interfaces on /etc/init.d/network restartFelix Fietkau2012-05-141-2/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31732 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: use the new json_get_vars function in the dhcp helper scriptFelix Fietkau2012-05-141-6/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31727 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: improve error handling in legacy script compatibility library, do ↵Felix Fietkau2012-04-211-3/+3
| | | | | | 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
* netifd: make type a local variable in /lib/network/config.sh to avoid ↵Felix Fietkau2012-04-211-1/+1
| | | | | | clashes with an internal config_foreach variable git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31430 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ppp: move ppp-{up,down} from the netifd package to pppdFelix Fietkau2012-04-172-22/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31340 3c298f89-4303-0410-b956-a3cf2f4a3e73
* pppd: split files into netifd and non-netifd files, move the netifd ppp.sh ↵Felix Fietkau2012-03-201-183/+0
| | | | | | file to the pppd package git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31041 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: scan l3 devices on find_config()Felix Fietkau2012-03-191-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31033 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: shut down all interfaces before restarting netifdFelix Fietkau2012-03-191-0/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31032 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: implement find_config()Felix Fietkau2012-03-151-1/+14
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30947 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: add missing do_sysctl functionFelix Fietkau2012-02-271-0/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30749 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: add a hotplug handler for setting sysctls (based on the old ↵Felix Fietkau2012-02-271-0/+36
| | | | | | 10-routes file) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30743 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: add a new udhcpc default script for command line use (no uci support)Felix Fietkau2012-02-271-0/+57
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30741 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: set the network device in uci state as well to avoid further ↵Felix Fietkau2012-02-031-1/+4
| | | | | | remapping issues git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30008 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: fix legacy scripts that expect the ifname option to be mapped to the ↵Felix Fietkau2012-02-021-0/+2
| | | | | | device option after fixup git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30003 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: always issue a reload on ifup, not just for -aFelix Fietkau2012-01-221-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29863 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/netifd: use new service wrapperNicolas Thill2011-11-071-8/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28839 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: ensure that a bridge gets created before hostapd needs it, hostapd ↵Felix Fietkau2011-11-041-0/+7
| | | | | | must not attempt to create the bridge by itself git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28745 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: start wifi at bootFelix Fietkau2011-11-031-0/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28738 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: add missing proto handler conversion after r28632 (thx, Jonathan Bennet)Felix Fietkau2011-11-011-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28713 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update, prefix proto handler callbacks with 'proto_'Felix Fietkau2011-10-271-9/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28632 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: remove obsolete _init callbacks, set available=1 for pppFelix Fietkau2011-10-272-16/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28631 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: allow ppp based proto handlers to override the connect/disconnect scriptFelix Fietkau2011-10-271-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28630 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: if core dump support is enabled, use it. also add some delay after ↵Felix Fietkau2011-10-261-0/+5
| | | | | | start to avoid race conditions with other init scripts git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28611 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: add two simple scripts for querying interface/device statusFelix Fietkau2011-10-232-0/+25
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28545 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: reload the network config on ifup -aFelix Fietkau2011-10-231-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28544 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add an initial (experimental) version of netifd, disabled by defaultFelix Fietkau2011-10-2111-0/+452
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28499 3c298f89-4303-0410-b956-a3cf2f4a3e73