Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ifup-eth: wait for STP to complete setup on bridge if $DELAY is not set | David Kaspar [Dee'Kej] | 2017-08-07 | 1 | -4/+21 |
| | | | | | Otherwise obtaining IP from DHCP might fail. Based on patch from: * Rich Alloway <richard.alloway@roguewave.com> | CentOS BZ #0011138 | ||||
* | init.d/functions: convert2sec() function added | David Kaspar [Dee'Kej] | 2017-08-07 | 1 | -1/+1 |
| | | | | | | | | | | And network-scripts/network-functions was patched to use convert2sec(). This function can be used to convert the value of its first parameter to a number of seconds - based on the time unit (specified as the second parameter). This is mostly useful for converting values for use with the sleep(1). | ||||
* | Replace /var/run with /run everywhere | Zbigniew JÄdrzejewski-Szmek | 2017-08-03 | 9 | -20/+20 |
| | | | | https://bugzilla.redhat.com/show_bug.cgi?id=1471489 | ||||
* | ARPUPDATE introduced | David Kaspar [Dee'Kej] | 2017-07-14 | 3 | -2/+10 |
| | | | | | | | | | The ARPUPDATE option has been introduced. It defaults to 'yes'. By setting the ARPUPDATE to 'no', administrator can disable updating neighbouring computers with ARP information about current NIC. This is especially needed when using LVS Load Balancing with Direct routing enabled. | ||||
* | Replace usleep(1) calls with sleep(1) calls | David Kaspar [Dee'Kej] | 2017-05-25 | 2 | -3/+7 |
| | | | | | The time units had to be manually converted from microseconds to seconds. Hopefully this was done right. | ||||
* | DHCP_FQDN and DHCP_SEND_HOSTNAME introduced | David Kaspar [Dee'Kej] | 2017-05-03 | 2 | -14/+38 |
| | | | | | | | | | | | | | | The way DHCP_HOSTNAME is being sent to DHCP server has been completely reworked... DHCP_FQDN now allows user to specify fully qualified domain name to be sent to DHCP server instead of just using simple hostname. This option takes precedence before DHCP_HOSTNAME variable. DHCP_SEND_HOSTNAME can be used to tell initscripts to not send either DHCP_HOSTNAME or DHCP_FQDN to DHCP server. Both of these options should behave same as they do in NetworkManager. | ||||
* | re-add missing $HOSTNAME initialization | David Kaspar [Dee'Kej] | 2017-04-26 | 1 | -3/+5 |
| | |||||
* | ifup: add support for VLAN_EGRESS_PRIORITY_MAP | Lukas Nykryn | 2017-04-11 | 1 | -0/+2 |
| | |||||
* | ifdown-eth: we need to flush global scope as well | Lukas Nykryn | 2017-03-28 | 1 | -1/+4 |
| | | | | ... but it is stuck some time | ||||
* | ifup-eth: remove quote marks | Lukas Nykryn | 2017-03-22 | 1 | -1/+1 |
| | | | | | With quote marks all the parameters to dhclient are passed as one Resolves: #1410429 | ||||
* | ipv6_add_addr_on_device: replace the existing address on NIC | David Kaspar [Dee'Kej] | 2017-02-27 | 1 | -1/+1 |
| | | | | | | | | Instead of adding the IPv6 address when ifup is called, we replace the address, because it might have been auto-assigned before by RA. This is to assure that static NIC configuration will take effect if the NIC was already dynamically configured by RA. | ||||
* | network: load NetworkManager connection via dbus | Petr Horáček | 2017-02-14 | 1 | -1/+9 |
| | | | | | Use dbus to refresh configuration files for NetworkManager in order to make ifup and ifdown faster. | ||||
* | network: check for running NetworkManager via dbus | Petr Horáček | 2017-02-14 | 1 | -1/+5 |
| | | | | Use dbus instead of nmcli to make ifup command faster. | ||||
* | sysconfig/network: NO_DHCP_HOSTNAME option introduced | David Kaspar [Dee'Kej] | 2016-11-16 | 2 | -9/+29 |
| | | | | | | | Previously, some administrators were unable to force initscripts to not obtatin hostname from DHCP, even though they were using static configuration of network. Righ now, setting 'NO_DHCP_HOSTNAME' to 'yes', 'true' or '1' in /etc/sysconfig/network will allow them to do so. | ||||
* | fix typo in IPV6_SET_SYSCTLS | Pavel Šimerda | 2016-11-15 | 1 | -1/+1 |
| | | | | | | | Typo introduced in commit 432951d. Related: https://github.com/fedora-sysv/initscripts/pull/2 Signed-off-by: Pavel Šimerda <pavlix@pavlix.net> | ||||
* | network-functions: do not send hostname via dhclient everytime | David Kaspar [Dee'Kej] | 2016-11-10 | 2 | -9/+25 |
| | |||||
* | ipv6_wait_tentative(): exit immediately when dadfailed occurs | David Kaspar [Dee'Kej] | 2016-11-01 | 1 | -3/+22 |
| | |||||
* | ifup-eth: if arping fails, output responding MAC | Lukas Nykryn | 2016-10-31 | 2 | -4/+6 |
| | | | | Resolves: #1099026 | ||||
* | ifup-post: introduce new configuration option NOROUTESET | David Kaspar [Dee'Kej] | 2016-10-31 | 1 | -1/+3 |
| | | | | This has patch has been suggested in RHBZ #950453, by Konrad Moson. | ||||
* | ifup-post: use is_false() function instead of checking for "no" string | David Kaspar [Dee'Kej] | 2016-10-31 | 1 | -2/+5 |
| | |||||
* | ifup-aliases: send gratuitous ARPs when adding addresses | Lukas Nykryn | 2016-10-31 | 1 | -0/+6 |
| | |||||
* | Add ability to specify arbitrary route options | Phil Dibowitz | 2016-10-27 | 1 | -0/+2 |
| | | | | | | | | | | | | `ifup` can set _some_ route options. Today it's missing several and so, to set something like `mtu` or `advmss` you have to do hacks like: ``` METRIC='10 mtu 1480' ``` which is sub-optimal. Rather than one-off add support for everything in the man page, provide a hook for arbitrary extra route options. | ||||
* | Fix typo'd variable in 6to4 cleanup | Phil Dibowitz | 2016-10-12 | 1 | -2/+2 |
| | | | | | | Thanks to shellcheck. :) This is ontop of the whitespace PRs, those should go in first. | ||||
* | Use the is_true() and is_false() functions where possible | David Kaspar [Dee'Kej] | 2016-10-12 | 6 | -11/+11 |
| | |||||
* | [3/3] Remove tabs and fix spacing: ifup/ifdown scripts | Phil Dibowitz | 2016-10-12 | 19 | -779/+782 |
| | |||||
* | [2/3] Remove tabs and fix spacing: network-functions | Phil Dibowitz | 2016-10-12 | 1 | -284/+289 |
| | |||||
* | [1/3] Remove tabs and fix spacing: ipv6 scripts | Phil Dibowitz | 2016-10-12 | 4 | -1151/+1149 |
| | | | | | | | | | | | | | | | | | The network-scripts are a mix of tabs and spaces (!!) as well as completely inconsistent indentation (some 2, some 4). This is a series of 3 patches to move the entire of network-scripts to 2-space indentation for consistency so I can develop on the codebase without my brain bleeding. I don't feel strongly about 2 vs 4... 2 was just most common in the first file I picked, so I used that. This set is in 3 sets for easier reviewing and easier reverting if necessary: * 1/3 - ipv6 files * 2/3 - network-functions - it needed it's own * 3/3 - ifup/ifdown files | ||||
* | Allow someone to keep accept_ra on while using static addresses. | Phil Dibowitz | 2016-10-10 | 1 | -1/+3 |
| | | | | | | | It's reasonable (and common) to assign static addresses while still wanting to get your default gw from your router. The assumption that not wanting SLAAC means not wanting RA is flawed, but I don't want to break backwards compatability, so I'm adding an additional option. | ||||
* | Provide a mechanism to prevent network-scripts from messing with sysctls | Phil Dibowitz | 2016-10-10 | 3 | -33/+42 |
| | | | | | | | | | | | network-scripts makes odd assumptions, like if I don't want SLAAC (i.e. if I turn off AUTOCONF) that I also don't want RA. This is not true, it's common to have a static local address, but to get my gateway through RA. This is one solution. I will also be sending a more specific solution to enable the above directly, but having a way to tell network-scripts to not mess with systctls seems generally useful. | ||||
* | ifup-eth: fix setting preferred_lft and valid_lft | Lukas Nykryn | 2016-06-23 | 1 | -1/+1 |
| | |||||
* | ifup: don't call nmcli on any lo device | Lukas Nykryn | 2016-06-16 | 2 | -2/+2 |
| | | | | Resolves: #1336869 | ||||
* | source_config: tell NetworkManger to load ifcfg file even for NM_CONTROLLED=no | Thomas Haller | 2016-06-13 | 1 | -4/+6 |
| | |||||
* | ipv6: wait for all global IPv6 addresses to leave the "tentative" state | Lukas Nykryn | 2016-06-13 | 2 | -0/+23 |
| | |||||
* | ifup: set valid_lft and preferred_lft to forever for static ip | Blake Caldwell | 2016-05-30 | 1 | -0/+3 |
| | |||||
* | ifdown-eth: fix comparison | Lukas Nykryn | 2015-12-25 | 1 | -1/+1 |
| | |||||
* | network-scripts: DEVICE and HWADRR could be quoted by apostrophe | Lukas Nykryn | 2015-10-27 | 3 | -4/+4 |
| | |||||
* | ifup-wireless: fix calling of phy_wireless_device | Lukas Nykryn | 2015-10-16 | 1 | -1/+4 |
| | |||||
* | ifdown: clean ipv4 localhost addresses | Lukas Nykryn | 2015-10-15 | 1 | -7/+7 |
| | |||||
* | ifup-eth: some bridge options are applied later | Lukas Nykryn | 2015-09-16 | 1 | -1/+3 |
| | |||||
* | network-functions: fix wireless detection | Lukas Nykryn | 2015-08-06 | 1 | -1/+1 |
| | |||||
* | ifup-post: should be interpreted in bash | Lukas Nykryn | 2015-05-25 | 1 | -1/+1 |
| | |||||
* | bonding: warn if the ifup for slave device failed | Lukas Nykryn | 2015-05-07 | 1 | -1/+1 |
| | |||||
* | ifup: don't call NM for loopback | Lukas Nykryn | 2015-05-06 | 1 | -1/+1 |
| | |||||
* | ifup: add missing quotes | Lukas Nykryn | 2015-04-24 | 1 | -1/+1 |
| | |||||
* | network-functions: fix change_resolv_conf after grep update | Lukas Nykryn | 2015-04-09 | 1 | -4/+4 |
| | |||||
* | ifup-aliases: don't return with error when arping fails | Lukas Nykryn | 2015-04-05 | 1 | -1/+2 |
| | |||||
* | ifup-aliases: inherit ARPCHECK from parent device | Lukas Nykryn | 2015-02-27 | 1 | -1/+2 |
| | |||||
* | ifdown-eth: use scope host for lo | Leon Kos | 2015-02-04 | 1 | -2/+7 |
| | |||||
* | ifup-ipv6: set accept_ra to 2 when IPV6FORWARDING=yes and IPV6_AUTOCONF=yes | Lukas Nykryn | 2015-01-19 | 1 | -1/+5 |
| | |||||
* | ifup-post: check resolve.conf also with DNS2 | Lukas Nykryn | 2015-01-16 | 1 | -1/+8 |
| |