有没有办法从 USB 安装更新/驱动程序?

有没有办法从 USB 安装更新/驱动程序?

因此,今天我大部分时间都在尝试使无线连接正常工作。我能找到的唯一解决方案是让我下载各种驱动程序或更新,这通常是第一步。有些指南甚至告诉我仅针对诊断步骤使用 wget 脚本。

这是不可能的。我无法通过以太网连接到我的路由器,因为它在房子后面的楼上,而有问题的 PC 在楼下前面。

有没有什么方法可以在我主电脑上找到并下载更新,并通过 USB 将它们传输到 Lubuntu?

有没有什么地方我可以找到并从 USB 下载并安装 ath9k 驱动程序?(据我了解,它应该随发行版一起提供,但在 Lubuntu 16.04 中肯定没有)。

有没有什么地方可以找到并安装 NdisWrapper?我无法在 Lubuntu 中运行 make 命令,因为 Lubuntu 缺少“make”包,所以我还需要一种方法来安装 make 包。

大致按照我喜欢的顺序询问。

编辑:

运行部分命令的结果如下:

sudo lshw -C 网络

 *-network               
   description: Ethernet interface
   product: 82566DM-2 Gigabit Network Connection
   vendor: Intel Corporation
   physical id: 19
   bus info: pci@0000:00:19.0
   logical name: enp0s25
   version: 02
   serial: 00:21:70:1d:6f:56
   capacity: 1Gbit/s
   width: 32 bits
   clock: 33MHz
   capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
   configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k firmware=1.4-0 latency=0 link=no multicast=yes port=twisted pair
   resources: irq:25 memory:fe9e0000-fe9fffff memory:fe9db000-fe9dbfff ioport:ecc0(size=32)

lspci-vnn

00:00.0 Host bridge [0600]: Intel Corporation 82Q35 Express DRAM Controller [8086:29b0] (rev 02)
Subsystem: Dell OptiPlex 755 [1028:0211]
Flags: bus master, fast devsel, latency 0
Capabilities: <access denied>

00:02.0 VGA compatible controller [0300]: Intel Corporation 82Q35 Express Integrated Graphics Controller [8086:29b2] (rev 02) (prog-if 00 [VGA controller])
Subsystem: Dell OptiPlex 755 [1028:0211]
Flags: bus master, fast devsel, latency 0, IRQ 26
Memory at fea00000 (32-bit, non-prefetchable) [size=512K]
I/O ports at ec90 [size=8]
Memory at d0000000 (32-bit, prefetchable) [size=256M]
Memory at feb00000 (32-bit, non-prefetchable) [size=1M]
[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: i915
Kernel modules: i915

00:02.1 Display controller [0380]: Intel Corporation 82Q35 Express Integrated Graphics Controller [8086:29b3] (rev 02)
Subsystem: Dell OptiPlex 755 [1028:0211]
Flags: bus master, fast devsel, latency 0
Memory at fea80000 (32-bit, non-prefetchable) [size=512K]
Capabilities: <access denied>

00:03.0 Communication controller [0780]: Intel Corporation 82Q35 Express MEI Controller [8086:29b4] (rev 02)
Subsystem: Dell OptiPlex 755 [1028:0211]
Flags: bus master, fast devsel, latency 0, IRQ 28
Memory at f0200800 (64-bit, non-prefetchable) [size=16]
Capabilities: <access denied>
Kernel driver in use: mei_me
Kernel modules: mei_me

00:03.2 IDE interface [0101]: Intel Corporation 82Q35 Express PT IDER Controller [8086:29b6] (rev 02) (prog-if 85 [Master SecO PriO])
Subsystem: Dell OptiPlex 755 [1028:0211]
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 18
I/O ports at fe80 [size=8]
I/O ports at fe90 [size=4]
I/O ports at fea0 [size=8]
I/O ports at feb0 [size=4]
I/O ports at fef0 [size=16]
Capabilities: <access denied>
Kernel driver in use: ata_generic
Kernel modules: pata_acpi

00:03.3 Serial controller [0700]: Intel Corporation 82Q35 Express Serial KT Controller [8086:29b7] (rev 02) (prog-if 02 [16550])
Subsystem: Dell OptiPlex 755 [1028:0211]
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 17
I/O ports at ec98 [size=8]
Memory at fe9da000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: serial

00:19.0 Ethernet controller [0200]: Intel Corporation 82566DM-2 Gigabit Network Connection [8086:10bd] (rev 02)
Subsystem: Dell OptiPlex 755 [1028:0211]
Flags: bus master, fast devsel, latency 0, IRQ 25
Memory at fe9e0000 (32-bit, non-prefetchable) [size=128K]
Memory at fe9db000 (32-bit, non-prefetchable) [size=4K]
I/O ports at ecc0 [size=32]
Capabilities: <access denied>
Kernel driver in use: e1000e
Kernel modules: e1000e

00:1a.0 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 [8086:2937] (rev 02) (prog-if 00 [UHCI])
Subsystem: Dell Optiplex 755 [1028:0211]
Flags: bus master, medium devsel, latency 0, IRQ 16
I/O ports at ff20 [size=32]
Capabilities: <access denied>
Kernel driver in use: uhci_hcd

00:1a.1 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 [8086:2938] (rev 02) (prog-if 00 [UHCI])
Subsystem: Dell Optiplex 755 [1028:0211]
Flags: bus master, medium devsel, latency 0, IRQ 17
I/O ports at ff00 [size=32]
Capabilities: <access denied>
Kernel driver in use: uhci_hcd

00:1a.7 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 [8086:293c] (rev 02) (prog-if 20 [EHCI])
Subsystem: Dell Optiplex 755 [1028:0211]
Flags: bus master, medium devsel, latency 0, IRQ 22
Memory at fe9d9c00 (32-bit, non-prefetchable) [size=1K]
Capabilities: <access denied>
Kernel driver in use: ehci-pci

00:1b.0 Audio device [0403]: Intel Corporation 82801I (ICH9 Family) HD Audio Controller [8086:293e] (rev 02)
Subsystem: Dell Optiplex 755 [1028:0211]
Flags: bus master, fast devsel, latency 0, IRQ 29
Memory at fe9dc000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel

00:1c.0 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 [8086:2940] (rev 02) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 24
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 00001000-00001fff
Memory behind bridge: fe800000-fe8fffff
Prefetchable memory behind bridge: 00000000f0000000-00000000f01fffff
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp

00:1d.0 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 [8086:2934] (rev 02) (prog-if 00 [UHCI])
Subsystem: Dell Optiplex 755 [1028:0211]
Flags: bus master, medium devsel, latency 0, IRQ 23
I/O ports at ff80 [size=32]
Capabilities: <access denied>
Kernel driver in use: uhci_hcd

00:1d.1 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 [8086:2935] (rev 02) (prog-if 00 [UHCI])
Subsystem: Dell Optiplex 755 [1028:0211]
Flags: bus master, medium devsel, latency 0, IRQ 17
I/O ports at ff60 [size=32]
Capabilities: <access denied>
Kernel driver in use: uhci_hcd

00:1d.2 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 [8086:2936] (rev 02) (prog-if 00 [UHCI])
Subsystem: Dell Optiplex 755 [1028:0211]
Flags: bus master, medium devsel, latency 0, IRQ 18
I/O ports at ff40 [size=32]
Capabilities: <access denied>
Kernel driver in use: uhci_hcd

00:1d.7 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 [8086:293a] (rev 02) (prog-if 20 [EHCI])
Subsystem: Dell Optiplex 755 [1028:0211]
Flags: bus master, medium devsel, latency 0, IRQ 23
Memory at ff980800 (32-bit, non-prefetchable) [size=1K]
Capabilities: <access denied>
Kernel driver in use: ehci-pci

00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev 92) (prog-if 01 [Subtractive decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=32
Capabilities: <access denied>

00:1f.0 ISA bridge [0601]: Intel Corporation 82801IO (ICH9DO) LPC Interface Controller [8086:2914] (rev 02)
Flags: bus master, medium devsel, latency 0
Capabilities: <access denied>
Kernel driver in use: lpc_ich
Kernel modules: lpc_ich

00:1f.2 SATA controller [0106]: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 6 port SATA Controller [AHCI mode] [8086:2922] (rev 02) (prog-if 01 [AHCI 1.0])
Subsystem: Dell 82801IR/IO/IH (ICH9R/DO/DH) 6 port SATA Controller [AHCI mode] [1028:0211]
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 27
I/O ports at fe00 [size=8]
I/O ports at fe10 [size=4]
I/O ports at fe20 [size=8]
I/O ports at fe30 [size=4]
I/O ports at fec0 [size=32]
Memory at f0200000 (32-bit, non-prefetchable) [size=2K]
Capabilities: <access denied>
Kernel driver in use: ahci
Kernel modules: ahci

00:1f.3 SMBus [0c05]: Intel Corporation 82801I (ICH9 Family) SMBus Controller [8086:2930] (rev 02)
Subsystem: Dell Optiplex 755 [1028:0211]
Flags: medium devsel, IRQ 9
Memory at fe9d9b00 (64-bit, non-prefetchable) [size=256]
I/O ports at ece0 [size=32]
Kernel modules: i2c_i801

抱歉,当我运行通过 grep 管道传输的那些命令(?或反之亦然)时,我对结果有点困惑,所以我想分享完整的结果。02.0 似乎与集成显卡有关?

如果有帮助的话,我的无线网卡是 TL-WN722N USB,而不是 PCI-E 插槽(虽然我有一个 PCI-E 卡可以尝试使用,但由于戴尔 Optiplex 755 机箱的性质,我需要用锯子将机箱锯开以使其适合)。

系统盘

Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 003: ID 093a:2510 Pixart Imaging Inc. Optical Mouse
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
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 004: ID 2357:010c
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 1a2c:0002 China Resource Smico., Ltd
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

请参阅lspci-nnk|复制代码

blank/null result

答案1

请在其他计算机上下载这些文件,然后使用 USB 密钥或类似设备将其传输到 Lubuntu 机器的桌面:

https://github.com/lwfinger/rtl8188eu/archive/master.zip

http://mirrors.kernel.org/ubuntu/pool/main/d/dkms/dkms_2.2.0.3-2ubuntu11_all.deb

现在,在 Lubuntu 机器的桌面上安装陣容

cd ~/Desktop
sudo dpkg -i dkms*.deb

如果它抱怨缺少依赖项,请告诉我们它们是什么,以便我们可以下载更多软件包来满足缺少的依赖项。缺少的软件包可以在这里找到:https://packages.ubuntu.com/xenial/dkms请务必根据您的机器需要选择 32 位 (i386) 或 64 位 (amd64)。确认:

arch

32 位返回 i686,64 位返回 x86_64。

请参阅下面@JimmyM 的非常有用的列表以获取完整列表。

接下来,执行以下操作:

cd ~/Desktop
unzip master.zip
sudo mv rtl8188eu  /usr/src
cd /usr/src
sudo dkms add ./rtl8188eu
sudo dkms build 8188eu/1.0
sudo dkms install 8188eu/1.0
sudo modprobe 8188eu

你的无线网络现在应该可以正常工作了。

相关内容