Commit graph

79 commits

Author SHA1 Message Date
Jo-Philipp Wich
19bf880b03 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.

SVN-Revision: 33076
2012-08-09 22:44:52 +00:00
Felix Fietkau
abc3d9493b 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
SVN-Revision: 32689
2012-07-12 21:50:49 +00:00
Felix Fietkau
d8bf3d82e5 netifd: update to latest version, fixes various issues related to interface alias handling, improves handling of wifi interfaces in /etc/config/network
SVN-Revision: 32625
2012-07-05 18:42:29 +00:00
Jo-Philipp Wich
bcacf552fd 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/
SVN-Revision: 32573
2012-07-01 12:43:14 +00:00
Jo-Philipp Wich
1f8d8dca76 netifd: update to current git head, exposes enabled state, mtu and metric overrides for routes
SVN-Revision: 32524
2012-06-29 11:42:15 +00:00
Felix Fietkau
2479910d45 netifd: update to latest version, fixes bridge member interface settings
SVN-Revision: 32506
2012-06-26 23:34:07 +00:00
Jo-Philipp Wich
985eab3706 netifd: bump again to git head, fix device present state after reconnecting shell protos
SVN-Revision: 32430
2012-06-18 23:01:04 +00:00
Felix Fietkau
575f47b36e netifd: update to latest version again, fixes route6 issues (#11528)
SVN-Revision: 32429
2012-06-18 21:52:28 +00:00
Felix Fietkau
992d685ea4 netifd: update to latest version, adds 6rd related changes and adds support for default route dependencies (through host route dependencies)
SVN-Revision: 32426
2012-06-18 21:23:09 +00:00
Felix Fietkau
de8bc3bfb7 netifd: update to latest version, adds back the workaround for ignoring wlan* in /etc/config/network
SVN-Revision: 32356
2012-06-14 16:50:45 +00:00
Jo-Philipp Wich
eb9b3bdb4f netifd: localize internally used shell variables (#11567)
SVN-Revision: 32192
2012-06-11 13:25:58 +00:00
Jo-Philipp Wich
1760bf569a netifd: fix typo in dhcp protocol handler, fixes reqopt handling (#11609)
SVN-Revision: 32098
2012-06-07 10:54:03 +00:00
Jo-Philipp Wich
9ae901445b /etc/functions.sh => /lib/functions.sh
SVN-Revision: 32062
2012-06-05 16:04:23 +00:00
Felix Fietkau
2a80e86614 netifd: update to latest version, fixes wifi restart issues
SVN-Revision: 32049
2012-06-04 18:22:09 +00:00
Felix Fietkau
c444edc6fd netifd: remove obsolete config variable dependency
SVN-Revision: 31988
2012-05-29 13:02:10 +00:00
Felix Fietkau
9fba35fe7e netifd: call /sbin/wifi up on /etc/init.d/network reload
SVN-Revision: 31941
2012-05-28 14:22:42 +00:00
Felix Fietkau
d7522444d2 netifd: fix "Command failed: Not found" error with dhcp
SVN-Revision: 31863
2012-05-26 20:36:49 +00:00
Felix Fietkau
38c2c53e65 netifd: update to latest version, fixes an endian issue in broadcast address handling
SVN-Revision: 31858
2012-05-25 07:59:29 +00:00
Felix Fietkau
ad98ada7d8 netifd: update to latest version, fixes overriding the mac address for bridge interfaces (#11526)
SVN-Revision: 31857
2012-05-24 18:45:01 +00:00
Felix Fietkau
cc61ab5c6d netifd: bring up wifi at boot
SVN-Revision: 31855
2012-05-24 16:24:55 +00:00
Felix Fietkau
b86652832e netifd: improve /sbin/ifup wifi hack, make it work properly with -a. fold /etc/init.d/netifd into /etc/init.d/network
SVN-Revision: 31850
2012-05-23 21:49:28 +00:00
Jo-Philipp Wich
267b414b4c netifd: port r27720 (#9763) to the netifd ifup variant
SVN-Revision: 31849
2012-05-23 21:26:20 +00:00
Felix Fietkau
cba8c384fc netifd: update to latest version, adds interface alias support (#11518), and fixes network route drops on dhcp renew
SVN-Revision: 31840
2012-05-23 20:38:45 +00:00
Felix Fietkau
402393bbee netifd: update to latest version, fixes dns server issues (#11501)
SVN-Revision: 31830
2012-05-20 13:56:25 +00:00
Felix Fietkau
52e16e27ec netifd: update to latest version, fixes peerdns handling, custom dns override and interface metric settings
SVN-Revision: 31822
2012-05-19 23:47:33 +00:00
Felix Fietkau
5348608f9f netifd: update to latest version, fixes a crash on restart
SVN-Revision: 31812
2012-05-18 21:59:23 +00:00
Felix Fietkau
768d49a428 netifd: bring up all interfaces on /etc/init.d/network restart
SVN-Revision: 31732
2012-05-14 23:50:59 +00:00
Felix Fietkau
5eed1d8f6b enable netifd by default and add its config variable to PKG_CONFIG_DEPENDS in a few relevant places
SVN-Revision: 31730
2012-05-14 23:33:35 +00:00
Felix Fietkau
a6e7b3cffe netifd: use the new json_get_vars function in the dhcp helper script
SVN-Revision: 31727
2012-05-14 20:58:27 +00:00
Felix Fietkau
89532e6437 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)
SVN-Revision: 31723
2012-05-14 20:58:13 +00:00
Felix Fietkau
50edcbde35 netifd: update to latest version, adds support for host route dependencies
SVN-Revision: 31603
2012-05-05 16:56:20 +00:00
Felix Fietkau
f44934b9ae netifd: update to latest version, fixes address/route list handling issues and fixes dual-stack ppp route handling
SVN-Revision: 31516
2012-04-29 12:20:10 +00:00
Felix Fietkau
f37deb2b1b netifd: improve error handling in legacy script compatibility library, do not fill the log with error messages for interfaces that could not be found
SVN-Revision: 31432
2012-04-21 20:34:48 +00:00
Felix Fietkau
bfa643c7ef netifd: make type a local variable in /lib/network/config.sh to avoid clashes with an internal config_foreach variable
SVN-Revision: 31430
2012-04-21 20:34:41 +00:00
Felix Fietkau
43695701ec ppp: move ppp-{up,down} from the netifd package to pppd
SVN-Revision: 31340
2012-04-17 21:35:13 +00:00
Felix Fietkau
a41b36bd4c netifd: update to latest, fixes ppp reconnect issues
SVN-Revision: 31339
2012-04-17 21:35:09 +00:00
Felix Fietkau
8b7533c496 netifd: update to 2012-04-12, fixes interface reconnect issues and improves interface status info
SVN-Revision: 31261
2012-04-12 13:58:07 +00:00
Felix Fietkau
f96ffe2c96 netifd: update to latest version, fixes a segfault with non-bridge interface hotplug
SVN-Revision: 31125
2012-03-28 16:58:39 +00:00
Felix Fietkau
35607da5b8 netifd: update to 2012-03-23, fixes route/address tracking issues and adds more status info
SVN-Revision: 31077
2012-03-26 14:30:19 +00:00
Felix Fietkau
a660a57d71 pppd: split files into netifd and non-netifd files, move the netifd ppp.sh file to the pppd package
SVN-Revision: 31041
2012-03-20 13:09:27 +00:00
Felix Fietkau
1147799b85 netifd: update to latest version, fixes log buffer handling issues, dns issues and various sit tunnel related issues
SVN-Revision: 31035
2012-03-19 21:10:00 +00:00
Felix Fietkau
6df99730c4 netifd: scan l3 devices on find_config()
SVN-Revision: 31033
2012-03-19 21:09:54 +00:00
Felix Fietkau
6a30a0d992 netifd: shut down all interfaces before restarting netifd
SVN-Revision: 31032
2012-03-19 21:09:51 +00:00
Felix Fietkau
b60539115e netifd: fix ipv6 issues, add sit tunnel support
SVN-Revision: 30948
2012-03-15 09:49:29 +00:00
Felix Fietkau
adff0183ca netifd: implement find_config()
SVN-Revision: 30947
2012-03-15 09:49:26 +00:00
Felix Fietkau
c996929e14 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

SVN-Revision: 30829
2012-03-05 19:53:16 +00:00
Felix Fietkau
d626f58be7 netifd: update, fix some mac address handling issues
SVN-Revision: 30750
2012-02-27 23:37:49 +00:00
Felix Fietkau
4814eb5df9 netifd: add missing do_sysctl function
SVN-Revision: 30749
2012-02-27 23:37:46 +00:00
Felix Fietkau
6934c378b2 netifd: update to 2012-02-26, fixes ipv4 broadcast handling
SVN-Revision: 30744
2012-02-27 16:23:50 +00:00
Felix Fietkau
429886fbbb netifd: add a hotplug handler for setting sysctls (based on the old 10-routes file)
SVN-Revision: 30743
2012-02-27 16:23:47 +00:00