0
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 3 years have passed since last update.

CentOS8 USB LANアダプターのネットワークの設定

Posted at

おうちサーバのNUCの有線LANが認識しない?

ちょいと色々と設定入れていたら NetworkManager が起動しなくなっちゃり内蔵の有線LANが認識しないとかあったので、USB LANアダプターを刺してみた。そして少しはまったので自分めも。

USB LANアダプター認識するも

LANアダプター認識しているがアドレス設定できない・・・。

# nmcli d
DEVICE           TYPE      STATE     CONNECTION 
enp0s20f0u3      ethernet  切断済み  --         

# nmcli c modify enp0s20f0u3 ipv4.addresses 192.168.33.34/24 
エラー: 不明な接続 'enp0s20f0u3'.

新規デバイスを追加をする

すっかり忘れてた、そしてぐぐった。新規デバイスを追加しないとだめやんね。

# nmcli c add type ethernet ifname enp0s20f0u3 con-name enp0s20f0u3
接続 'enp0s20f0u3' (c6488439-e233-4874-8b2b-13f8d5022501) が正常に追加されました。

# nmcli c modify enp0s20f0u3 ipv4.addresses 192.168.33.34/24 

# nmcli d
DEVICE           TYPE      STATE     CONNECTION  
enp0s20f0u3      ethernet  接続済み  enp0s20f0u3 

すっきり

なぜか内蔵の有線LANも認識した。折角USB LANかってきたのにうむむ…。

0
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
0
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?