aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/network-functions
Commit message (Collapse)AuthorAgeFilesLines
* Don't apply BONDING_OPTS on device with active slaves (#885235).Lukas Nykryn2012-12-131-23/+25
|
* Apply BONDING_OPT on ifup of master (#874030)Lukas Nykryn2012-11-081-1/+0
|
* Sets BONDING_OPTS before interface is brougth up and checks if it is not ↵Lukas Nykryn2012-10-081-1/+31
| | | | already added (#820430)
* Revert patches which should not be in 6.4Lukas Nykryn2012-10-081-11/+0
| | | | | | | | | | | | | | | | | | | | | | Revert "Process rule6-* for sit devices (#840009)" This reverts commit f082f9e64eadbf68ef9bb67744c97c0974af9115. Revert "securetty: check if the device is in the file before attempting to write to it" This reverts commit 10c72ce532c1d4f6d0b17fdc9448c9bd2d0b5ef5. Revert "Killproc -d should parse same values as sleep" This reverts commit 763b7dcf6bf9e47d90546be1aabf1f724dd527f8. Revert "Make killproc more granular when delay is passed. (#428029, <xjakub@fi.muni.cz>)" This reverts commit 6e62c51f3162081cc05ef546929aa98b8448b1cb. Revert "Allow dhclient configuration files for DHCPv6 as well. (#815676)" This reverts commit 9987361e94ec6f26e557053b27af6e43a9ee13e1.
* Allow dhclient configuration files for DHCPv6 as well. (#815676)Bill Nottingham2012-08-031-0/+11
| | | | | | | Conflicts: sysconfig/network-scripts/ifup-eth sysconfig/network-scripts/network-functions
* Allow duplicate address dectection to be disabledBenjamin Coddington2012-08-031-0/+7
|
* Allow non-'-s' options in ETHTOOL_OPTS, and allow multiple option types. ↵Bill Nottingham2011-08-151-1/+15
| | | | (#692410, #693583)
* Override NETMASK from PREFIX where specified (#705367, <mpoole@redhat.com>)Bill Nottingham2011-08-151-0/+5
|
* Switch the default logging value to error.Bill Nottingham2011-08-151-2/+2
| | | | It's what's used the most.
* Add a net_log() function. (#507515, #689525)Bill Nottingham2011-08-151-0/+23
|
* Fix check for unmanaged devices so it does the right thing with devices NM ↵Bill Nottingham2011-03-211-1/+1
| | | | | | doesn't know about at all. (#670154) It was returning nonexistent devices, or devies NM knew nothing about (bridges), as being managed.
* use SYSCTLDEVICE without . (#667211, <notting@redhat.com>)Petr Lautrbach2011-01-141-0/+1
|
* Support multiple IP addreses via IPADDRn, PREFIXn (or NETMASKn) (#633984) ↵Bill Nottingham2010-12-061-10/+26
| | | | | | | | Adapted from <jklimes@redhat.com> In addition to legacy IP aliases, this commit adds a support for configuring mupliple IPs via single ifcfg file. It uses the same syntax and behaviour as NetworkManager.
* Fix ifdown calling nmcli for NM-managed devices; others are handled by ↵Jiří Klimeš2010-12-061-0/+5
| | | | ifdown-${DEVICETYPE} (#612934).
* Add infiniband mapping (#648524, <monis@voltaire.com>)Bill Nottingham2010-12-061-0/+3
|
* Handle quoted SUBCHANNELS (#607481)Bill Nottingham2010-06-241-2/+2
|
* Check NM_CONTROLLED before deciding to use NM for a connection. (#599707, ↵Bill Nottingham2010-06-041-1/+1
| | | | probably others.)
* Behave sanely if we're not passed a device at all. (#589521, #592108)Bill Nottingham2010-05-131-0/+2
|
* Get rid of a silly error message for loopback devices.Bill Nottingham2010-05-131-1/+1
|
* Update for new nmcli syntax.Bill Nottingham2010-05-051-2/+2
|
* Redirect error messages to /dev/null to catch if nmcli is not installed. ↵Bill Nottingham2010-04-091-2/+2
| | | | (#570828, <zing@fastmail.fm>)
* Only use UUID to bring connections up/down; ensure we have a UUID by asking ↵Bill Nottingham2010-04-091-3/+7
| | | | NM for it.
* Quote 'name' when passing to get_config_by_name.Bill Nottingham2010-04-091-1/+1
|
* Fix is_nm_activeBill Nottingham2010-04-091-1/+1
| | | | Some versions of nmcli have trailing whitespace.
* When bringing devices down, disconnect the device, don't down the connection.Bill Nottingham2010-04-091-0/+5
|
* Remove quotes from uuid.Bill Nottingham2010-04-091-1/+1
|
* Use NM if it's running and we have a configuration for the device.Bill Nottingham2010-04-091-0/+4
|
* Add a function that determines the status of NetworkManager; use it.Bill Nottingham2010-04-091-0/+6
|
* Add get_config_by_name, use it.Bill Nottingham2010-04-091-0/+12
|
* Add get_config_by_device, adjust caller.Bill Nottingham2010-04-091-4/+10
|
* Fix various device checks to not misidentify devices.Bill Nottingham2010-02-121-14/+4
| | | | | Also, don't use ifconfig for checking link state on alias devices; /sbin/ip does fine with that.
* If HWADDR is set and DEVICE is not, use HWADDR to determine DEVICE. (#545597)Bill Nottingham2010-01-221-6/+7
|
* Use sysfs rather than iwconfig for wireless checkAdel Gadllah2010-01-041-3/+1
|
* Silence error. (#516569)Bill Nottingham2009-12-151-1/+1
|
* Remove CIPE, IPSEC specific interface support.Bill Nottingham2009-12-101-6/+0
|
* Remove IUCV support. (#507217)Bill Nottingham2009-10-261-3/+0
|
* Load bonding driver if BONDING_OPTS is defined. (#516569)Bill Nottingham2009-10-201-0/+2
|
* Use $(( )) for arithmetic statements instead of let or $[ ].Victor Lowther2009-07-301-3/+3
|
* Use $() instead of `` for process expansion.Bill Nottingham2009-07-301-19/+19
| | | | Adapted from <victor.lowther@gmail.com>.
* Don't use mii-tool for link status; only use ethtool.Bill Nottingham2009-07-021-13/+3
| | | | Essentially a consequence of bug #491358.
* Explicitly source from the proper directory. (#496233)Bill Nottingham2009-04-211-2/+2
|
* Handle full paths in need_config/source_config by normalizing them (#483257)Bill Nottingham2009-03-161-2/+3
| | | | | | This broke when we fixed the source commands for bash 4. It's not as having configurations outside of /etc/sysconfig/network-scripts was supported, so just normalize any full path passed in to look there.
* Remove support for 'ifcfg-foo-bar' configurations that automatically inherit ↵Bill Nottingham2009-03-161-10/+0
| | | | | | | | from 'ifcfg-foo'. 1) I'm not sure of anything at all that ever supported this except for manual configuration. 2) '-' is a valid character in ethernet device names. So you can't have 'ifcfg-eth0-2' files that work. 3) Having it work for every '-' separated combination, except those that end in 'g' is just strange.
* Use a leading path marker when sourcing files. (#482826)Bill Nottingham2009-01-281-4/+4
| | | | bash 4 breaks the prior code.
* fixed typo in get_config_by_subchannel()Harald Hoyer2008-11-251-1/+1
|
* fixed SUBCHANNEL grep for s390Harald Hoyer2008-11-121-1/+3
|
* fixed bug #459044Harald Hoyer2008-11-111-1/+1
| | | | refined the grep statement
* Remove reference to rename_device.Bill Nottingham2008-10-031-1/+0
| | | | rename_device no longer exists.
* https://bugzilla.redhat.com/show_bug.cgi?id=447928Harald Hoyer2008-09-161-1/+1
| | | | | | | | All networking scripts from /etc/sysconfig/network-scripts call logger without full path. This can prevent system from booting if let's say dcc is installed when compiled with wrong parameters and installs /usr/sbin/logger (see bellow) It's not really a bug but this can be easily prevented. All /etc/init.d scripts use full path for logger network-scripts should use it also
* Use 0.0.0.0/0, not 0/0. (#460580)Bill Nottingham2008-09-031-1/+1
| | | | Updated iproute doesn't like the old syntax.