summaryrefslogtreecommitdiffstats
path: root/package/netifd/files
Commit message (Collapse)AuthorAgeFilesLines
* [package] netifd: call "wifi down" before "wifi up"jow2012-08-091-0/+2
| | | | | | | | | | | | 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
* [package] netifd: repair dhcp client id optionjow2012-07-011-1/+1
| | | | | | | | 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
* [package] netifd: localize internally used shell variables (#11567)jow2012-06-112-1/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32192 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] netifd: fix typo in dhcp protocol handler, fixes reqopt handling ↵jow2012-06-071-1/+1
| | | | | | (#11609) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32098 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] /etc/functions.sh => /lib/functions.shjow2012-06-053-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32062 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: call /sbin/wifi up on /etc/init.d/network reloadnbd2012-05-281-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31941 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: fix "Command failed: Not found" error with dhcpnbd2012-05-261-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31863 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: bring up wifi at bootnbd2012-05-241-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31855 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: improve /sbin/ifup wifi hack, make it work properly with -a. fold ↵nbd2012-05-233-66/+84
| | | | | | /etc/init.d/netifd into /etc/init.d/network git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31850 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] netifd: port r27720 (#9763) to the netifd ifup variantjow2012-05-231-0/+18
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31849 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: bring up all interfaces on /etc/init.d/network restartnbd2012-05-141-2/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31732 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: use the new json_get_vars function in the dhcp helper scriptnbd2012-05-141-6/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31727 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: improve error handling in legacy script compatibility library, do ↵nbd2012-04-211-3/+3
| | | | | | 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
* netifd: make type a local variable in /lib/network/config.sh to avoid ↵nbd2012-04-211-1/+1
| | | | | | clashes with an internal config_foreach variable git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31430 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ppp: move ppp-{up,down} from the netifd package to pppdnbd2012-04-172-22/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31340 3c298f89-4303-0410-b956-a3cf2f4a3e73
* pppd: split files into netifd and non-netifd files, move the netifd ppp.sh ↵nbd2012-03-201-183/+0
| | | | | | file to the pppd package git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31041 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: scan l3 devices on find_config()nbd2012-03-191-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31033 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: shut down all interfaces before restarting netifdnbd2012-03-191-0/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31032 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: implement find_config()nbd2012-03-151-1/+14
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30947 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: add missing do_sysctl functionnbd2012-02-271-0/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30749 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: add a hotplug handler for setting sysctls (based on the old ↵nbd2012-02-271-0/+36
| | | | | | 10-routes file) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30743 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: add a new udhcpc default script for command line use (no uci support)nbd2012-02-271-0/+57
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30741 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: set the network device in uci state as well to avoid further ↵nbd2012-02-031-1/+4
| | | | | | remapping issues git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30008 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: fix legacy scripts that expect the ifname option to be mapped to the ↵nbd2012-02-021-0/+2
| | | | | | device option after fixup git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30003 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: always issue a reload on ifup, not just for -anbd2012-01-221-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29863 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/netifd: use new service wrappernico2011-11-071-8/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28839 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: ensure that a bridge gets created before hostapd needs it, hostapd ↵nbd2011-11-041-0/+7
| | | | | | must not attempt to create the bridge by itself git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28745 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: start wifi at bootnbd2011-11-031-0/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28738 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: add missing proto handler conversion after r28632 (thx, Jonathan Bennet)nbd2011-11-011-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28713 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update, prefix proto handler callbacks with 'proto_'nbd2011-10-271-9/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28632 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: remove obsolete _init callbacks, set available=1 for pppnbd2011-10-272-16/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28631 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: allow ppp based proto handlers to override the connect/disconnect scriptnbd2011-10-271-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28630 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: if core dump support is enabled, use it. also add some delay after ↵nbd2011-10-261-0/+5
| | | | | | start to avoid race conditions with other init scripts git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28611 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: add two simple scripts for querying interface/device statusnbd2011-10-232-0/+25
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28545 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: reload the network config on ifup -anbd2011-10-231-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28544 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add an initial (experimental) version of netifd, disabled by defaultnbd2011-10-2111-0/+452
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28499 3c298f89-4303-0410-b956-a3cf2f4a3e73