设备和连接的MAC地址不匹配

问题描述

使用nmcli connection up MyNetwork ifname wlan0时出现此错误

 Error: device 'wlan0' not compatible with connection 'MyNetwork':The MACs of the device and the connection didn't match..

用于激活网络的接口是另一个接口。 但是,如何允许每个接口使用该nmcli命令访问该连接?

解决方法

使用 nmcli,实现我想要的唯一可用方法实际上是为每个接口创建一个新连接。