Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ifdown-ipv6: reset addrgenmode to eui64 for device | Lukas Nykryn | 2014-12-16 | 1 | -0/+1 |
| | |||||
* | ifup: fix typo | Lukas Nykryn | 2014-12-16 | 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> | ||||
* | adjust LINKDELAY when STP is on | Laine Stump | 2014-11-12 | 1 | -1/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | This resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1162822 When ifup is called on an interface that has BOOTPROTO=dhcp, ifup-eth will call network-functions:check_link_down() to wait for carrier on the interface before starting dhclient. If the interface happens to be a bridge device, carrier will not come on until at least one attached device is in "forwarding" mode. If the bridge has STP enabled, it takes at least $DELAY * 2 + 5 seconds (sometimes slightly longer) for any attached device to go into forwarding mode. However, check_link_down() will only wait for max(${LINKDELAY}, 5) seconds for carrier, and there are *many* existing configs that have STP enabled but no setting for LINKDELAY. Every one of those configs will now fail to ifup the bridge device. The solution implemented in this patch is for ifup-eth to set LINKDELAY to at least ${DELAY} * 2 + 7 when the device is a bridge an STP is enabled. Since check_link_down() returns within .5 sec of carrier coming up, the worst effect this could have would be to take longer to fail in the case of a config where carrier was *never* going to come up. Otherwise, it will not create any more delay than is already present in cases that currently work, and will cause many other configs to become unbroken. | ||||
* | ifup,vlan: fix typo | Lukas Nykryn | 2014-10-24 | 1 | -1/+1 |
| | |||||
* | 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 | 3 | -2/+19 |
| | |||||
* | 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 | ||||
* | ifup: if we were unable to determine DEVICE always call nmcli up | Lukas Nykryn | 2014-09-16 | 1 | -1/+1 |
| | |||||
* | ifup-tunnel: call ifup-ipv6 in the end | Lukas Nykryn | 2014-09-16 | 1 | -0/+3 |
| | |||||
* | ifup: also set multicast_snooping after the bridge is up | Lukas Nykryn | 2014-09-16 | 1 | -1/+1 |
| | |||||
* | network-functions: ETHTOOL_DELAY introduction patch | Lukas Nykryn | 2014-09-09 | 1 | -0/+1 |
| | |||||
* | custom naming for VLAN devices | Lukas Nykryn | 2014-09-09 | 1 | -15/+22 |
| | |||||
* | ifup-wireless: add support for wowlan | Eduardo Minguez | 2014-09-09 | 1 | -0/+5 |
| | | | | | Conflicts: sysconfig/network-scripts/ifup-wireless | ||||
* | ifup-wireless: add support for wowlan (second part) | Eduardo Minguez | 2014-09-09 | 1 | -0/+5 |
| | |||||
* | ifup-aliases: do not bring up ipv6 for range files | Lukas Nykryn | 2014-08-08 | 1 | -0/+1 |
| | |||||
* | ifup-aliases: improve duplicate address detection | Lukas Nykryn | 2014-07-24 | 1 | -6/+8 |
| | |||||
* | network-functions: handle BONDING_OPTS better | Jirka Klimes | 2014-07-24 | 1 | -3/+29 |
| | |||||
* | ifup-eth: some options for bridge can be applied after the bridge is up | Lukas Nykryn | 2014-04-29 | 1 | -0/+10 |
| | | | | | Conflicts: sysconfig/network-scripts/ifup-eth | ||||
* | move ppp support to ppp package | Lukas Nykryn | 2014-04-24 | 2 | -208/+0 |
| | |||||
* | 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: add support for team devices | Jiri Pirko | 2014-03-31 | 2 | -0/+20 |
| | | | | | | | | | | | | | | | | | | Currently, team masters and slaves are supported via ifup-Team* and ifdown-Team* scripts shipped in teamd package. It uses somehow ugly workaround where user have to specify DEVIVETYPE to "Team" or "TeamPort". This turned out to be non-optimal solution as this is confusing users. Also it does not work when TYPE is set. So fix this by adding the team support hooks directly into initscripts. Now for team port, user needs only to set: TEAM_MASTER="teamx" and for team master, user needs only to set: TEAM_CONFIG="...whatever..." Signed-off-by: Jiri Pirko <jiri@resnulli.us> | ||||
* | ifup-wireless: fix syntax error | kc8hfi@gmail.com | 2014-03-31 | 1 | -1/+1 |
| | |||||
* | bridging: add possibility to set prio and ageing | Lukas Nykryn | 2014-03-19 | 1 | -0/+2 |
| | |||||
* | ifup: add possibility to specify value for -w parameter of arping | Lukas Nykryn | 2014-03-19 | 2 | -2/+2 |
| | |||||
* | network: try to not compete with NM during boot | Lukas Nykryn | 2014-03-11 | 2 | -0/+6 |
| | |||||
* | update ifup/ifdown NetworkManager interaction once more(#1036701, #1061810) | Lukas Nykryn | 2014-03-03 | 1 | -1/+1 |
| | |||||
* | network: modify ifup-wireless so it doesn't call exit | Pavel Šimerda | 2014-02-19 | 1 | -11/+14 |
| | | | | https://bugzilla.redhat.com/show_bug.cgi?id=1057635 | ||||
* | update ifup/ifdown NetworkManager interaction (#1036701, #1061810) | Lukas Nykryn | 2014-02-13 | 2 | -3/+4 |
| | |||||
* | Delete IPX support. | Bill Nottingham | 2014-01-15 | 2 | -45/+0 |
| | | | | | | | Conflicts: rc.d/init.d/network sysconfig.txt sysconfig/network-scripts/ifup-ipx | ||||
* | ifdown: fix typo in nmcli call (#1006222) | Lukas Nykryn | 2014-01-14 | 1 | -2/+2 |
| | |||||
* | update functions who call nmcli (#1002958) | Lukas Nykryn | 2014-01-14 | 2 | -3/+3 |
| | |||||
* | use iw instead of iwconfig and friends (#915343) | Lukas Nykryn | 2013-12-10 | 1 | -79/+21 |
| | |||||
* | ifup-eth: fix typo in error message (#1038776) | Václav Pavlín | 2013-12-06 | 1 | -1/+1 |
| | |||||
* | 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. | ||||
* | consider IPV6INIT undefined as YES | Lukas Nykryn | 2013-07-29 | 5 | -9/+9 |
| | |||||
* | drop useless variables from /etc/sysconfig/init | Lukas Nykryn | 2013-07-11 | 2 | -12/+0 |
| | |||||
* | ifup-eth: print error only if arping is really called (#974603) | Václav Pavlín | 2013-06-17 | 1 | -5/+6 |
| | |||||
* | Tweak ifup/ifdown usage and man page to more clearly state that they refer ↵ | Bill Nottingham | 2013-05-24 | 2 | -4/+4 |
| | | | | to configurations, not devices. | ||||
* | network-functions: to determine state of nscd check socket not lock (#960779) | Lukas Nykryn | 2013-05-22 | 1 | -1/+1 |
| | |||||
* | try dhcpv6 after v4 failed | Lukas Nykryn | 2013-04-12 | 1 | -2/+20 |
| | |||||
* | Reload sysctl settings for vlans on ifup | Václav Pavlín | 2013-04-09 | 1 | -0/+2 |
| | |||||
* | replace tunctl with ip tuntap (#947875) | Lukas Nykryn | 2013-04-09 | 2 | -8/+8 |
| | |||||
* | ifup-eth: ignore arping errors (#928379) | Lukas Nykryn | 2013-04-08 | 1 | -1/+2 |
| | |||||
* | call flush addresses with scope global | Lukas Nykryn | 2013-04-03 | 1 | -2/+2 |
| | |||||
* | ifdown: don't call nmcli on interface that is alread down | Lukas Nykryn | 2013-04-02 | 1 | -2/+5 |
| | |||||
* | set net.ipv6.conf..autoconf in ifup-ipv6 | Lukas Nykryn | 2013-04-02 | 1 | -0/+1 |
| |