Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | base-files: move network related scripts to a separate package to make the ↵ | Felix Fietkau | 2011-10-20 | 1 | -444/+0 |
| | | | | | | transition to netifd easier SVN-Revision: 28495 | ||||
* | base-files: introduce "igmp_snooping" option to toggle IGMP snooping on ↵ | Jo-Philipp Wich | 2011-10-11 | 1 | -1/+3 |
| | | | | | | bridge interfaces SVN-Revision: 28412 | ||||
* | base-files: apply network interface settings such as macaddr, mtu and ↵ | Felix Fietkau | 2011-09-24 | 1 | -15/+9 |
| | | | | | | txqueuelen in prepare_interface instead of setup_interface. setting the mtu after the interface is up is unreliable on some drivers such as gianfar SVN-Revision: 28297 | ||||
* | base-files: make ip matching in dns add/remove functions more explicit, ↵ | Jo-Philipp Wich | 2011-09-23 | 1 | -2/+2 |
| | | | | | | avoids overmatching pairs like 1.2.3.35 and 1.2.3.3 SVN-Revision: 28291 | ||||
* | base-files: Fix IPv6 address and route adding on aliases with no IPv4 ↵ | Vasilis Tsiligiannis | 2011-09-14 | 1 | -2/+2 |
| | | | | | | address configured SVN-Revision: 28241 | ||||
* | Revert "[package] base-files: Add support for assigning multiple IPv6 ↵ | Vasilis Tsiligiannis | 2011-09-14 | 1 | -9/+8 |
| | | | | | | | | addresses on an interface" Multiple IPv6 addresses should be handled with alias sections SVN-Revision: 28240 | ||||
* | base-files: Add support for assigning multiple IPv6 addresses on an interface | Vasilis Tsiligiannis | 2011-09-12 | 1 | -8/+9 |
| | | | | SVN-Revision: 28222 | ||||
* | base-files: implement a generic mechanism to map per-interface sysctls to ↵ | Jo-Philipp Wich | 2011-07-17 | 1 | -0/+20 |
| | | | | | | uci. - option ipv4_xyz is mapped to /proc/sys/net/ipv4/{conf,neigh}/xyz - option ipv6_xyz is mapped to /proc/sys/net/ipv6/{conf,neigh}/xyz This allows e.g. "option ipv6_proxy_ndp 1" to enable NDP proxying on wan. Fixes ticket #8699. SVN-Revision: 27653 | ||||
* | base-files: use uci_toggle_state() to prevent unwanted aggregation of state ↵ | Jo-Philipp Wich | 2011-07-15 | 1 | -5/+5 |
| | | | | | | vars (#9711) SVN-Revision: 27616 | ||||
* | base-files: assume a default ipv6 prefix size of /64, thats what the ↵ | Jo-Philipp Wich | 2011-06-09 | 1 | -1/+1 |
| | | | | | | majority of users mean when they just specify an ip address SVN-Revision: 27147 | ||||
* | base-files: if an ip6addr without a prefix is given, assume /128 - otherwise ↵ | Jo-Philipp Wich | 2011-06-09 | 1 | -0/+5 |
| | | | | | | the busybox utilities will interpret it as /0 and create an invalid default route SVN-Revision: 27145 | ||||
* | base-files: fix error reporting for unsupported protocols on virtual interfaces | Jo-Philipp Wich | 2011-06-07 | 1 | -1/+1 |
| | | | | SVN-Revision: 27132 | ||||
* | base-files: make the MAC address of bridge interfaces sticky to avoid ARP ↵ | Felix Fietkau | 2011-05-24 | 1 | -1/+2 |
| | | | | | | issues on wifi re-configuration SVN-Revision: 26990 | ||||
* | base-files: bridge config, avoid having a random ipv6 ll address | Felix Fietkau | 2011-04-03 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | So far, we are setting the bridge interface up before having added any bridge interface ports. This results in the bridge assigning a random mac address to its bridge interface and therefore IPv6 assigning a matching link local address to the bridge interface as soon as the bridge interface is up. After adding the first bridge port interface, the bridge's mac address is reset correctly, however the IPv6 link local address stays the same. This commit ensures that we are at least having the IPv6 link local address of the first interface added to the bridge instead of a random one. Signed-off-by: Linus Lüssing <linus.luessing@web.de> SVN-Revision: 26426 | ||||
* | base-file: cleanup ipv6 enabling in unbridge | Jo-Philipp Wich | 2011-02-12 | 1 | -3/+1 |
| | | | | SVN-Revision: 25473 | ||||
* | base-files: - properly disable IPv6 on bridge ports - introduce accept_ra ↵ | Jo-Philipp Wich | 2011-02-11 | 1 | -5/+2 |
| | | | | | | option, defaults to true for dhcp interfaces, false for others - introduce send_rs option, defaults to true for static interfaces, false for others SVN-Revision: 25454 | ||||
* | base-files: fix a typo in processing of additional dhcp request opts | Jo-Philipp Wich | 2011-01-29 | 1 | -1/+1 |
| | | | | SVN-Revision: 25239 | ||||
* | base-files: fix handling of dhcp "reqopts" option | Jo-Philipp Wich | 2011-01-29 | 1 | -4/+8 |
| | | | | SVN-Revision: 25237 | ||||
* | base-files: implement "reqopts" parameter for dhcp interfaces to specify ↵ | Jo-Philipp Wich | 2010-12-22 | 1 | -1/+3 |
| | | | | | | additional dhcp options to request SVN-Revision: 24780 | ||||
* | base-files: disable ipv6 on bridge ports, this prevents stray RA assigned ↵ | Jo-Philipp Wich | 2010-11-30 | 1 | -8/+13 |
| | | | | | | and link local addresses on bridge member devices SVN-Revision: 24194 | ||||
* | base-file: add metric option for static and dhcp protos, this simplifies the ↵ | Jo-Philipp Wich | 2010-11-17 | 1 | -3/+4 |
| | | | | | | management of multiple default routes SVN-Revision: 24020 | ||||
* | base-files: add udhcpc vendorid option (#7744) | Jo-Philipp Wich | 2010-10-06 | 1 | -1/+3 |
| | | | | SVN-Revision: 23279 | ||||
* | base-files: kill possibly existing udhcpc instance when bringing up a dhcp ↵ | Jo-Philipp Wich | 2010-09-19 | 1 | -39/+26 |
| | | | | | | iface, utilize service_kill() in dhcp shutdown. Based on patch by Stijn Tintel. Possibly related to #7314 SVN-Revision: 23092 | ||||
* | base-files: r22444 caused interfaces to remain down if the macaddr option is ↵ | Jo-Philipp Wich | 2010-08-02 | 1 | -2/+2 |
| | | | | | | used, fix it. Also localize the txqueuelen option variable SVN-Revision: 22467 | ||||
* | add txqueuelen option, patch from Roberto Riggio | Florian Fainelli | 2010-07-31 | 1 | -1/+2 |
| | | | | SVN-Revision: 22444 | ||||
* | base-files: introduce option "broadcast" for proto=dhcp interface to enable ↵ | Jo-Philipp Wich | 2010-06-02 | 1 | -2/+11 |
| | | | | | | the broadcast flag in DHCP requests, required by certain providers SVN-Revision: 21661 | ||||
* | base-files: remove IPv6 LL addr from interfaces before adding them to a bridge | Jo-Philipp Wich | 2010-06-02 | 1 | -0/+9 |
| | | | | SVN-Revision: 21659 | ||||
* | base-files: - add aliases to device by default (not ifname) - introduce ↵ | Jo-Philipp Wich | 2010-06-02 | 1 | -3/+22 |
| | | | | | | option "layer" to select the target ifname to attach the alias to: - 3 use tun device (tun over bridge over device) fallback to bridge or device - 2 use bridge (bridge over device) fallback to device - 1 use device SVN-Revision: 21655 | ||||
* | base-file: move alias setup to route hotplug, this fixes alias sections for ↵ | Jo-Philipp Wich | 2010-06-01 | 1 | -36/+16 |
| | | | | | | non-static interfaces like ppp, dhcp, 6in4 etc. SVN-Revision: 21652 | ||||
* | base-files: - use add_dns() and remove_dns() for when changing ↵ | Jo-Philipp Wich | 2010-05-30 | 1 | -15/+28 |
| | | | | | | resolv.conf.auto for static or dhcp interfaces - force 0644 permissions when creating resolv.conf.auto, fixes dnsmasq permissions denied problem with pppd interfaces - revert dns servers in /sbin/ifdown - bump package revision SVN-Revision: 21638 | ||||
* | base-files: revert r21595 | Jo-Philipp Wich | 2010-05-28 | 1 | -2/+0 |
| | | | | SVN-Revision: 21597 | ||||
* | base-files: bring bridge port iface down before changing the mac (#7111) | Jo-Philipp Wich | 2010-05-28 | 1 | -0/+2 |
| | | | | SVN-Revision: 21595 | ||||
* | when changing the mac address of a bridge interface, keep member interface ↵ | Felix Fietkau | 2010-05-27 | 1 | -1/+3 |
| | | | | | | addresses in sync (patch from #7111) SVN-Revision: 21577 | ||||
* | base-files: add add_dns() and remove_dns() helpers to network config, useful ↵ | Jo-Philipp Wich | 2010-05-07 | 1 | -0/+29 |
| | | | | | | to merge dns entries from multiple interfaces SVN-Revision: 21391 | ||||
* | base-files, ppp: fix interface shutdown | Jo-Philipp Wich | 2010-05-06 | 1 | -3/+3 |
| | | | | SVN-Revision: 21386 | ||||
* | base-files, ppp: remove protocol specific cleanup code from /sbin/ifdown and ↵ | Jo-Philipp Wich | 2010-05-05 | 1 | -5/+22 |
| | | | | | | move it to protocol stop callbacks SVN-Revision: 21383 | ||||
* | fix error output of brctl if bridging is not supported. | Felix Fietkau | 2010-03-14 | 1 | -1/+1 |
| | | | | | | | | | | | | The following error is displayed during network configuration on any device that has DEVICE_TYPE set to something else then router, or has brctl functionality disabled through some other method: "brctl: SIOCGIFBR: Package not installed" This is due to the unbridge function being called, which uses "brctl show" to determine if the interface is bridged. Signed-off-by: Ithamar R. Adema <ithamar.adema@team-embedded.nl> SVN-Revision: 20218 | ||||
* | base-files: revert dhcp state information on ifdown and restore pre-r19530 ↵ | Jo-Philipp Wich | 2010-02-12 | 1 | -0/+5 |
| | | | | | | behaviour in udhcp default.script SVN-Revision: 19597 | ||||
* | base-file: revert unrelated change accidentally committed in r19478 | Jo-Philipp Wich | 2010-02-01 | 1 | -4/+0 |
| | | | | SVN-Revision: 19488 | ||||
* | base-files: preinit: get rid of /dev/null redirections and use grep -q where ↵ | Jo-Philipp Wich | 2010-02-01 | 1 | -0/+4 |
| | | | | | | applicable SVN-Revision: 19478 | ||||
* | base-files: ensure that the ip6addr of the main interface stays the primary ↵ | Jo-Philipp Wich | 2010-01-23 | 1 | -20/+28 |
| | | | | | | ip by re-adding it after alias setup is completed - patch by Alina Friedrichsen SVN-Revision: 19303 | ||||
* | Add udhcpc command-line argument to request rootpath | Hamish Guthrie | 2009-12-21 | 1 | -1/+1 |
| | | | | SVN-Revision: 18876 | ||||
* | base-files: clear ip addresses on interfaces that are about to be added to a ↵ | Jo-Philipp Wich | 2009-09-16 | 1 | -0/+2 |
| | | | | | | bridge SVN-Revision: 17596 | ||||
* | Revert "fix nonhotpluggable networks not being brought up. Closes #2781" ↵ | Felix Fietkau | 2009-09-09 | 1 | -1/+0 |
| | | | | | | (r17527) until we've solved the race conditions it creates SVN-Revision: 17544 | ||||
* | fix nonhotpluggable networks not being brought up. Closes #2781 | Travis Kemen | 2009-09-06 | 1 | -0/+1 |
| | | | | SVN-Revision: 17527 | ||||
* | base-files: move ipv6 module loading from setup_interface() to addif() in ↵ | Jo-Philipp Wich | 2009-08-10 | 1 | -9/+0 |
| | | | | | | the hotplug call, this ensures that ipv6 is loaded before any interfaces or aliases with ip6addr option are configured (#5356) SVN-Revision: 17217 | ||||
* | base-files: some /lib/network/config.sh refactoring | Felix Fietkau | 2009-08-07 | 1 | -25/+38 |
| | | | | | | | | | | | * Localize a lot more variables than before. * Do stuff or localize variables at later points or inner blocks so less commands are executed in some cases. * Use the default option of config_get where it makes sense. Signed-off-by: Malte S. Stretz <mss@apache.org> SVN-Revision: 17160 | ||||
* | base-files: ensure that ipv6 is loaded if interfaces have an ip6addr ↵ | Jo-Philipp Wich | 2009-08-04 | 1 | -12/+21 |
| | | | | | | defined, clean trailing whitespace, bump pkg revision (#5356) SVN-Revision: 17118 | ||||
* | network: prevent unnecessary interface down/up cycles if no mac address ↵ | Felix Fietkau | 2009-06-01 | 1 | -2/+3 |
| | | | | | | change is requested SVN-Revision: 16269 | ||||
* | network: do not unnecessarily touch interfaces configured as proto=none; ↵ | Felix Fietkau | 2009-06-01 | 1 | -2/+11 |
| | | | | | | bring down old aliases before setting up new ones SVN-Revision: 16266 |