summaryrefslogtreecommitdiffstats
path: root/package/network/config/netifd/files
Commit message (Collapse)AuthorAgeFilesLines
* netifd: do not stop service on shutdown, only call ifdownFelix Fietkau2015-01-241-1/+1
| | | | | | | | Also add a small delay, like on restart Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44096
* netifd: store additional DHCP lease informationJo-Philipp Wich2015-01-231-7/+7
| | | | | | | | | Extend the DHCPv4 handler script to store additional information from the DHCP lease in the per-interface data object. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 44092
* netifd: Set source IP for DHCP static routes as wellSteven Barth2014-12-121-2/+1
| | | | | | | | | | | | | Commit ce92f6650bd8a86db04c7a6cbb58e7fdb200a7e6 added source IP support for DHCP default routes. As a side effect of this change the default route could be present twice in netifd (once with source IP set and once with source IP unset) if it was sent by the server in both the router and static route options. Therefore add source IP support as well for static routes as this case was not considered. Additional remove unused parameter type. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> SVN-Revision: 43645
* This patch depends on "Pass source address to proto_add_ipv4_route".Steven Barth2014-12-081-1/+1
| | | | | | | | | I have not found a scenario that would break by setting the source address on default, but please let me know if any special considerations should be taken. Signed-off-by: Kristian Evensen <kristian.evensen at gmail.com> SVN-Revision: 43582
* netifd: fix default ORO-setting for 6rdSteven Barth2014-11-081-1/+1
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 43214
* netifd: Make mtu configurable of dynamic 6rd tunnel interfaceSteven Barth2014-10-122-2/+5
| | | | | | | | | Patch allows to configure the mtu of the dynamic 6rd tunnel interface when created by dhcp script. In some setups it's desirable to have config control over the 6rd tunnel mtu to maximize the traffic throughput Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> SVN-Revision: 42871
* netifd: fix an error message during network shutdownSteven Barth2014-10-021-1/+2
| | | | | | | | | | | | | When 'wifi down' is called by /etc/init.d/network, it is run from stop_service( ). This function is in turn invoked from stop( ). stop( ) messes up the order by first procd_kill-ing the network settings, then calling wifi to down the wifi networking interfaces. By redefining stop( ) instead, the proper order is restored. Signed-off-by: Michel Stam <m.stam@fugro.nl> SVN-Revision: 42745
* package/*: remove useless explicit set of function returncodeJohn Crispin2014-08-251-14/+0
| | | | | | | | | | | | | | | | | | | | | | somebody started to set a function returncode in the validation stuff and everybody copies it, e.g. myfunction() { fire_command return $? } a function automatically returns with the last returncode, so we can safely remove the command 'return $?'. reference: http://tldp.org/LDP/abs/html/exit-status.html "The last command executed in the function or script determines the exit status." Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com> SVN-Revision: 42278
* netifd: suppress fw3 warnings in dhcp scriptSteven Barth2014-07-301-1/+1
| | | | | | Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> SVN-Revision: 41892
* softwires: redesign dhcp(v6) provisioningSteven Barth2014-07-242-3/+15
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 41823
* netifd: use procd_add_reload_triggerFelix Fietkau2014-06-111-4/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41147
* netfid: make procd watch the network.interface object for eventsJohn Crispin2014-06-051-0/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41010
* package: netifd: remove blank line at the end of fileJohn Crispin2014-06-021-1/+0
| | | | | | Signed-off-by: Zhao, Gang <gamerh2o@gmail.com> SVN-Revision: 40937
* netifd: replace the sleep 5 with an ubus wait_for call to speed up init scriptFelix Fietkau2014-05-311-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40891
* netifd: Add renew handler for proto dhcpFelix Fietkau2014-04-051-0/+9
| | | | | | Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> SVN-Revision: 40385
* dhcp: Fix broadcast parameter validation support, remove unused netmask ↵John Crispin2014-03-301-2/+1
| | | | | | | | parameter Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> SVN-Revision: 40332
* 6rd / ds-lite: make the firewall-zones of nested-protocols configurableSteven Barth2014-03-262-2/+5
| | | | SVN-Revision: 40020
* dhcp: send 6rd-ORO when expecting 6rd-informationSteven Barth2014-03-261-0/+1
| | | | SVN-Revision: 40019
* netifd: pass on delegate flag from dhcp to 6rdSteven Barth2014-03-132-2/+5
| | | | SVN-Revision: 39909
* netifd: fix validation constraintsJo-Philipp Wich2014-02-211-15/+15
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 39648
* netifd: add validation supportJohn Crispin2014-02-182-9/+114
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39621
* netifd: initialize the switch early at start time and on reload (fixes #13015)Felix Fietkau2013-12-311-6/+10
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39183
* netifd: add reload trigger for /etc/config/wireless as wellJo-Philipp Wich2013-12-181-1/+4
| | | | SVN-Revision: 39131
* Convert DHCP->6rd and DHCPv6->DS-Lite autoconfig to dynamic interfaceSteven Barth2013-12-151-12/+11
| | | | SVN-Revision: 39061
* netifd: prevent an unnecessary restart of netifd-managed wifi interfaces at ↵Felix Fietkau2013-12-131-1/+1
| | | | | | | | boot time Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39046
* netifd: enable coredumps againJohn Crispin2013-12-091-4/+4
| | | | | | | | got broken due procd startup. Requires procd resource limit patch. Signed-off-by: Ulrich Weber <uw@xyne.com> SVN-Revision: 39020
* wifi: rename the "reload" (restarting non-netifd wifi) command to ↵Felix Fietkau2013-12-021-1/+1
| | | | | | | | | | "reload_legacy" Add a new "reload" command that reloads the netifd config as well Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 38989
* netifd: add wireless configuration support and port mac80211 to the new ↵Felix Fietkau2013-12-021-1/+1
| | | | | | | | framework Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 38988
* netifd: remove redundant calls to /sbin/wifi downFelix Fietkau2013-12-021-2/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 38982
* netifd: remove connect_time from /var/state, it is unusedFelix Fietkau2013-11-101-1/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 38704
* netifd: rename customopts to sendopts for consistencySteven Barth2013-10-171-4/+4
| | | | SVN-Revision: 38437
* Added 'customopts' dhcp protocol option, which is an array passed along to ↵Steven Barth2013-10-171-2/+7
| | | | | | | | udhcpc as series of -x options. Signed-off-by: Markus Stenberg <markus.stenberg@iki.fi> SVN-Revision: 38436
* procd: convert various packages to procd style init.d scriptsJohn Crispin2013-09-171-17/+26
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38023
* netifd: fix typo in dhcp scriptSteven Barth2013-06-281-1/+1
| | | | SVN-Revision: 37051
* netifd: bring wifi down before shutting downJonas Gorski2013-06-081-0/+1
| | | | | | | | works around wifiX references not being freed on network restart. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 36883
* netifd: added support for setting up 6rd from DHCPSteven Barth2013-05-132-2/+28
| | | | SVN-Revision: 36626
* Remove deprecated ip6slaac option * use proto=dhcpv6 with reqprefix=no insteadSteven Barth2013-04-091-19/+0
| | | | SVN-Revision: 36280
* netifd: update to latest versionFelix Fietkau2013-01-292-4/+4
| | | | | | | fixes DNS servers on reload (#12910) fixes ubus object race on reload or down/up (#12612) SVN-Revision: 35383
* netifd: remove IPv6 forwarding-sysctl workaroundSteven Barth2013-01-291-1/+0
| | | | SVN-Revision: 35369
* netifd: IPv6 sysctl, restart IPv6 in static mode to send RSSteven Barth2013-01-281-0/+4
| | | | SVN-Revision: 35347
* netifd: add SLAAC ipv6 value for static-protoSteven Barth2013-01-281-0/+16
| | | | SVN-Revision: 35346
* netifd: add a band-aid fix for the wifi setup vs. netifd init race by ↵Jo-Philipp Wich2013-01-191-1/+1
| | | | | | increasing the wait time to five seconds SVN-Revision: 35240
* netifd: call /etc/udhcp.user from the netifd dhcp.scriptFelix Fietkau2012-12-151-0/+3
| | | | | | | | | This was done previously when dhcp was handled by the network scripts. So netifd should behave the same. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> SVN-Revision: 34704
* netifd: empty hotplug handler removedSteven Barth2012-12-031-10/+0
| | | | SVN-Revision: 34465
* Remove old IPv6 sysctl-config (deprecated)Steven Barth2012-11-291-26/+0
| | | | SVN-Revision: 34418
* netifd: don't send a default client identifier in DHCP requests if no ↵Jo-Philipp Wich2012-11-051-2/+2
| | | | | | clientid uci option is given (#12426) SVN-Revision: 34089
* Fix broadcast DHCP client startup option in dhcp.shJohn Crispin2012-10-171-1/+1
| | | | | | | | Signed-off-by: Hans Dedecker (hans.dedecker at technicolor.com) Fixes the DHCP request broadcasts replies option parsing SVN-Revision: 33826
* packages: sort network related packages into package/network/Felix Fietkau2012-10-1011-0/+440
SVN-Revision: 33688