你好,我正在 Debian 上工作。想根据驱动程序命名我的 wifi 接口
修改/etc/udev/rules.d/90-persistent-net.rules
和:
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="*", ATTR{type}=="1", KERNEL=="wlan*", NAME="test001"
我在哪里可以找到?或DRIVERS=="?*"
更好的是我应该使用哪一部分lshw -class network
:
.....
.....
*-network
description: Wireless interface
physical id: 3
logical name: wlp5s0b1
serial: 00:26:82:e7:b8:32
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=brcmsmac driverversion=4.4.0-53-generic firmware=610.812 ip=192.168.0.14 link=yes multicast=yes wireless=IEEE 802.11bgn