Commit graph

12 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
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
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
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
6a30a0d992 netifd: shut down all interfaces before restarting netifd
SVN-Revision: 31032
2012-03-19 21:09:51 +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
Felix Fietkau
477c3c4015 netifd: set the network device in uci state as well to avoid further remapping issues
SVN-Revision: 30008
2012-02-03 10:17:30 +00:00
Nicolas Thill
7a176742bb package/netifd: use new service wrapper
SVN-Revision: 28839
2011-11-07 22:58:56 +00:00
Felix Fietkau
d4d91df5fe netifd: start wifi at boot
SVN-Revision: 28738
2011-11-03 20:02:52 +00:00
Felix Fietkau
803c7edcb3 netifd: if core dump support is enabled, use it. also add some delay after start to avoid race conditions with other init scripts
SVN-Revision: 28611
2011-10-26 18:30:55 +00:00
Felix Fietkau
55aeabae10 add an initial (experimental) version of netifd, disabled by default
SVN-Revision: 28499
2011-10-21 01:47:49 +00:00