我最近下载了我的 TP Link 以太网适配器的驱动程序。它采用 .tar 格式。但是,作为 Ubuntu 新手,我不知道如何手动安装下载的驱动程序。此外,该适配器具有即插即用支持,之前它曾经在没有任何驱动程序的情况下工作,但它不久前停止工作,并且在已安装的驱动程序中没有显示任何内容。对此有何意见?
编辑 -在终端上运行lsusb -
Bus 002 Device 002: ID 2357:0601
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 13d3:3526 IMC Networks
Bus 001 Device 002: ID 13d3:5a07 IMC Networks
Bus 001 Device 004: ID 03f0:0941 Hewlett-Packard
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
驱动链接
编辑2-
lsmod | grep -e cdc -e r81
cdc_ether 20480 0
usbnet 45056 1 cdc_ether
r8152 65536 0
mii 16384 2 usbnet,r8152
modinfo r8152 | grep 0601
alias: usb:v2357p0601d*dc*dsc*dp*ic02isc06ip00in*
alias: usb:v2357p0601d*dc*dsc*dp*icFFisc*ip*in*
ipl
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: wlp2s0: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
link/ether d0:c5:d3:9f:b2:cf brd ff:ff:ff:ff:ff:ff
8: enx503eaa292ae3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
link/ether 50:3e:aa:29:2a:e3 brd ff:ff:ff:ff:ff:ff
编辑2-
ipa
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: wlp2s0: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether d0:c5:d3:9f:b2:cf brd ff:ff:ff:ff:ff:ff
10: enx503eaa292ae3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 50:3e:aa:29:2a:e3 brd ff:ff:ff:ff:ff:ff
inet 192.168.2.100/24 brd 192.168.2.255 scope global dynamic noprefixroute enx503eaa292ae3
valid_lft 19sec preferred_lft 19sec
inet6 fe80::5cb1:ab0:a367:974c/64 scope link noprefixroute
valid_lft forever preferred_lft forever
知识产权
default via 192.168.2.1 dev enx503eaa292ae3 proto dhcp metric 20100
169.254.0.0/16 dev enx503eaa292ae3 scope link metric 1000
192.168.2.0/24 dev enx503eaa292ae3 proto kernel scope link src 192.168.2.100 metric 100
平 -c3 8.8.8.8
connect: Network is unreachable
ls -al /etc/resolv.conf
lrwxrwxrwx 1 root root 39 Aug 10 19:24 /etc/resolv.conf -> ../run/systemd/resolve/stub-resolv.conf
dmesg | grep enx
[ 13.633275] r8152 2-1:1.0 enx503eaa292ae3: renamed from eth0
[ 19.983226] IPv6: ADDRCONF(NETDEV_CHANGE): enx503eaa292ae3: link becomes ready
[ 19.983508] r8152 2-1:1.0 enx503eaa292ae3: carrier on
我不认为这里的问题是缺少驱动程序,而是缺少网络连接的配置。
按屏幕顶部的箭头,选择有线连接,然后按连接。这应该会激活连接。
我终于能够解决这个问题。
似乎由于某种原因,尽管已连接,但 IP 并未分配给以太网连接。所以我按照此链接上的说明进行操作。由于以太网连接与 Windows 完美配合,我从 Windows 复制了 IPv4 地址、网络掩码和默认网关,并在 Ubuntu 中使用。有效(尽管不确定这是否是永久解决方案)。