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
12 years ago
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
13 years ago
Jo-Philipp Wich
eb9b3bdb4f
netifd: localize internally used shell variables ( #11567 )
...
SVN-Revision: 32192
13 years ago
Jo-Philipp Wich
1760bf569a
netifd: fix typo in dhcp protocol handler, fixes reqopt handling ( #11609 )
...
SVN-Revision: 32098
13 years ago
Jo-Philipp Wich
9ae901445b
/etc/functions.sh => /lib/functions.sh
...
SVN-Revision: 32062
13 years ago
Felix Fietkau
9fba35fe7e
netifd: call /sbin/wifi up on /etc/init.d/network reload
...
SVN-Revision: 31941
13 years ago
Felix Fietkau
d7522444d2
netifd: fix "Command failed: Not found" error with dhcp
...
SVN-Revision: 31863
13 years ago
Felix Fietkau
cc61ab5c6d
netifd: bring up wifi at boot
...
SVN-Revision: 31855
13 years ago
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
13 years ago
Jo-Philipp Wich
267b414b4c
netifd: port r27720 ( #9763 ) to the netifd ifup variant
...
SVN-Revision: 31849
13 years ago
Felix Fietkau
768d49a428
netifd: bring up all interfaces on /etc/init.d/network restart
...
SVN-Revision: 31732
13 years ago
Felix Fietkau
a6e7b3cffe
netifd: use the new json_get_vars function in the dhcp helper script
...
SVN-Revision: 31727
13 years ago
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
13 years ago
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
13 years ago
Felix Fietkau
43695701ec
ppp: move ppp-{up,down} from the netifd package to pppd
...
SVN-Revision: 31340
13 years ago
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
13 years ago
Felix Fietkau
6df99730c4
netifd: scan l3 devices on find_config()
...
SVN-Revision: 31033
13 years ago
Felix Fietkau
6a30a0d992
netifd: shut down all interfaces before restarting netifd
...
SVN-Revision: 31032
13 years ago
Felix Fietkau
adff0183ca
netifd: implement find_config()
...
SVN-Revision: 30947
13 years ago
Felix Fietkau
4814eb5df9
netifd: add missing do_sysctl function
...
SVN-Revision: 30749
13 years ago
Felix Fietkau
429886fbbb
netifd: add a hotplug handler for setting sysctls (based on the old 10-routes file)
...
SVN-Revision: 30743
13 years ago
Felix Fietkau
8ad6213f59
netifd: add a new udhcpc default script for command line use (no uci support)
...
SVN-Revision: 30741
13 years ago
Felix Fietkau
477c3c4015
netifd: set the network device in uci state as well to avoid further remapping issues
...
SVN-Revision: 30008
13 years ago
Felix Fietkau
bffa830f13
netifd: fix legacy scripts that expect the ifname option to be mapped to the device option after fixup
...
SVN-Revision: 30003
13 years ago
Felix Fietkau
c309ed6210
netifd: always issue a reload on ifup, not just for -a
...
SVN-Revision: 29863
13 years ago
Nicolas Thill
7a176742bb
package/netifd: use new service wrapper
...
SVN-Revision: 28839
13 years ago
Felix Fietkau
dab5ebaa76
netifd: ensure that a bridge gets created before hostapd needs it, hostapd must not attempt to create the bridge by itself
...
SVN-Revision: 28745
13 years ago
Felix Fietkau
d4d91df5fe
netifd: start wifi at boot
...
SVN-Revision: 28738
13 years ago
Felix Fietkau
b8d90aceb2
netifd: add missing proto handler conversion after r28632 (thx, Jonathan Bennet)
...
SVN-Revision: 28713
13 years ago
Felix Fietkau
bebd9aec71
netifd: update, prefix proto handler callbacks with 'proto_'
...
SVN-Revision: 28632
13 years ago
Felix Fietkau
24bf5c41a0
netifd: remove obsolete _init callbacks, set available=1 for ppp
...
SVN-Revision: 28631
13 years ago
Felix Fietkau
b3d7c7b1b5
netifd: allow ppp based proto handlers to override the connect/disconnect script
...
SVN-Revision: 28630
13 years ago
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
13 years ago
Felix Fietkau
01f9388cde
netifd: add two simple scripts for querying interface/device status
...
SVN-Revision: 28545
13 years ago
Felix Fietkau
4112fbaafb
netifd: reload the network config on ifup -a
...
SVN-Revision: 28544
13 years ago
Felix Fietkau
55aeabae10
add an initial (experimental) version of netifd, disabled by default
...
SVN-Revision: 28499
13 years ago