AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题

问题[adapter](ubuntu)

Martin Hope
Mynul Islam
Asked: 2020-07-20 00:49:36 +0800 CST

蓝牙 4.2 在 ubuntu 20.04 中不工作

  • 0

我是linux家族的新手。最近,我在我的新笔记本电脑 (hp-15s du1030tx) 中将 Windows 10 移至 ubuntu 20.04。那个时候我的wifi和bt不工作。我修复了我的 wifi 驱动程序问题。我试图解决我的 bt 问题。我阅读了大部分关于修复 bt 驱动程序的文章。但我现在无法修复。请帮我在这里输入解决方案

输入:lspci -knn | grep 网络 -A3

03:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter [10ec:c821]
    DeviceName: WLAN
    Subsystem: Hewlett-Packard Company RTL8821CE 802.11ac PCIe Wireless Network Adapter [103c:831a]
    Kernel driver in use: rtl8821ce
    Kernel modules: 8821ce

输入:lsusb

输出:

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 30c9:0013 DJKCVA1BID55JV HP TrueVision HD Camera
Bus 001 Device 005: ID 2a7a:9a18  
Bus 001 Device 004: ID 25a7:fa23  
Bus 001 Device 002: ID 05e3:0606 Genesys Logic, Inc. USB 2.0 Hub / D-Link DUB-H4 USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

输入:dmesg | grep -i blue

输出:

[   82.410951] audit: type=1107 audit(1595147083.983:6400): pid=1011 uid=103 auid=4294967295 ses=4294967295 msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/" interface="org.freedesktop.DBus.ObjectManager" member="GetManagedObjects" mask="send" name="org.bluez" pid=3641 label="snap.chromium.chromium"
[  887.771190] audit: type=1107 audit(1595147889.350:6473): pid=1011 uid=103 auid=4294967295 ses=4294967295 msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/" interface="org.freedesktop.DBus.ObjectManager" member="GetManagedObjects" mask="send" name="org.bluez" pid=5441 label="snap.chromium.chromium"

输入:USB设备

输出:

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh=12
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev=05.04
S:  Manufacturer=Linux 5.4.0-40-generic xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=0000:00:14.0
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#=0x0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 4
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=05e3 ProdID=0606 Rev=07.02
S:  Manufacturer=ALCOR
S:  Product=USB Hub 2.0
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
I:  If#=0x0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub

T:  Bus=01 Lev=02 Prnt=02 Port=02 Cnt=01 Dev#=  4 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=25a7 ProdID=fa23 Rev=02.41
S:  Manufacturer=Compx
S:  Product=2.4G Receiver
C:  #Ifs= 2 Cfg#= 1 Atr=a0 MxPwr=100mA
I:  If#=0x0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=01 Driver=usbhid
I:  If#=0x1 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=usbhid

T:  Bus=01 Lev=02 Prnt=02 Port=03 Cnt=02 Dev#=  5 Spd=1.5 MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=2a7a ProdID=9a18 Rev=00.01
S:  Manufacturer=CASUE
S:  Product=CASUE USB Keyboard
C:  #Ifs= 2 Cfg#= 1 Atr=a0 MxPwr=100mA
I:  If#=0x0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=01 Driver=usbhid
I:  If#=0x1 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=00 Prot=00 Driver=usbhid

T:  Bus=01 Lev=01 Prnt=01 Port=04 Cnt=02 Dev#=  3 Spd=480 MxCh= 0
D:  Ver= 2.01 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=30c9 ProdID=0013 Rev=00.01
S:  Manufacturer=DJKCVA1BID55JV
S:  Product=HP TrueVision HD Camera
S:  SerialNumber=0001
C:  #Ifs= 2 Cfg#= 1 Atr=80 MxPwr=500mA
I:  If#=0x0 Alt= 0 #EPs= 1 Cls=0e(video) Sub=01 Prot=00 Driver=uvcvideo
I:  If#=0x1 Alt= 0 #EPs= 0 Cls=0e(video) Sub=02 Prot=00 Driver=uvcvideo

T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=10000 MxCh= 6
D:  Ver= 3.10 Cls=09(hub  ) Sub=00 Prot=03 MxPS= 9 #Cfgs=  1
P:  Vendor=1d6b ProdID=0003 Rev=05.04
S:  Manufacturer=Linux 5.4.0-40-generic xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=0000:00:14.0
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#=0x0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
drivers bluetooth dd adapter ubuntu-drivers
  • 1 个回答
  • 1039 Views
Martin Hope
Pedro
Asked: 2020-05-12 09:23:04 +0800 CST

未找到 Wi-Fi 适配器(仅在登录 Windows 后第一次启动)

  • 1

当我登录windows后第一次登录Linux时,在Wi-Fi设置中总是出现:找不到wifi适配器。然后,我重新启动 PC,Wi-Fi 始终可以正常工作。由于它变得非常重复并且它是一种非常无聊的方法,我想知道这个问题的原因以及可能的解决方案。

我的电脑是华硕笔记本电脑 x571gt,我使用的 Ubuntu 版本是 18.04.4 LTS。

的输出lspci -knn | grep Net -A3; rfkill list

    00:14.3 Network controller [0280]: Intel Corporation Wireless-AC 9560 [Jefferson Peak] [8086:a370] (rev 10)
    Subsystem: Intel Corporation Device [8086:0034]
    Kernel modules: iwlwifi
    00:15.0 Serial bus controller [0c80]: Intel Corporation Device [8086:a368] (rev 10)
    0: asus-wlan: Wireless LAN
    Soft blocked: no
    Hard blocked: no
    1: asus-bluetooth: Bluetooth
    Soft blocked: no
    Hard blocked: no
    2: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no

的输出uname -a; dkms status

    Linux pedro-VivoBook-ASUSLaptop-X571GT-X571GT 5.3.0-46-generic #38~18.04.1-Ubuntu SMP Tue Mar 31 04:17:56 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

的输出grep iwlwifi /etc/modprobe.d/*; dmesg | grep iwl

    /etc/modprobe.d/iwlwifi.conf:# /etc/modprobe.d/iwlwifi.conf
    /etc/modprobe.d/iwlwifi.conf:# iwlwifi will dyamically load either iwldvm or iwlmvm depending on the
    /etc/modprobe.d/iwlwifi.conf:# microcode file installed on the system.  When removing iwlwifi, first
    /etc/modprobe.d/iwlwifi.conf:# remove the iwl?vm module and then iwlwifi.
    /etc/modprobe.d/iwlwifi.conf:remove iwlwifi \
    /etc/modprobe.d/iwlwifi.conf:(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
    [   14.581229] iwlwifi 0000:00:14.3: enabling device (0000 -> 0002)
    [   14.765885] iwlwifi 0000:00:14.3: Found debug destination: EXTERNAL_DRAM
    [   14.765888] iwlwifi 0000:00:14.3: Found debug configuration: 0
    [   14.766273] iwlwifi 0000:00:14.3: loaded firmware version 46.6bf1df06.0 op_mode iwlmvm
    [   15.328227] iwlwifi 0000:00:14.3: Detected Intel(R) Dual Band Wireless AC 9560, REV=0x318
    [   15.336978] iwlwifi 0000:00:14.3: Applying debug destination EXTERNAL_DRAM
    [   15.337426] iwlwifi 0000:00:14.3: Allocated 0x00400000 bytes for firmware monitor.
    [   15.385841] iwlwifi 0000:00:14.3: base HW address: 24:ee:9a:e8:fc:92
    [   15.454703] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'
    [   17.985575] iwlwifi 0000:00:14.3 wlo1: renamed from wlan0
    [   34.480876] iwlwifi 0000:00:14.3: Applying debug destination EXTERNAL_DRAM
    [   34.598790] iwlwifi 0000:00:14.3: Applying debug destination EXTERNAL_DRAM
    [   34.665242] iwlwifi 0000:00:14.3: FW already configured (0) - re-configuring
    [   34.681305] iwlwifi 0000:00:14.3: BIOS contains WGDS but no WRDS

先感谢您!

wireless adapter
  • 1 个回答
  • 874 Views
Martin Hope
CarlosQ
Asked: 2020-04-21 17:45:20 +0800 CST

华硕 AC1200 USB AC53 Nano Wifi 适配器在 Ubuntu 18.04 上不起作用

  • 2

我有一个新的 USB Wi-Fi 适配器(ASUS AC1200 USB-AC53 Nano),但未能在 Ubuntu 18.04 中运行。我现在已经尝试了很多可能的解决方案,例如这个以及从这个repo 安装,但操作系统仍然无法识别 Wi-Fi 适配器。我可以在 lsusb 时看到它。迄今为止尝试正确编译和安装的解决方案。之后,我重新启动 PC,它停留在关闭的 Ubuntu 屏幕中,我必须手动将其关闭。再次打开后没有任何反应。只是 Wi-Fi 适配器无法识别。感谢您的帮助

编辑:

此时我全新安装了 Ubuntu 18.04。以下是 lsusb 的输出。没有 8822bu 模块,因为在全新安装之后我还没有尝试过任何驱动程序。你推荐我先尝试哪个?

lsusb
Bus 002 Device 002: ID 0bda:0328 Realtek Semiconductor Corp. 
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 413c:301a Dell Computer Corp. 
Bus 001 Device 002: ID 413c:2113 Dell Computer Corp. 
Bus 001 Device 004: ID 0b05:184c ASUSTek Computer, Inc. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

内核版本:

5.3.0-46-generic
wireless usb asus adapter
  • 2 个回答
  • 9536 Views
Martin Hope
JoelV
Asked: 2020-03-07 19:07:48 +0800 CST

Kubuntu 18.04 上的 TP-Link AC600 Archer T2U Nano 驱动程序 6 月 6 日的上一个修复对我不起作用

  • 3

用于 Ubuntu 18.04 的 TP-Link AC600 Archer T2U Nano 驱动程序 我无法让此修复程序为我工作。我进出 Ubuntu;自从我在 Ubuntu 工作以来已经至少 5 年了,我发誓过去找到驱动程序和几乎我需要的任何东西都更容易。这是我的 t2u 的位置:

     Bus 002 Device 007: ID 2357:0120

当我从上面尝试修复时,我得到:

    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    E: Unable to locate package clone
    E: Unable to locate package https://github.com/aircrack-ng
    E: Couldn't find any package by glob 'https://github.com/aircrack-ng'
    E: Couldn't find any package by regex 'https://github.com/aircrack-ng'
    E: Unable to locate package cd
    E: Unable to locate package rtl8812au

或者

    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    <omitted> 
    E: Unable to locate package clone
    E: Unable to locate package http://github.com/jeremyb31
    E: Couldn't find any package by glob 'http://github.com/jeremyb31'
    E: Couldn't find any package by regex 'http://github.com/jeremyb31'
    E: Unable to locate package cd
    E: Unable to locate package rtl8812au-1
    E: Unable to locate package chmod
    E: Unable to locate package .dkms-install.sh
    E: Couldn't find any package by glob '.dkms-install.sh'
    E: Couldn't find any package by regex '.dkms-install.sh'

或者

    Reading package lists... Done
    E: Unsupported file ./dkms-install.sh given on commandline

任何帮助都会很棒。我尝试使用来自 cd、tp 链接网站的驱动程序和上面的修复程序。谢谢你。

wireless drivers adapter 18.04
  • 2 个回答
  • 7461 Views
Martin Hope
groove
Asked: 2019-11-17 08:17:55 +0800 CST

安装下载的驱动程序

  • 0

我最近下载了我的 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
networking drivers adapter 18.04
  • 2 个回答
  • 341 Views
Martin Hope
Thomas Hordijk
Asked: 2019-06-26 02:49:42 +0800 CST

更改适配器的 IP 地址

  • 0

我正在尝试更改运行 ubuntu 16.04 的电脑上的 IP 地址。计算机未连接到 Internet。我根据官方文档中的说明更改了 /etc/network/interfaces 文件:

auto enp4s0
iface enp4s0 inet static
      address 192.168.86.220
      netmask 255.255.255.0
      gateway 192.168.86.1

我还在网络 UI 中添加了一个具有相同细节的网络连接。我可以 ping 我配置的地址,但是,在运行 ifconfig 时会显示以下地址:

enp4s0
 address 192.168.0.2
 Bcast 192.168.0.255
 netmask 255.255.255.0

无法复制全文,因为由于缺少 wifi 功能且没有可用的有线连接,我无法在另一台计算机上建立 Internet 连接。如果确实需要,我会努力的。

我还能够与我为同一适配器配置的地址同时 ping 192.168.0.2 地址。

更改适配器的 IP 地址还需要什么?

adapter static-ip ip
  • 1 个回答
  • 302 Views
Martin Hope
Palomino9r
Asked: 2019-06-07 17:22:06 +0800 CST

有无线适配器 Trendnet TBW-108UB 的 ubuntu 驱动程序吗?

  • 0

我一直在寻找可以在 ubuntu 中使用来自 Trendnet TBW-108UB 的适配器,集成的 wlan 不再工作,所以我购买了 Trendnet 适配器 wifi 和蓝牙,它显示蓝牙正在工作,但 wifi 不被操作系统识别。它适用于 Windows,但我也使用 Ubuntu,请帮助。

转接器官网链接 https://www.trendnet.com/support/support-detail.asp?prod=190_TBW-108UB

$ lsusb
Bus 001 Device 002: ID 8087:8001 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 002: ID 20f4:108a TRENDnet <---this is the adapter 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

我试过这个: https ://help.ubuntu.com/community/WifiDocs/WirelessTroubleShootingGuide 但 nm-tool: not found

sudo lshw -C network 
  *-network                 
       description: Ethernet interface
       product: RTL810xE PCI Express Fast Ethernet controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:07:00.0
       logical name: enp7s0
       version: 07
       serial: 14:18:77:c3:bc:a9
       size: 100Mbit/s
       capacity: 100Mbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl8106e-1_0.0.1 06/29/12 ip=192.168.50.241 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
       resources: irq:43 ioport:3000(size=256) memory:a9000000-a9000fff memory:c0000000-c0003fff

如您所见, lshw -C network 仅显示以太网适配器,趋势网不存在。

我还尝试在软件和更新 -> 附加驱动程序中安装专有驱动程序:没有可用的附加驱动程序。

wireless drivers usb adapter
  • 2 个回答
  • 1479 Views
Martin Hope
Keno
Asked: 2019-04-22 06:29:33 +0800 CST

无线适配器 RTL8821CE 在 Ubuntu 19.04 中不工作

  • 1

以下是该lshw -C network命令显示的部分输出。操作系统可以看到无线适配器,但驱动程序似乎无法正常工作。我尝试安装驱动程序,但无济于事。

*-network UNCLAIMED
description: Network controller
product: RTL8821CE 802.11ac PCIe Wireless Network Adapter
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
version: 00
width: 64 bits
clock: 33MHz
capabilities: cap_list
configuration: latency=0
resources: ioport:3000(size=256) memory:b1000000-b100ffff

请,关于如何在 Ubuntu 19.04 中解决此问题的任何想法。我在使用 18.04 时遇到了同样的问题并设法解决了它。但是当我刚刚升级到 19.04 时,问题就开始了,但以前的解决方案这次似乎不起作用。

networking wireless adapter 19.04
  • 3 个回答
  • 4273 Views
Martin Hope
BJsgoodlife
Asked: 2018-11-28 07:55:00 +0800 CST

ifconfig不存在,没有wifi适配器

  • 0

看来这是一个常见的话题,但我认为我的问题可能是独一无二的,因为我找不到 ifconfig。我试图遵循本教程和其他教程。我在 Ubuntu 18.04 和 Windows 10 上。当我输入

ifcongig

这就是我所看到的。

Command 'ifconfig' not found, but can be installed with: sudo apt install net-tools

听起来好像我需要重新安装,这次包含这些默认程序,这样我就可以获得 wifi。有人对我如何获得这些默认应用程序有任何建议吗?

wireless ifconfig adapter
  • 1 个回答
  • 1640 Views
Martin Hope
Alexander C
Asked: 2018-11-15 19:25:37 +0800 CST

适配器未在 Ubuntu 上显示(Netgear A6120)

  • 1

我正在尝试为我的 wifi 适配器(Netgear Ac6120 Wifi 适配器)安装驱动程序,
当我键入时适配器出现

$ lsusb
总线 004 设备 001:ID 1d6b:0003 Linux Foundation 3.0 根集线器
总线 003 设备 003:ID 046d:c52b Logitech, Inc. Unifying Receiver
总线 003 设备 002:ID 154b:00ee PNY
总线 003 设备 001:ID 1d6b:0002 Linux Foundation 2.0 根集线器
总线 002 设备 001:ID 1d6b:0003 Linux Foundation 3.0 根集线器
总线 001 设备 004:ID 0b05:17cb ASUSTek Computer, Inc. Broadcom BCM20702A0 蓝牙
总线 001 设备 005:ID 0846:9053 NetGear, Inc.
总线 001 设备 003:ID 258a:0001
总线 001 设备 001:ID 1d6b:0002 Linux Foundation 2.0 根集线器

完成这些步骤后

$ git clone https://github.com/jurobystricky/Netgear-A6210
$ cd netgear-a6210
$ make

我收到这个错误

导出 DBGFLAGS

* 使用调试消息构建驱动程序 *

cp -f os/linux/Makefile.6 /home/alexander/netgear-a6210/os/linux/Makefile make -C /lib/modules/4.15.0-29-generic/build DBGFLAGS=-DDBG SUBDIRS=/home/alexander/netgear-a6210/os/linux modules make[1]: 进入目录'/usr/src/linux-headers-4.15.0-29-generic' arch/x86/Makefile:156:启用 CONFIG_X86_X32 但不支持 binutils Makefile:976:“无法使用 CONFIG_STACK_VALIDATION=y,请安装 libelf-dev、libelf-devel 或 elfutils-libelf-devel” CC [M] /home/alexander/netgear-a6210/os/linux/../../sta/assoc.o /bin/sh: 1: gcc: 未找到 脚本/Makefile.build:332:目标“/home/alexander/netgear-a6210/os/linux/../../sta/assoc.o”的配方失败 make[2]: * [/home/alexander/netgear-a6210/os/linux/../../sta/assoc.o] 错误 127 Makefile:1552: 目标“模块/home/alexander/netgear-a6210/os/linux”的配方失败 make[1]: * [模块/home/alexander/netgear-a6210/os/linux] 错误 2 make[1]: 离开目录'/usr/src/linux-headers-4.15.0-29-generic' Makefile:59:目标“调试”的配方失败 make: *** [调试] 错误 2

我需要安装什么或做什么来解决这个问题。
谢谢

更新 1


安装 gcc 和 libelf-dev 后,我得到

$ 制作
导出 DBGFLAGS

* 使用调试消息构建驱动程序 *

cp -f os/linux/Makefile.6 /home/alexander/netgear-a6210/os/linux/Makefile make -C /lib/modules/4.15.0-39-generic/build DBGFLAGS=-DDBG SUBDIRS=/home/alexander/netgear-a6210/os/linux modules make[1]: 进入目录'/usr/src/linux-headers-4.15.0-39-generic' CC [M] /home/alexander/netgear-a6210/os/linux/../../sta/assoc.o cc1: 错误:代码模型内核不支持PIC模式 脚本/Makefile.build:332:目标“/home/alexander/netgear-a6210/os/linux/../../sta/assoc.o”的配方失败 make[2]: * [/home/alexander/netgear-a6210/os/linux/../../sta/assoc.o] 错误 1 Makefile:1551:目标“模块/home/alexander/netgear-a6210/os/linux”的配方失败 make[1]: * [模块/home/alexander/netgear-a6210/os/linux] 错误 2 make[1]: 离开目录'/usr/src/linux-headers-4.15.0-39-generic' Makefile:59:目标“调试”的配方失败 make: *** [调试] 错误 2


更新 2


按照您提到的步骤后,我遇到了内部错误,但我无法捕捉到它是什么,并且在重新启动两次后它没有显示
wifi 适配器现在显示连接到 wifi ,所以感谢您

确实需要连接时间有点长(大约 1 到 1 1/2 分钟),这就是适配器在 linux 上运行的方式/我必须接受的东西吗?

wireless adapter 18.04 netgear
  • 1 个回答
  • 3009 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve