Commit Graph

80 Commits (5b566125cdf689ce675cfac150ef782c0d96cc69)

Author SHA1 Message Date
Jo-Philipp Wich 7b97a7c808 [package] netifd: bump to git head, userspace routes are installed with RTPROT_STATIC from now on
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33132 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-11 16:07:36 +00:00
Jo-Philipp Wich 2642c86fb3 [package] netifd: call "wifi down" before "wifi up"
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
2012-08-09 22:44:52 +00:00
Felix Fietkau 89511a81d0 netifd: update to latest version, fixes wlan network state getting stuck on wifi restarts, adds support for setting wlan device parameters such as mtu or txqueuelen
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32689 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-12 21:50:49 +00:00
Felix Fietkau d21aab6bcd netifd: update to latest version, fixes various issues related to interface alias handling, improves handling of wifi interfaces in /etc/config/network
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32625 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-05 18:42:29 +00:00
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 6fdbe0fb22 [package] netifd: update to current git head, exposes enabled state, mtu and metric overrides for routes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32524 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-29 11:42:15 +00:00
Felix Fietkau 39c7cb8391 netifd: update to latest version, fixes bridge member interface settings
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32506 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-26 23:34:07 +00:00
Jo-Philipp Wich edf05801fd [package] netifd: bump again to git head, fix device present state after reconnecting shell protos
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32430 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-18 23:01:04 +00:00
Felix Fietkau 6563322199 netifd: update to latest version again, fixes route6 issues (#11528)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32429 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-18 21:52:28 +00:00
Felix Fietkau e1bec27e5c netifd: update to latest version, adds 6rd related changes and adds support for default route dependencies (through host route dependencies)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32426 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-18 21:23:09 +00:00
Felix Fietkau 34d48a8951 netifd: update to latest version, adds back the workaround for ignoring wlan* in /etc/config/network
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32356 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-14 16:50:45 +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 7f02a6fd5f netifd: update to latest version, fixes wifi restart issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32049 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-04 18:22:09 +00:00
Felix Fietkau f9748531cd netifd: remove obsolete config variable dependency
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31988 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-29 13:02:10 +00:00
Felix Fietkau 47566a2eb3 netifd: call /sbin/wifi up on /etc/init.d/network reload
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31941 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-28 14:22:42 +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 7a93d981a0 netifd: update to latest version, fixes an endian issue in broadcast address handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31858 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-25 07:59:29 +00:00
Felix Fietkau eec43d487e netifd: update to latest version, fixes overriding the mac address for bridge interfaces (#11526)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31857 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-24 18:45:01 +00:00
Felix Fietkau 4bf5594f9b netifd: bring up wifi at boot
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31855 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-24 16:24:55 +00:00
Felix Fietkau 836884a70b netifd: improve /sbin/ifup wifi hack, make it work properly with -a. fold /etc/init.d/netifd into /etc/init.d/network
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31850 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-23 21:49:28 +00:00
Jo-Philipp Wich 75b8054bbb [package] netifd: port r27720 (#9763) to the netifd ifup variant
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-23 21:26:20 +00:00
Felix Fietkau e4a0f5e8e3 netifd: update to latest version, adds interface alias support (#11518), and fixes network route drops on dhcp renew
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31840 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-23 20:38:45 +00:00
Felix Fietkau 4f25173ae3 netifd: update to latest version, fixes dns server issues (#11501)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31830 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-20 13:56:25 +00:00
Felix Fietkau 3a4dcd90bc netifd: update to latest version, fixes peerdns handling, custom dns override and interface metric settings
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31822 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-19 23:47:33 +00:00
Felix Fietkau 8712ef2867 netifd: update to latest version, fixes a crash on restart
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31812 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-18 21:59:23 +00:00
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 94b38ec0fd enable netifd by default and add its config variable to PKG_CONFIG_DEPENDS in a few relevant places
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31730 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-14 23:33:35 +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 30b6d0f199 netifd: update to 2012-05-14, fixes a file descriptor leak, fixes a use-after-free on host dependencies, adds a command for scheduling proto-shell restarts and adds support for more address options (point to point, broadcast)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31723 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-14 20:58:13 +00:00
Felix Fietkau 2ca268790c netifd: update to latest version, adds support for host route dependencies
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31603 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 16:56:20 +00:00
Felix Fietkau db240e6428 netifd: update to latest version, fixes address/route list handling issues and fixes dual-stack ppp route handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31516 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 12:20:10 +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 e4f13cc280 netifd: update to latest, fixes ppp reconnect issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31339 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-17 21:35:09 +00:00
Felix Fietkau d9eb068d97 netifd: update to 2012-04-12, fixes interface reconnect issues and improves interface status info
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31261 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-12 13:58:07 +00:00
Felix Fietkau da626c9676 netifd: update to latest version, fixes a segfault with non-bridge interface hotplug
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31125 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-28 16:58:39 +00:00
Felix Fietkau 1ef62d9b86 netifd: update to 2012-03-23, fixes route/address tracking issues and adds more status info
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31077 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-26 14:30:19 +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 b2bd2e8cd5 netifd: update to latest version, fixes log buffer handling issues, dns issues and various sit tunnel related issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31035 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 21:10:00 +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 fe29d066d5 netifd: fix ipv6 issues, add sit tunnel support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30948 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-15 09:49:29 +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 c23dd7c32e netifd: update to latest version
- preserve hotplug-added interfaces on reload, even if settings change
- implement fast config reload for bridge devices
- improve bridge device handling reliability
- fix bridge stp settings

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30829 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-05 19:53:16 +00:00
Felix Fietkau 7849d89b87 netifd: update, fix some mac address handling issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30750 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-27 23:37:49 +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 5753ce7c67 netifd: update to 2012-02-26, fixes ipv4 broadcast handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30744 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-27 16:23:50 +00:00