なぜインターフェースが wlan0 ではなく wlp2s0 になっているのですか?

なぜインターフェースが wlan0 ではなく wlp2s0 になっているのですか?

すべて正常に動作しています。インターフェースが通常のwlan0ではなくデフォルトでwlp2s0に変更される理由を知りたいだけです。

答え1

古い命名標準 (eth0、wlan0) から生じた問題を解決するために、新しい命名スキームが導入されました。

以下にコンセプトの簡単な紹介と説明を示します。 http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/

基本的に、最初の2文字はインターフェースの種類を表します。「wl」はwlan、「en」はイーサネットです。次のコードは、多くの場合、コンピューター内のデバイスの物理的な配置を説明しています。p2はおそらくパソコンバス 2、s0 はスロット 0 である可能性があります。

kyodakeが指摘したように、この新しい標準はUbuntuがシステム

答え2

systemd を搭載した Ubuntu が、systemd/udevd 本体にさまざまな命名ポリシーのネイティブ サポートを追加し、biosdevname に似たスキームをデフォルトにした理由。ネットワーク インターフェイスの次のさまざまな命名スキームが、udev によってネイティブにサポートされるようになりました。

(1) Names incorporating Firmware/BIOS provided index numbers for on-board devices (example: eno1)
   (2) Names incorporating Firmware/BIOS provided PCI Express hotplug slot index numbers (example: ens1)
   (3) Names incorporating physical/geographical location of the connector of the hardware (example: enp2s0)
   (4) Names incorporating the interfaces's MAC address (example: enx78e7d1ea46da)
   (5) Classic, unpredictable kernel-native ethX naming (example: eth0)

デフォルトでは、systemd は次のポリシーに従ってインターフェースに名前を付けます。

  (1) if that information from the firmware is applicable and available, falling back to: 
  (2) if that information from the firmware is applicable and available, falling back to: 
  (3) if applicable, falling back to: 
  (5) in all other cases. 
  Policy (4) is not used by default, but is available if the user chooses so. 

関連情報