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 / 问题 / 1532190
Accepted
sseki
sseki
Asked: 2024-11-06 06:34:54 +0800 CST2024-11-06 06:34:54 +0800 CST 2024-11-06 06:34:54 +0800 CST

TP Link T2U Plus 未连接也不显示任何网络(24.04)

  • 772

我运行的是 Ubuntu 24.04,我从 Windows 转过来,因为我对一家无法进行适当更新的价值数十亿美元的公司感到愤怒。无论如何,我有一个 TP Link,我尝试了在 GitHub 上找到的每个驱动程序,但都没有用,每次安装驱动程序后我都多次重置 NetworkManager。还是没有用。我发现有同样问题的人用我下载的一个驱动程序修复了这个问题,但我仍然有同样的问题。系统识别适配器,但它似乎无法与路由器通信?如果有人能帮忙,我将不胜感激。内核版本是 6.8.0。

lsusb:

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 093a:2530 Pixart Imaging, Inc. Gaming Mouse
Bus 001 Device 003: ID 0d8c:0012 C-Media Electronics, Inc. USB Audio Device
Bus 001 Device 005: ID 03f0:f22a HP, Inc HP Laser MFP 135w
Bus 001 Device 006: ID 0e8d:2004 MediaTek Inc. CRT-LX1
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 258a:0049 BY Tech Gaming Keyboard
Bus 003 Device 003: ID 2357:0120 TP-Link Archer T2U PLUS [RTL8821AU]
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

编辑:问题是驱动程序的 .conf 文件配置不正确。

networking
  • 1 1 个回答
  • 44 Views

1 个回答

  • Voted
  1. Best Answer
    sseki
    2024-11-12T16:13:23+08:002024-11-12T16:13:23+08:00

    谢谢你的帮助,我发现驱动程序中的 .conf 有问题,我改变了一些值,现在它可以正常工作了。.conf 文件(因为我是新手,所以我留下了评论,它们很有帮助):

    # /etc/modprobe.d/8821au.conf
    #
    # Purpose: Allow easy access to specific driver options.
    #
    # Edit the following line to change, add or delete driver options:
    #
    options 8821au rtw_led_ctrl=1
    #
    # Note: The above `options` line is a good default for managed mode. Below
    # are examples for AP mode. Modify as required after reading the documentation:
    #
    # Band 1 (2.4 GHz)
    #options 8812au rtw_switch_usb_mode=2
    #
    # Band 2 (5 GHz)
    #options 8812au rtw_switch_usb_mode=1 rtw_vht_enable=2 rtw_dfs_region_domain=1 rtw_country_code=US rtw_power_mgnt=0
    #
    # After editing is complete, save this file (if using nano: Ctrl + x, y, Enter)
    # and reboot to activate the changes.
    #
    # Note: hostapd information is located at the end of this file.
    #
    # Documentation:
    #
    # -----
    #
    # Log options ( rtw_drv_log_level )
    #
    # 0 = NONE (default)
    # 1 = ALWAYS
    # 2 = ERROR
    # 3 = WARNING
    # 4 = INFO
    # 5 = DEBUG
    # 6 = MAX
    #
    # Note: You can save a log file that only includes RTW log entries by running
    # the following in a terminal:
    #
    # sudo ./save-log.sh
    #
    # Note: A log option greater than 1 must be set. The name of the log
    # file will be `rtw.log`.
    #
    # -----
    #
    # LED options ( rtw_led_ctrl )
    #
    # 0 = Always off
    # 1 = Normal blink (default)
    # 2 = Always on
    #
    # -----
    #
    # VHT options ( rtw_vht_enable )
    #
    #  0 = Disable
    #  1 = Enable (default)
    #  2 = Force auto enable (use only for 5 GHz AP mode)
    #
    # Notes:
    # - A non-default setting can degrade performance greatly in managed mode.
    # - Option 2 allows 80 MHz channel width for 5GHz AP mode, such as when
    #   you are using hostapd.
    #
    # -----
    #
    # Power options ( rtw_power_mgnt )
    #
    # 0 = Disable power saving
    # 1 = Power saving on, minPS (default)
    # 2 = Power saving on, maxPS (not recommended for AP mode)
    #
    # -----
    #
    # DFS Options ( rtw_dfs_region_domain )
    #
    # 0 = NONE (default)
    # 1 = FCC
    # 2 = MKK
    # 3 = ETSI
    #
    # Notes:
    # - Activates DFS channels in AP mode.
    # - DFS FCC 80 MHz channels for hostapd: 52(58), 100(106), 116(122) and 132(138)
    # - For more information: https://en.wikipedia.org/wiki/List_of_WLAN_channels
    #
    # Note: An AP needs to listen on a DFS channel for a period of 60 seconds
    # before transmitting on the channel. If any radar pulses are detected,
    # the AP cannot use that channel and will have to try a different channel.
    #
    # -----
    #
    # Wireless Mode options ( rtw_wireless_mode )
    #
    # 1  = 2.4GHz 802.11b
    # 2  = 2.4GHz 802.11g
    # 3  = 2.4GHz 802.11b/g
    # 4  = 5GHz 802.11a
    # 8  = 2.4Hz 802.11n
    # 11 = 2.4GHz 802.11b/g/n
    # 16 = 5GHz 802.11n
    # 20 = 5GHz 802.11a/n
    # 64 = 5GHz 802.11ac
    # 84 = 5GHz 802.11a/n/ac
    # 95 = 2.4GHz 802.11b/g/n 5GHz 802.11a/n/ac (default)
    #
    # -----
    #
    # Country Code options ( rtw_country_code )
    #
    # Note: Allows the Country Code to be set in cases where it is unable to
    # be obtained otherwise.
    #
    # URL: http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
    #
    # Example for the US: rtw_country_code=US
    # Example for Panama: rtw_country_code=PA
    # Example for Norway: rtw_country_code=NO
    # Example for Kuwait: rtw_country_code=KW
    # Example for Taiwan: rtw_country_code=TW
    #
    # -----
    #
    # To see all driver options that are available:
    #
    # $ ls /sys/module/8821au/parameters/
    #
    # -----
    #
    # To see the values that are in use:
    #
    # $ grep [[:alnum:]] /sys/module/8821au/parameters/*
    #
    # -----
    #
    # hostapd setup information for rtl8821au
    # Note: The best settings can vary but the following may be a good place to start.
    #
    # /etc/modprobe.d/8821au.conf
    # options 8821au rtw_drv_log_level=0 rtw_led_ctrl=0 rtw_vht_enable=2 rtw_power_mgnt=1 rtw_dfs_region_domain=1
    #
    # Note: The best setting for `rtw_dfs_region_domain=` will depend on your location.
    #
    # /etc/hostapd/hostapd.conf
    #
    # hw ht capab: 0x962
    # ht_capab=[HT40+][HT40-][SHORT-GI-20][SHORT-GI-40][RX-STBC1][MAX-AMSDU-7935]
    #
    # hw vht capab: 0x3c00122
    # vht_capab=[MAX-MPDU-11454][SHORT-GI-80][RX-STBC-1][HTC-VHT][MAX-A-MPDU-LEN-EXP7]
    #
    # -----
    
    • 2

相关问题

  • 如何设置 VLAN 转发?

  • 如何将主机 Ubuntu 上的 VPN (tun0) 网络适配器映射到 VirtualBox 来宾 Windows?

  • 如何限制下载/上传带宽?

  • 如何通过 Windows 网络共享文件?

  • 面板小程序以文本形式显示当前网络流量?

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