1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

nmcli con up ens224 で Error: Connection activation failed

Last updated at Posted at 2023-12-31

RHEL9で nmtui で IPアドレスを変更後に、nmcli con down ens224; nmcli con up ens224 あたりを実行していたらネットワークがおかしくなった。
その時の解決方法をメモ。

# nmcli con up ens224
Error: Connection activation failed: No suitable device found for this connection (device nic0 not available because device is strictly unmanaged).

解決方法

nmcli でネットワークを有効にします。

nmcli networking on

Root Cause

nmcli network off コマンドでネットワーク状態が無効にされていました。
/var/lib/NetworkManager.state ファイルの NetworkingEnabled パラメーターが False に設定されています。

# cat /var/lib/NetworkManager/NetworkManager.state
[main]
NetworkingEnabled=false   <<<<<
WirelessEnabled=true
WWANEnabled=true

Diagnostic Steps

NetworkingEnabled パラメーターが false に設定されている場合、次のログが /var/log/messages に報告されます。

Mar 23 10:14:07 hostname NetworkManager[594503]: <info>  [1616487247.0431] manager: Networking is disabled by state file
Mar 23 10:14:36 hostname NetworkManager[594614]: <info>  [1616487276.6813] manager: Networking is disabled by state file

以下からの抜粋(要ログイン)。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?