[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

USB ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS] in debian



Hi,

I've bought chip and small (what's important - it can be kept in the USB
jack all the time without thee risk of breaking out) 80211n adapter: USB
ID 7392:7811Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless
Adapter [Realtek RTL8188CUS].

Unfortunately it doesn't work with the standard driver included in
kernel 3.1.0 and 3.1.1.
The card is recognized, but "iwlist wlan0 scan" returns nothing, and the
card is not able to associate with the AP.

Fortunately I have found the
http://www.r-statistics.com/2011/11/edimax-ew-7811un-usb-wireless-connecting-to-a-network-on-ubuntu-11-10/
which allowed me to solve the problem:

1. I downloaded the latest source (at time of this writing:
ftp://WebUser:AxPL9s3k@95.130.192.218/cn/wlan/RTL819xCU_USB_linux_v3.3.0_2971.zip
found on http://www.realtek.com.tw/downloads/downloadsView.aspx)
2. I have unpacked it, and unpacked the driver sources:
rtl8188C_8192C_819~71.20111128.tar.gz in separate directory

3. In the previous version I had to modify sources as described in the
quoted post, replacing |"include <linux/smp_lock.h>" with  "#include
<linux/smp.h>" in include/rtw_io.h and in ||include/osdep_service.h .
This step however is not needed in the newest version!

4. I compiled the driver with "fakeroot make" in driver sources'
directory (of course I had to install the header files matching my
kernel version)

5. As root I've copied the resulting driver 8192cu.ko to the
/lib/modules/3.1.0-1-686-pae/kernel/drivers/misc directory, and I have
disabled the original driver in
/lib/modules/3.1.0-1-686-pae/kernel/drivers/net/wireless/rtlwifi/rtl8192cu
directory, by renaming the rtl8192cu.ko file to rtl8192cu.ko.deleted
(you should replace the ||3.1.0-1-686-pae with your kernel version).|
|
6. As root I've run the "depmod -a"
7. As root I've run "update-initramfs -k all -u"

After reboot the card started to work perfectly...
-- 
HTH & Regards,
WZab




|    


Reply to: