无法在 Debian Wheezy 上使用 TP_LINK / TL-WN823N / Realtek 8192cu USB 无线适配器

无法在 Debian Wheezy 上使用 TP_LINK / TL-WN823N / Realtek 8192cu USB 无线适配器

我的台式机有一个 TP-LINK TL-WN823N 无线 USB 棒(Realtek 模块 8192cu)。我无法让网络管理员使用它。

Wicd说没有找到无线网络,标准网络监视器说无线已断开。我已经执行了 的指令https://wiki.debian.org/rtl819x。在底部,我有/etc/apt/sources.list文件的内容并已运行apt-get update。(在执行这些测试时,计算机是通过以太网电缆连接的)

从看iwconfig

lo        no wireless extensions.

wlan1     IEEE 802.11bgn  ESSID:off/any  
      Mode:Managed  Access Point: Not-Associated   Tx-Power=off   
      Retry  long limit:7   RTS thr=2347 B   Fragment thr:off
      Encryption key:off
      Power Management:off

eth0      no wireless extensions.

ifconfig wlan1:

wlan1     Link encap:Ethernet  HWaddr c4:e9:84:16:63:ed  
      UP BROADCAST MULTICAST  MTU:1500  Metric:1
      RX packets:0 errors:0 dropped:0 overruns:0 frame:0
      TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:1000 
      RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

ifup wlan1:

Ignoring unknown interface wlan1=wlan1.

lsb_release -a操作系统版本的输出:

No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 7.9 (wheezy)
Release:    7.9
Codename:   wheezy

相关输出lsusb

Bus 001 Device 004: ID 0bda:8178 Realtek Semiconductor Corp. RTL8192CU 802.11n WLAN Adapter

输出apt-cache search Realtek

flashrom - Identify, read, write, erase, and verify BIOS/ROM/flash chips
nictools-pci - Diagnostic tools for many PCI ethernet cards
firmware-realtek - Binary firmware for Realtek wired and wireless network adapters

从做起,apt-get install firmware-realtek

Reading package lists... Done
Building dependency tree       
Reading state information... Done
firmware-realtek is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

相关输出dmesg

[   19.751049] rtl8192cu: MAC auto ON okay!
[   19.783738] rtl8192cu: Tx queue select: 0x05
[   19.784619] rtl8192c_common: Loading firmware file  rtlwifi/rtl8192cufw.bin
[   20.202574] ADDRCONF(NETDEV_UP): wlan1: link is not ready
[   20.499417] r8169 0000:02:00.0: firmware: agent loaded rtl_nic/rtl8168e-3.fw into memory

尝试启动 wlan0,方法是ifconfig wlan0 up

wlan0: ERROR while getting interface flags: No such device

ifconfig wlan1 up可以正常工作,不会出现任何错误

从看lsmod | grep rtl

rtl8192cu              74897  0 
rtlwifi                81393  1 rtl8192cu
rtl8192c_common        52602  1 rtl8192cu
mac80211              192806  3 rtl8192c_common,rtlwifi,rtl8192cu
cfg80211              137243  2 mac80211,rtlwifi
usbcore               128741  5 ehci_hcd,usbhid,rtlwifi,rtl8192cu

内容/etc/network/interfaces

# The loopback network interface
auto lo
iface lo inet loopback

内容/etc/apt/sources.list

# deb cdrom:[Debian GNU/Linux 7.7.0 _Wheezy_ - Official amd64 NETINST Binary-1 20141018-13:04]/ wheezy main
# deb cdrom:[Debian GNU/Linux 7.7.0 _Wheezy_ - Official amd64 NETINST Binary-1 20141018-13:04]/ wheezy main
deb http://ftp.uk.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.uk.debian.org/debian/ wheezy main contrib non-free
deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free
# wheezy-updates, previously known as 'volatile'
deb http://ftp.uk.debian.org/debian/ wheezy-updates main contrib non-free
deb-src http://ftp.uk.debian.org/debian/ wheezy-updates main contrib non-free
deb http://download.virtualbox.org/virtualbox/debian wheezy contrib
# Debian 7 "Wheezy"
deb http://http.debian.net/debian/ wheezy main contrib non-free

答案1

编辑配置文件wicd以将其定向到wlan1,因为它正在注册但不可见。

sudo nano /etc/wicd/manager-settings.conf 

并设置代替wlan0ornone

wireless_interface = wlan1

相关内容