Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | 1 | -2/+2 |
| | | | | https://bugzilla.redhat.com/show_bug.cgi?id=1471489 | ||||
* | ARPUPDATE introduced | David Kaspar [Dee'Kej] | 2017-07-14 | 1 | -0/+6 |
| | | | | | | | | | 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 | 1 | -2/+6 |
| | | | | | 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 | 1 | -0/+32 |
| | | | | | | | | | | | | | | 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 |
| | |||||
* | 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 | 1 | -3/+19 |
| | | | | | | | 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. | ||||
* | network-functions: do not send hostname via dhclient everytime | David Kaspar [Dee'Kej] | 2016-11-10 | 1 | -7/+10 |
| | |||||
* | [2/3] Remove tabs and fix spacing: network-functions | Phil Dibowitz | 2016-10-12 | 1 | -284/+289 |
| | |||||
* | ifup: don't call nmcli on any lo device | Lukas Nykryn | 2016-06-16 | 1 | -1/+1 |
| | | | | Resolves: #1336869 | ||||
* | source_config: tell NetworkManger to load ifcfg file even for NM_CONTROLLED=no | Thomas Haller | 2016-06-13 | 1 | -4/+6 |
| | |||||
* | network-scripts: DEVICE and HWADRR could be quoted by apostrophe | Lukas Nykryn | 2015-10-27 | 1 | -2/+2 |
| | |||||
* | network-functions: fix wireless detection | Lukas Nykryn | 2015-08-06 | 1 | -1/+1 |
| | |||||
* | network-functions: fix change_resolv_conf after grep update | Lukas Nykryn | 2015-04-09 | 1 | -4/+4 |
| | |||||
* | network-functions: is_available_wait should wait even in the case that ↵ | Lukas Nykryn | 2015-01-12 | 1 | -4/+2 |
| | | | | is_available returns 2 | ||||
* | network-functions: fix check in install_bonding_driver | Lukas Nykryn | 2015-01-02 | 1 | -1/+1 |
| | |||||
* | network-functions: reeplace iwconfig with iw | Valdis Kletnieks | 2014-12-10 | 1 | -2/+2 |
| | |||||
* | improve_check_for_bond_master_in_install_bonding_driver | Ashish Samant | 2014-12-08 | 1 | -2/+14 |
| | | | | | | | | | | | | | | | | | | The current grep check (fgrep -sqx) in install_bonding_driver, to determine whether bond master exists, fails when there are multiple bond masters. The fix assumes that multiple bond masters are on different lines in the file "/sys/class/net/bonding_masters", while they are in fact on the same line. Since fgrep -sqx checks for the entire line,it will never match any one bond master within the line and always fail if there are multiple bonds. This patch improves the check by creating a new function, bond_master_exists() to handle this and other conditions. Orabug: 19897586 Signed-off-by: Ashish Samant <ashish.samant@oracle.com> Signed-off-by: John Haxby <john.haxby@oracle.com> Acked-by: Mukesh Kacker <mukesh.kacker@oracle.com> | ||||
* | network_function: return immediately when device is present | Lukas Nykryn | 2014-10-07 | 1 | -1/+4 |
| | | | | | Conflicts: sysconfig/network-scripts/network-functions | ||||
* | add configurable DEVTIMEOUT | Lukas Nykryn | 2014-10-07 | 1 | -0/+17 |
| | |||||
* | network-functions: grep->fgrep in bonding masters matching | Lukas Nykryn | 2014-09-19 | 1 | -1/+1 |
| | |||||
* | network-functions: improve bonding_masters grep | Lukas Nykryn | 2014-09-16 | 1 | -1/+1 |
| | | | | kudos to john.haxby@oracle.com | ||||
* | network-functions: ETHTOOL_DELAY introduction patch | Lukas Nykryn | 2014-09-09 | 1 | -0/+1 |
| | |||||
* | ifup-wireless: add support for wowlan (second part) | Eduardo Minguez | 2014-09-09 | 1 | -0/+5 |
| | |||||
* | network-functions: handle BONDING_OPTS better | Jirka Klimes | 2014-07-24 | 1 | -3/+29 |
| | |||||
* | is_nm_handling: fix RE | Lukas Nykryn | 2014-04-01 | 1 | -1/+1 |
| | |||||
* | bonding: match whole name of interface | Luke Bigum | 2014-03-31 | 1 | -1/+1 |
| | |||||
* | network: try to not compete with NM during boot | Lukas Nykryn | 2014-03-11 | 1 | -0/+5 |
| | |||||
* | update ifup/ifdown NetworkManager interaction (#1036701, #1061810) | Lukas Nykryn | 2014-02-13 | 1 | -2/+3 |
| | |||||
* | update functions who call nmcli (#1002958) | Lukas Nykryn | 2014-01-14 | 1 | -2/+2 |
| | |||||
* | install_bonding_driver: drop check for existing device (#991335) | Lukas Nykryn | 2013-08-05 | 1 | -1/+0 |
| | | | | | Install_bonding_driver is now doing more that loading kernel driver, so that check is not correct. | ||||
* | network-functions: to determine state of nscd check socket not lock (#960779) | Lukas Nykryn | 2013-05-22 | 1 | -1/+1 |
| | |||||
* | add ipip6 tunneling support (#928232, raorn@raorn.name) | Lukas Nykryn | 2013-03-27 | 1 | -1/+1 |
| | |||||
* | Fix greps to correctly handle comments and quotation | Lukas Nykryn | 2013-02-26 | 1 | -1/+1 |
| | |||||
* | Correctly detect Open vSwitch device types | Thomas Graf | 2013-01-25 | 1 | -0/+3 |
| | | | | | | | | | | | | | ifup-ovs in the openvswitch package uses the types: - OVSBridge - OVSPort - OVSIntPort - OVSBond to configure the various Open vSwitch device types. Automatically detecting these avoids the need to pass in DEVICETYPE=ovs or to name all bridge "ovsN". | ||||
* | Sets BONDING_OPTS before interface is brougth up | Lukas Nykryn | 2013-01-22 | 1 | -1/+33 |
| | |||||
* | Revert "Use sysfs rather than iwconfig for wireless check" | Bill Nottingham | 2012-11-12 | 1 | -1/+3 |
| | | | | | This reverts commit af401fb40f6dd5139e8468dfe1bd3dafe40e8e93. upstream removed sysfs wireless. How nice. | ||||
* | Allow duplicate address dectection to be disabled | Benjamin Coddington | 2012-08-07 | 1 | -0/+7 |
| | |||||
* | Handle (improper) quoted HWADDR (#835372) | Bill Nottingham | 2012-06-26 | 1 | -1/+1 |
| | |||||
* | check_device_down: Don't bother calling ip to check link state if the device ↵ | Bill Nottingham | 2012-05-02 | 1 | -0/+1 |
| | | | | doesn't exist. | ||||
* | Rename internal tracking variable USE_NM to _use_nm, to more clearly state ↵ | Bill Nottingham | 2012-04-30 | 1 | -2/+2 |
| | | | | it's not for configuration use. | ||||
* | Allow dhclient configuration files for DHCPv6 as well. (#815676) | Bill Nottingham | 2012-04-24 | 1 | -0/+11 |
| | |||||
* | Use NetworkManager-compatible lease file names by default. | Bill Nottingham | 2012-03-09 | 1 | -0/+9 |
| | |||||
* | Allow non-'-s' options in ETHTOOL_OPTS, and allow multiple option types. ↵ | Bill Nottingham | 2011-06-28 | 1 | -1/+15 |
| | | | | (#692410, #693583) | ||||
* | Ensure DHCP_HOSTNAME is a short hostname, seed it from HOSTNAME if needed. ↵ | Bill Nottingham | 2011-05-31 | 1 | -0/+2 |
| | | | | (#697877) | ||||
* | Override NETMASK from PREFIX where specified (#705367, <mpoole@redhat.com>) | Bill Nottingham | 2011-05-18 | 1 | -0/+5 |
| | |||||
* | Fix index handling for expanded configs <jklimes@redhat.com> | Bill Nottingham | 2011-04-12 | 1 | -1/+1 |
| | |||||
* | Switch the default logging value to error. | Bill Nottingham | 2011-03-25 | 1 | -2/+2 |
| | | | | It's what's used the most. |