Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Switch the default logging value to error. | Bill Nottingham | 2011-03-25 | 1 | -2/+2 |
| | | | | It's what's used the most. | ||||
* | Make net_log()'s output similar to that of the ipv6 logger. | Bill Nottingham | 2011-03-25 | 1 | -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 Nottingham | 2011-03-25 | 1 | -0/+23 |
| | |||||
* | Fix check for unmanaged devices so it does the right thing with devices NM ↵ | Bill Nottingham | 2011-03-10 | 1 | -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-28 | 1 | -3/+2 |
| | |||||
* | Frob device when calling sysctl, in case of vlans. (#665601, #667211, ↵ | Bill Nottingham | 2011-01-04 | 1 | -0/+1 |
| | | | | <ossman@cendio.se>) | ||||
* | Support multiple IP addreses via IPADDRn, PREFIXn (or NETMASKn) (#633984) ↵ | Bill Nottingham | 2010-11-30 | 1 | -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 Nottingham | 2010-11-01 | 1 | -0/+3 |
| | |||||
* | Fix ifdown calling nmcli for NM-managed devices; others are handled by ↵ | Jiří Klimeš | 2010-11-01 | 1 | -0/+5 |
| | | | | ifdown-${DEVICETYPE} (#612934). | ||||
* | Cleanup. | Bill Nottingham | 2010-06-24 | 1 | -2/+2 |
| | |||||
* | Handle quoted SUBCHANNELS (#607481) | Bill Nottingham | 2010-06-24 | 1 | -2/+2 |
| | |||||
* | Check NM_CONTROLLED before deciding to use NM for a connection. (#599707, ↵ | Bill Nottingham | 2010-06-04 | 1 | -1/+1 |
| | | | | probably others.) | ||||
* | Behave sanely if we're not passed a device at all. (#589521, #592108) | Bill Nottingham | 2010-05-13 | 1 | -0/+2 |
| | |||||
* | Get rid of a silly error message for loopback devices. | Bill Nottingham | 2010-05-13 | 1 | -1/+1 |
| | |||||
* | Update for new nmcli syntax.initscripts-9.12-1 | Bill Nottingham | 2010-05-05 | 1 | -2/+2 |
| | |||||
* | Redirect error messages to /dev/null to catch if nmcli is not installed. ↵ | Bill Nottingham | 2010-03-05 | 1 | -2/+2 |
| | | | | (#570828, <zing@fastmail.fm>) | ||||
* | Only use UUID to bring connections up/down; ensure we have a UUID by asking ↵ | Bill Nottingham | 2010-03-01 | 1 | -3/+7 |
| | | | | NM for it. | ||||
* | Quote 'name' when passing to get_config_by_name. | Bill Nottingham | 2010-03-01 | 1 | -1/+1 |
| | |||||
* | Fix is_nm_active | Bill Nottingham | 2010-03-01 | 1 | -1/+1 |
| | | | | Some versions of nmcli have trailing whitespace. | ||||
* | When bringing devices down, disconnect the device, don't down the connection. | Bill Nottingham | 2010-03-01 | 1 | -0/+5 |
| | |||||
* | Remove quotes from uuid. | Bill Nottingham | 2010-03-01 | 1 | -1/+1 |
| | |||||
* | Use NM if it's running and we have a configuration for the device. | Bill Nottingham | 2010-03-01 | 1 | -0/+4 |
| | |||||
* | Add a function that determines the status of NetworkManager; use it. | Bill Nottingham | 2010-03-01 | 1 | -0/+6 |
| | |||||
* | Add get_config_by_name, use it. | Bill Nottingham | 2010-03-01 | 1 | -0/+12 |
| | |||||
* | Add get_config_by_device, adjust caller. | Bill Nottingham | 2010-03-01 | 1 | -3/+9 |
| | |||||
* | Make sure we default to 'ok' if link checking fails. | Bill Nottingham | 2010-02-15 | 1 | -1/+1 |
| | |||||
* | Don't use ethtool to check for device w/bonding driver; just check that the ↵ | Bill Nottingham | 2010-02-15 | 1 | -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 Nottingham | 2010-02-15 | 1 | -20/+1 |
| | |||||
* | Fix various device checks to not misidentify devices. | Bill Nottingham | 2010-02-12 | 1 | -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 Nottingham | 2010-01-22 | 1 | -6/+7 |
| | |||||
* | Eliminate bunch of unnecessary stat calls and command invocations. | Ville Skyttä | 2010-01-12 | 1 | -1/+1 |
| | |||||
* | Get rid of uses of deprecated egrep and fgrep. | Ville Skyttä | 2010-01-12 | 1 | -1/+1 |
| | |||||
* | Fix some bashisms. | Ville Skyttä | 2010-01-07 | 1 | -4/+4 |
| | |||||
* | Use sysfs rather than iwconfig for wireless check | Adel Gadllah | 2010-01-04 | 1 | -3/+1 |
| | |||||
* | Silence error. (#516569) | Bill Nottingham | 2009-12-15 | 1 | -1/+1 |
| | |||||
* | Remove IUCV support. (#507217) | Bill Nottingham | 2009-10-26 | 1 | -3/+0 |
| | |||||
* | Load bonding driver if BONDING_OPTS is defined. (#516569) | Bill Nottingham | 2009-10-20 | 1 | -0/+2 |
| | |||||
* | Use $(( )) for arithmetic statements instead of let or $[ ]. | Victor Lowther | 2009-07-30 | 1 | -3/+3 |
| | |||||
* | Use $() instead of `` for process expansion. | Bill Nottingham | 2009-07-30 | 1 | -19/+19 |
| | | | | Adapted from <victor.lowther@gmail.com>. | ||||
* | Don't use mii-tool for link status; only use ethtool. | Bill Nottingham | 2009-07-02 | 1 | -13/+3 |
| | | | | Essentially a consequence of bug #491358. | ||||
* | Explicitly source from the proper directory. (#496233) | Bill Nottingham | 2009-04-21 | 1 | -2/+2 |
| | |||||
* | Handle full paths in need_config/source_config by normalizing them (#483257) | Bill Nottingham | 2009-03-16 | 1 | -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 Nottingham | 2009-03-16 | 1 | -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 Nottingham | 2009-01-28 | 1 | -4/+4 |
| | | | | bash 4 breaks the prior code. | ||||
* | fixed typo in get_config_by_subchannel() | Harald Hoyer | 2008-11-25 | 1 | -1/+1 |
| | |||||
* | fixed SUBCHANNEL grep for s390 | Harald Hoyer | 2008-11-12 | 1 | -1/+3 |
| | |||||
* | fixed bug #459044 | Harald Hoyer | 2008-11-11 | 1 | -1/+1 |
| | | | | refined the grep statement | ||||
* | Remove reference to rename_device. | Bill Nottingham | 2008-10-03 | 1 | -1/+0 |
| | | | | rename_device no longer exists. | ||||
* | https://bugzilla.redhat.com/show_bug.cgi?id=447928 | Harald Hoyer | 2008-09-16 | 1 | -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 Nottingham | 2008-09-03 | 1 | -1/+1 |
| | | | | Updated iproute doesn't like the old syntax. |