aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/network-functions
Commit message (Collapse)AuthorAgeFilesLines
* network-functions: fix detecting wireless devices in sysfsOlivier Blin2012-10-231-1/+1
| | | | | | The wireless directory has been removed in kernel commit 35b2a113cb0298d4f9a1263338b456094a414. Check the phy80211 symlink instead.
* Make sure to invalidate nscd cache under systemd as neededColin Guthrie2012-07-131-1/+1
|
* networkmanager: Add a function to see if a connection is unavailable.Colin Guthrie2012-04-021-0/+6
| | | | e.g. if the h/w kill switch is set on a wifi device, it will be unavailable
* network: assume NetworkManager is used if NM_CONTROLLED is not setOlivier Blin2012-03-241-1/+1
| | | | Like done upstream in commit 300aaee62cd7a3166969e795b53b065c510e09c1
* Reduce differences in network scripts.Colin Guthrie2011-11-031-10/+31
| | | | | | This just merges in some upstream changes between 25 and 34 that allows for multiple static IP addresses to be defined in the ifcfg files.
* Merge commit 'initscripts-9.34-1' into mga-34Colin Guthrie2011-11-031-5/+58
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This brings our fully patched initscripts branch up to version 9.34. Some code was not easily merged and thus not all functionality relating to multiple IP addresses per interface were merged in. Conflicts: Makefile lang.csh lang.sh prefdm rc.d/init.d/functions rc.d/init.d/netfs rc.d/init.d/network rc.d/rc rc.d/rc.local rc.d/rc.sysinit service sysconfig.txt sysconfig/network-scripts/ifdown-eth sysconfig/network-scripts/ifup-eth sysconfig/network-scripts/ifup-ipv6 sysconfig/network-scripts/ifup-sit sysconfig/network-scripts/ifup-tunnel sysconfig/network-scripts/network-functions systemd/system/fedora-sysinit-unhack.service
| * 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
| |
* | Add the mdkconf patchColin Guthrie2011-10-211-43/+56
|/
* 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>.