我有一个 Realtek 互联网棒,我做了很多恶作剧来安装它,它运行得非常好。但是,每次我重新启动计算机时,它都会自动尝试连接 Lite-On 以太网。即使我手动将其关闭,它似乎也随机尝试重新打开 Lite-On 以太网。当然,它无法连接,因为我的电脑没有插入以太网电缆,所以它不断发送“Lite-On 以太网连接失败”的消息,真的很烦人。有没有办法让它自动关闭?
结果lsusb
:
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 003: ID 045e:00f7 Microsoft Corp. LifeCam VX-1000
Bus 007 Device 002: ID 0d8c:0012 C-Media Electronics, Inc. USB Audio Device
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 003: ID 413c:3012 Dell Computer Corp. Optical Wheel Mouse
Bus 006 Device 002: ID 045e:00b0 Microsoft Corp. Digital Media Pro Keyboard
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0bda:0811 Realtek Semiconductor Corp. 802.11ac WLAN Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
结果lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.1 LTS
Release: 20.04
Codename: focal
结果ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp3s2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 1000
link/ether 00:00:b5:94:7b:1b brd ff:ff:ff:ff:ff:ff
3: enp0s25: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
link/ether 00:1a:a0:d2:a8:0f brd ff:ff:ff:ff:ff:ff
4: wlxe84e06562df0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 2312 qdisc mq state UP group default qlen 1000
link/ether e8:4e:06:56:2d:f0 brd ff:ff:ff:ff:ff:ff
inet 192.168.40.121/24 brd 192.168.40.255 scope global dynamic noprefixroute wlxe84e06562df0
valid_lft 23363sec preferred_lft 23363sec
inet6 fe80::e6d0:b064:844f:59b9/64 scope link noprefixroute
valid_lft forever preferred_lft forever
5: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
link/ether 52:54:00:d1:df:76 brd ff:ff:ff:ff:ff:ff
inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
valid_lft forever preferred_lft forever
6: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc fq_codel master virbr0 state DOWN group default qlen 1000
link/ether 52:54:00:d1:df:76 brd ff:ff:ff:ff:ff:ff
打开有线连接设置面板,然后取消选中自动连接。