aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/network-functions
Commit message (Collapse)AuthorAgeFilesLines
* Use NetworkManager-compatible lease file names by default.Bill Nottingham2012-03-091-0/+9
|
* Allow non-'-s' options in ETHTOOL_OPTS, and allow multiple option types. ↵Bill Nottingham2011-06-281-1/+15
| | | | (#692410, #693583)
* Ensure DHCP_HOSTNAME is a short hostname, seed it from HOSTNAME if needed. ↵Bill Nottingham2011-05-311-0/+2
| | | | (#697877)
* Override NETMASK from PREFIX where specified (#705367, <mpoole@redhat.com>)Bill Nottingham2011-05-181-0/+5
|
* Fix index handling for expanded configs <jklimes@redhat.com>Bill Nottingham2011-04-121-1/+1
|
* Switch the default logging value to error.Bill Nottingham2011-03-251-2/+2
| | | | It's what's used the most.
* Make net_log()'s output similar to that of the ipv6 logger.Bill Nottingham2011-03-251-1/+16
| | | | This will cause output strings to change, of course, so it's not really appropriate for earlier releases.
* Add a net_log() function. (#507515, #689525)Bill Nottingham2011-03-251-0/+23
|
* Fix check for unmanaged devices so it does the right thing with devices NM ↵Bill Nottingham2011-03-101-1/+1
| | | | | | doesn't know about at all. (#670154) It was returning nonexistent devices, or devies NM knew nothing about (bridges), as being managed.
* Drop some unnecessary command invocations.Ville Skyttä2011-02-281-3/+2
|
* Frob device when calling sysctl, in case of vlans. (#665601, #667211, ↵Bill Nottingham2011-01-041-0/+1
| | | | <ossman@cendio.se>)
* Support multiple IP addreses via IPADDRn, PREFIXn (or NETMASKn) (#633984) ↵Bill Nottingham2010-11-301-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.
* Add infiniband mapping (#648524, <monis@voltaire.com>)Bill Nottingham2010-11-011-0/+3
|
* Fix ifdown calling nmcli for NM-managed devices; others are handled by ↵Jiří Klimeš2010-11-011-0/+5
| | | | ifdown-${DEVICETYPE} (#612934).
* Cleanup.Bill Nottingham2010-06-241-2/+2
|
* 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.initscripts-9.12-1Bill Nottingham2010-05-051-2/+2
|
* Redirect error messages to /dev/null to catch if nmcli is not installed. ↵Bill Nottingham2010-03-051-2/+2
| | | | (#570828, <zing@fastmail.fm>)
* Only use UUID to bring connections up/down; ensure we have a UUID by asking ↵Bill Nottingham2010-03-011-3/+7
| | | | NM for it.
* Quote 'name' when passing to get_config_by_name.Bill Nottingham2010-03-011-1/+1
|
* Fix is_nm_activeBill Nottingham2010-03-011-1/+1
| | | | Some versions of nmcli have trailing whitespace.
* When bringing devices down, disconnect the device, don't down the connection.Bill Nottingham2010-03-011-0/+5
|
* Remove quotes from uuid.Bill Nottingham2010-03-011-1/+1
|
* Use NM if it's running and we have a configuration for the device.Bill Nottingham2010-03-011-0/+4
|
* Add a function that determines the status of NetworkManager; use it.Bill Nottingham2010-03-011-0/+6
|
* Add get_config_by_name, use it.Bill Nottingham2010-03-011-0/+12
|
* Add get_config_by_device, adjust caller.Bill Nottingham2010-03-011-3/+9
|
* Make sure we default to 'ok' if link checking fails.Bill Nottingham2010-02-151-1/+1
|
* Don't use ethtool to check for device w/bonding driver; just check that the ↵Bill Nottingham2010-02-151-1/+1
| | | | | | | passed device exists. If they have a device that already exists but isn't a bond, the later add will fail anyway.
* Don't use ethtool to check link ; operate on the carrier sysfs attribute.Bill Nottingham2010-02-151-20/+1
|
* 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
|
* Eliminate bunch of unnecessary stat calls and command invocations.Ville Skyttä2010-01-121-1/+1
|
* Get rid of uses of deprecated egrep and fgrep.Ville Skyttä2010-01-121-1/+1
|
* Fix some bashisms.Ville Skyttä2010-01-071-4/+4
|
* Use sysfs rather than iwconfig for wireless checkAdel Gadllah2010-01-041-3/+1
|
* Silence error. (#516569)Bill Nottingham2009-12-151-1/+1
|
* 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
|