我最近下载了 TP Link 以太网适配器的驱动程序。它是 .tar 格式的。但是,作为 Ubuntu 新手,我不知道如何手动安装下载的驱动程序。此外,该适配器具有即插即用支持,以前它不需要任何驱动程序就可以工作,但不久前它停止工作,并且在已安装的驱动程序中没有任何显示。对此有什么意见吗?
编辑-运行系统盘在终端上 -
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
修改信息 r8152 |复制代码
alias: usb:v2357p0601d*dc*dsc*dp*ic02isc06ip00in*
alias: usb:v2357p0601d*dc*dsc*dp*icFFisc*ip*in*
免疫印迹
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-
知识产权
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
ping -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
答案1
答案2
我最终解决了这个问题。
似乎由于某种原因,尽管已连接,但 IP 并未分配给以太网连接。因此,我按照此链接。由于以太网连接在 Windows 上完美运行,我从 Windows 复制了 IPv4 地址、网络掩码和默认网关,并在 Ubuntu 中使用。有效(虽然不确定这是否是永久解决方案)。