Page 3 of 5 FirstFirst 12345 LastLast
Results 21 to 30 of 44

Thread: TP-Link TL-WN822N is not ready

  1. #21
    Join Date
    Dec 2013
    Location
    Poland
    Beans
    22

    Re: TP-Link TL-WN822N is not ready

    Why not just use it and be done?
    WN822N gives a much better signal, WN722N is not enough.

  2. #22
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    21,545
    Distro
    Ubuntu 15.04 Vivid Vervet

    Re: TP-Link TL-WN822N is not ready

    My next suggestion is the backports driver suite. Please use the 722 connection and open a terminal:
    Code:
    sudo apt-get install build-essential linux-headers-generic
    Download this file to your desktop: http://www.kernel.org/pub/linux/kern...12.2-1.tar.bz2 Right-click it and select 'Extract Here.' Now back to the teminal:
    Code:
    cd ~/Desktop/backports-3.12-1
    make defconfig-rtlwifi
    make
    Make takes a while depending on memory, CPU cores, et al. I generally refresh my beverage and check emails.
    Code:
    sudo make install
    Detach the 722.

    Now edit /etc/modules to delete the reference to 8192cu. Edit blacklist.conf to delete the rtl8192cu line. Reboot and let us hear your success!
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  3. #23
    Join Date
    Dec 2013
    Location
    Poland
    Beans
    22

    Re: TP-Link TL-WN822N is not ready

    Hi again, after 2 months. I haven't solved my problem yet, but now a situation is different a bit.

    I have internal WiFi adapter and I'd like to use my external TP-Link TL-WN822N. After attaching external adapter I can't connect with Internet, although I'm having a connection with my router. First:
    Code:
    uname -r
    Code:
    3.13.4-031304-generic
    Code:
    lsusb
    Code:
    Bus 002 Device 005: ID 0cf3:3005 Atheros Communications, Inc. AR3011 Bluetooth
    Bus 002 Device 004: ID 0461:4dc7 Primax Electronics, Ltd 
    Bus 002 Device 003: ID 046d:c52f Logitech, Inc. Unifying Receiver
    Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 003 Device 004: ID 0bda:8178 Realtek Semiconductor Corp. RTL8192CU 802.11n WLAN Adapter
    Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Code:
    lsmod
    Code:
    Module                  Size  Used by
    rtl8192cu              68561  0 
    rtl_usb                22809  1 rtl8192cu
    rtlwifi                64281  2 rtl_usb,rtl8192cu
    rtl8192c_common        58122  1 rtl8192cu
    ctr                    13193  1 
    ccm                    17856  1 
    rfcomm                 74748  12 
    parport_pc             32866  0 
    bnep                   19884  2 
    ppdev                  17711  0 
    binfmt_misc            17508  1 
    intel_rapl             19228  0 
    arc4                   12573  4 
    x86_pkg_temp_thermal    14269  0 
    intel_powerclamp       19031  0 
    ath9k                 166504  0 
    coretemp               17728  0 
    ath9k_common           13551  1 ath9k
    ath9k_hw              462940  2 ath9k_common,ath9k
    snd_hda_codec_hdmi     46898  1 
    kvm_intel             144426  0 
    snd_hda_codec_idt      59236  1 
    snd_hda_intel          57222  3 
    kvm                   468181  1 kvm_intel
    ath                    29145  3 ath9k_common,ath9k,ath9k_hw
    snd_hda_codec         199156  3 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_intel
    mac80211              654124  4 ath9k,rtl_usb,rtlwifi,rtl8192cu
    crct10dif_pclmul       14250  0 
    snd_hwdep              13613  1 snd_hda_codec
    snd_pcm               107140  3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
    crc32_pclmul           13160  0 
    snd_page_alloc         18798  2 snd_pcm,snd_hda_intel
    ghash_clmulni_intel    13259  0 
    hp_wmi                 18202  0 
    snd_seq_midi           13324  0 
    cryptd                 20530  1 ghash_clmulni_intel
    sparse_keymap          13890  1 hp_wmi
    snd_seq_midi_event     14899  1 snd_seq_midi
    snd_rawmidi            30465  1 snd_seq_midi
    uvcvideo               82247  0 
    snd_seq                66061  2 snd_seq_midi_event,snd_seq_midi
    btusb                  28326  0 
    snd_seq_device         14497  3 snd_seq,snd_rawmidi,snd_seq_midi
    videobuf2_vmalloc      13216  1 uvcvideo
    snd_timer              30038  2 snd_pcm,snd_seq
    videobuf2_memops       13362  1 videobuf2_vmalloc
    mei_me                 18578  0 
    lp                     17799  0 
    videobuf2_core         40972  1 uvcvideo
    bluetooth             411140  22 bnep,btusb,rfcomm
    cfg80211              509407  4 ath,ath9k,mac80211,rtlwifi
    psmouse               108513  0 
    snd                    69754  17 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_idt,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec,snd_hda_intel,snd_seq_device,snd_seq_midi
    mei                    82749  1 mei_me
    parport                42481  3 lp,ppdev,parport_pc
    videodev              139761  2 uvcvideo,videobuf2_core
    microcode              23788  0 
    dm_multipath           27401  0 
    scsi_dh                14873  1 dm_multipath
    hp_accel               26012  0 
    joydev                 17575  0 
    lpc_ich                21163  0 
    serio_raw              13462  0 
    lis3lv02d              20280  1 hp_accel
    jmb38x_ms              18947  0 
    input_polldev          13896  1 lis3lv02d
    memstick               16968  1 jmb38x_ms
    soundcore              12680  1 snd
    mac_hid                13253  0 
    dm_mirror              22356  0 
    dm_region_hash         21010  1 dm_mirror
    dm_log                 18527  2 dm_region_hash,dm_mirror
    hid_generic            12548  0 
    usbhid                 53067  0 
    hid                   106254  3 hid_generic,usbhid
    i915                  816909  3 
    i2c_algo_bit           13564  1 i915
    ahci                   30063  2 
    drm_kms_helper         53224  1 i915
    libahci                32277  1 ahci
    r8169                  73299  0 
    drm                   308397  4 i915,drm_kms_helper
    mii                    13981  1 r8169
    sdhci_pci              19241  0 
    sdhci                  43409  1 sdhci_pci
    wmi                    19363  1 hp_wmi
    video                  19859  1 i915
    ath9k it's my internal adapter.

    then:
    Code:
    sudo apt-get install build-essential
    Finally I downloaded drivers from Realtek website and I tried to compile them, but:
    Code:
    cc1: some warnings being treated as errors
    make[2]: *** [/home/grzegorz/Pobrane/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/os_dep/linux/os_intfs.o] Błąd 1
    make[1]: *** [_module_/home/grzegorz/Pobrane/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911] Błąd 2
    make[1]: Opuszczenie katalogu `/usr/src/linux-headers-3.13.4-031304-generic'
    make: *** [modules] Błąd 2
    ##################################################
    Compile make driver error: 2
    Please check error Mesg
    ##################################################
    What to do now?

    BTW, what do you think about this solution https://github.com/pvaret/rtl8192cu-fixes? I'm wondering about it, however I have 3.13.4 kernel, not 3.11.
    Last edited by gringo.g; February 21st, 2014 at 02:44 AM.

  4. #24
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    21,545
    Distro
    Ubuntu 15.04 Vivid Vervet

    Re: TP-Link TL-WN822N is not ready

    Before you proceed, I'd unload ath9k:
    Code:
    sudo modprobe -r ath9k
    Check to see if any other of the ath family are still loaded and remove if necessary:
    Code:
    lsmod | grep ath
    Now does the USB connect? If so, we'll blacklist ath9k and a few others and be all set.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  5. #25
    Join Date
    Dec 2013
    Location
    Poland
    Beans
    22

    Re: TP-Link TL-WN822N is not ready

    To unload with modprobe? Not rmmod? Nevertheless, after that any other ath devices don't exist. It's a little strange, because I've connected with web via WN822N, but just after a while I lost it.

  6. #26
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    21,545
    Distro
    Ubuntu 15.04 Vivid Vervet

    Re: TP-Link TL-WN822N is not ready

    To unload with modprobe? Not rmmod?
    rmmod only unloads the specific module; modprobe -r removes the specific module and its dependencies.
    Code:
    depends:        ath9k_hw,mac80211,ath9k_common,cfg80211,ath
    I've connected with web via WN822N, but just after while I lost it.
    Are there any interesting clues?
    Code:
    cat /var/log/syslog | grep -e ethwork -e rtl | tail -n20
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  7. #27
    Join Date
    Dec 2013
    Location
    Poland
    Beans
    22

    Re: TP-Link TL-WN822N is not ready

    Code:
    cat /var/log/syslog | grep -e ethwork -e rtl | tail -n20
    Code:
    Feb 21 03:29:30 ProBook kernel: [   16.508447] rtlwifi: Loading alternative firmware rtlwifi/rtl8192cufw.bin
    Feb 21 03:29:30 ProBook kernel: [   16.521875] ieee80211 phy0: Selected rate control algorithm 'rtl_rc'
    Feb 21 03:29:30 ProBook kernel: [   16.523195] rtlwifi: wireless switch is on
    Feb  21 03:29:31 ProBook NetworkManager[770]: <info> rfkill2: found  WiFi radio killswitch (at  /sys/devices/pci0000:00/0000:00:1c.7/0000:26:00.0/usb3/3-1/3-1:1.0/ieee80211/phy0/rfkill2)  (driver rtl8192cu)
    Feb 21 03:29:32 ProBook NetworkManager[770]: <info> (wlan1): new 802.11 WiFi device (driver: 'rtl8192cu' ifindex: 3)
    Feb 21 03:29:32 ProBook kernel: [   19.288786] rtl8192cu: MAC auto ON okay!
    Feb 21 03:29:32 ProBook kernel: [   19.488520] rtl8192cu: Tx queue select: 0x05
    Feb 21 03:34:05 ProBook kernel: [   16.474621] rtl8192cu: Chip version 0x11
    Feb 21 03:34:05 ProBook kernel: [   16.887396] rtl8192cu: MAC address: 64:66:b3:26:28:a0
    Feb 21 03:34:05 ProBook kernel: [   16.887408] rtl8192cu: Board Type 0
    Feb 21 03:34:05 ProBook kernel: [   16.888142] rtl_usb: rx_max_size 15360, rx_urb_num 8, in_ep 1
    Feb 21 03:34:05 ProBook kernel: [   16.888203] rtl8192cu: Loading firmware rtlwifi/rtl8192cufw_TMSC.bin
    Feb 21 03:34:05 ProBook kernel: [   16.888344] usbcore: registered new interface driver rtl8192cu
    Feb 21 03:34:05 ProBook kernel: [   16.975487] rtlwifi: Loading alternative firmware rtlwifi/rtl8192cufw.bin
    Feb 21 03:34:05 ProBook kernel: [   16.975705] ieee80211 phy0: Selected rate control algorithm 'rtl_rc'
    Feb 21 03:34:05 ProBook kernel: [   16.977057] rtlwifi: wireless switch is on
    Feb  21 03:34:06 ProBook NetworkManager[805]: <info> rfkill3: found  WiFi radio killswitch (at  /sys/devices/pci0000:00/0000:00:1c.7/0000:26:00.0/usb3/3-1/3-1:1.0/ieee80211/phy0/rfkill3)  (driver rtl8192cu)
    Feb 21 03:34:06 ProBook NetworkManager[805]: <info> (wlan1): new 802.11 WiFi device (driver: 'rtl8192cu' ifindex: 4)
    Feb 21 03:34:06 ProBook kernel: [   19.825703] rtl8192cu: MAC auto ON okay!
    Feb 21 03:34:06 ProBook kernel: [   20.025546] rtl8192cu: Tx queue select: 0x05

  8. #28
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    21,545
    Distro
    Ubuntu 15.04 Vivid Vervet

    Re: TP-Link TL-WN822N is not ready

    No action from Network Manager; let's dig deeper, and spell correctly!
    Code:
    cat /var/log/syslog | grep  etwork | tail -n20
    I am a bit worried about this little gem:
    rtl8192cu: Loading firmware rtlwifi/rtl8192cufw_TMSC.bin
    <snip>
    Loading alternative firmware rtlwifi/rtl8192cufw.bin
    What does your version of the driver say about firmware?
    Code:
    modinfo rtl8192cu | grep firm
    Mine, on a 3.11.0-xx kernel, says:
    Code:
    firmware:       rtlwifi/rtl8192cufw.bin
    I'm not quite sure what the TMSC version is all about. Googling...
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  9. #29
    Join Date
    Dec 2013
    Location
    Poland
    Beans
    22

    Re: TP-Link TL-WN822N is not ready

    Here you are:
    Code:
    Feb 21 04:10:24 ProBook NetworkManager[808]: <warn> sysctl: failed to open '/proc/sys/net/ipv6/conf/wlan0/use_tempaddr': (2) Nie ma takiego pliku ani katalogu
    Feb 21 04:10:24 ProBook NetworkManager[808]: <warn> (3) failed to find interface name for index
    Feb 21 04:10:24 ProBook NetworkManager[808]: (nm-system.c:766):nm_system_iface_get_flags: runtime check failed: (iface != NULL)
    Feb 21 04:10:24 ProBook NetworkManager[808]: <error> [1392952224.801517] [nm-system.c:768] nm_system_iface_get_flags(): (unknown): failed to get interface link object
    Feb 21 04:10:24 ProBook NetworkManager[808]: <warn> (3) failed to find interface name for index
    Feb 21 04:10:24 ProBook NetworkManager[808]: (nm-system.c:766):nm_system_iface_get_flags: runtime check failed: (iface != NULL)
    Feb 21 04:10:24 ProBook NetworkManager[808]: <error> [1392952224.801653] [nm-system.c:768] nm_system_iface_get_flags(): (unknown): failed to get interface link object
    Feb 21 04:10:24 ProBook NetworkManager[808]: <info> (wlan0): bringing up device.
    Feb 21 04:10:24 ProBook NetworkManager[808]: <warn> (3) failed to find interface name for index
    Feb 21 04:10:24 ProBook NetworkManager[808]: nm_system_iface_flush_routes: assertion 'iface != NULL' failed
    Feb 21 04:10:24 ProBook NetworkManager[808]: <warn> (3) failed to find interface name for index
    Feb 21 04:10:24 ProBook NetworkManager[808]: <info> Policy set 'Automatyczne Dom' (wlan1) as default for IPv4 routing and DNS.
    Feb 21 04:10:24 ProBook NetworkManager[808]: <info> Writing DNS information to /sbin/resolvconf
    Feb 21 04:10:24 ProBook NetworkManager[808]: <info> (wlan0): cleaning up...
    Feb 21 04:10:24 ProBook NetworkManager[808]: <warn> (3) failed to find interface name for index
    Feb 21 04:10:24 ProBook NetworkManager[808]: (nm-system.c:766):nm_system_iface_get_flags: runtime check failed: (iface != NULL)
    Feb 21 04:10:24 ProBook NetworkManager[808]: <error> [1392952224.812464] [nm-system.c:768] nm_system_iface_get_flags(): (unknown): failed to get interface link object
    Feb 21 04:10:24 ProBook NetworkManager[808]: <info> Unmanaged Device found; state CONNECTED forced. (see http://bugs.launchpad.net/bugs/191889)
    Feb 21 04:10:24 ProBook NetworkManager[808]:    SCPlugin-Ifupdown: devices removed (path: /sys/devices/pci0000:00/0000:00:1c.3/0000:24:00.0/net/wlan0, iface: wlan0)
    Feb 21 04:10:24 ProBook NetworkManager[808]: <info> radio killswitch /sys/devices/pci0000:00/0000:00:1c.3/0000:24:00.0/ieee80211/phy1/rfkill2 disappeared
    Code:
    firmware:       rtlwifi/rtl8192cufw_TMSC.bin
    firmware:       rtlwifi/rtl8192cufw_B.bin
    firmware:       rtlwifi/rtl8192cufw_A.bin
    firmware:       rtlwifi/rtl8192cufw.bin

  10. #30
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    21,545
    Distro
    Ubuntu 15.04 Vivid Vervet

    Re: TP-Link TL-WN822N is not ready

    BTW, what do you think about this solution https://github.com/pvaret/rtl8192cu-fixes? I'm wondering about it, however I have 3.13.4 kernel, not 3.11.
    It's worth a try. There are pretty complete instructions there but if you need any additional guidance, I'll be happy to help. I think I'd probably compile it through 'make' first before you do the whole dkms route:
    Code:
    sudo apt-get install linux-headers-generic build-essential git dkms
    git clone https://github.com/pvaret/rtl8192cu-fixes.git
    cd rtl8192cu-fixes
    make
    If it ends in a module .ko and not an error, I'd then:
    Code:
    make clean
    cd ~
    Then start here in his instructions: 'Set it up as a DKMS module:'

    The rtl8192cu is a bit buggy.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

Page 3 of 5 FirstFirst 12345 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •