diff options
Diffstat (limited to 'src/lib/connections')
-rw-r--r-- | src/lib/connections/bond | 2 | ||||
-rw-r--r-- | src/lib/connections/ethernet | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/connections/bond b/src/lib/connections/bond index af95753..c22fc82 100644 --- a/src/lib/connections/bond +++ b/src/lib/connections/bond @@ -10,7 +10,7 @@ bond_up() { report_error "Interface '$Interface' already exists" return 1 else - ip link add dev "$Interface" type bond + ip link add name "$Interface" type bond fi bring_interface_up "$Interface" diff --git a/src/lib/connections/ethernet b/src/lib/connections/ethernet index dfd0117..3db69a0 100644 --- a/src/lib/connections/ethernet +++ b/src/lib/connections/ethernet @@ -22,7 +22,7 @@ ethernet_up() { if ! is_yes "${SkipNoCarrier:-no}"; then # Some cards are plain slow to come up. Don't fail immediately. if ! timeout_wait "${TimeoutCarrier:-5}" '(( $(< "/sys/class/net/$Interface/carrier") ))'; then - report_error "No connection on interface '$Interface'" + report_error "No connection found on interface '$Interface' (timeout)" bring_interface_down "$Interface" return 1 fi |