首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法在Debian Wheezy上使用TP_LINK / TL-WN823N / Realtek 8192 on usb无线适配器。

无法在Debian Wheezy上使用TP_LINK / TL-WN823N / Realtek 8192 on usb无线适配器。
EN

Unix & Linux用户
提问于 2015-10-07 18:51:09
回答 1查看 1.5K关注 0票数 0

我有一个TP链接TL-WN823N无线usb棒(Realtek模块8192 TP)为我的桌面。我无法让网络管理器使用它。

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

iwconfig

代码语言:javascript
复制
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

代码语言:javascript
复制
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

代码语言:javascript
复制
Ignoring unknown interface wlan1=wlan1.

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

代码语言:javascript
复制
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 7.9 (wheezy)
Release:    7.9
Codename:   wheezy

lsusb的相关输出:

代码语言:javascript
复制
Bus 001 Device 004: ID 0bda:8178 Realtek Semiconductor Corp. RTL8192CU 802.11n WLAN Adapter

来自apt-cache search Realtek的输出:

代码语言:javascript
复制
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

从doing,apt-get install firmware-realtek

代码语言:javascript
复制
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的相关输出:

代码语言:javascript
复制
[   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

代码语言:javascript
复制
wlan0: ERROR while getting interface flags: No such device

但是ifconfig wlan1 up的工作原理是没有出现错误。

通过查看lsmod | grep rtl

代码语言:javascript
复制
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的内容:

代码语言:javascript
复制
# The loopback network interface
auto lo
iface lo inet loopback

/etc/apt/sources.list内容

代码语言:javascript
复制
# 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
EN

回答 1

Unix & Linux用户

回答已采纳

发布于 2015-10-07 22:22:31

编辑wicd中的配置文件,将其定向到wlan1,因为它正在注册,但未被看到。

代码语言:javascript
复制
sudo nano /etc/wicd/manager-settings.conf 

设置,而不是wlan0none

代码语言:javascript
复制
wireless_interface = wlan1
票数 0
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/234605

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档