Jo-Philipp Wich
ee808f12b2
[package] netifd: repair dhcp client id option
...
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
2012-07-01 12:43:14 +00:00
Jo-Philipp Wich
af7771210e
[package] netifd: localize internally used shell variables ( #11567 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32192 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-11 13:25:58 +00:00
Jo-Philipp Wich
68235416db
[package] netifd: fix typo in dhcp protocol handler, fixes reqopt handling ( #11609 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32098 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-07 10:54:03 +00:00
Jo-Philipp Wich
75a299db50
[package] /etc/functions.sh => /lib/functions.sh
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32062 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-05 16:04:23 +00:00
Felix Fietkau
1c0a92e465
netifd: fix "Command failed: Not found" error with dhcp
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31863 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-26 20:36:49 +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
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
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
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
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
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