Autor Tópico: Adaptador Wireless USB TP-Link WN822N  (Lida 7315 vezes)

Offline maosilva

  • Usuário Ubuntu
  • *
  • Mensagens: 190
    • Ver perfil
Adaptador Wireless USB TP-Link WN822N
« Online: 16 de Abril de 2014, 22:34 »
Testei dois adaptadores wireless no Ubuntu 12.04 e 14.04, um é o modelo da TP-Link WN821N e o outro da D-Link DWA 125. Em ambos, acontece um fato estranho, a internet que assino e de 10MB (taxa download de 1.2 MB/s), usando no Windows recebo a velocidade total perfeitamente, porém no ubuntu fica limitada como se fosse uma conexão de 2MB (taxa de download de oscilando no máximo 190 KB/s). Já pesquisei e vi que esses modelos apresentam problemas de drivers para nosso ubuntu. Gostaria de saber se alguém tem esse modelo da TP-Link WN822N e se funciona bem no linux.

http://www.tp-link.com.br/products/details/?model=TL-WN822N

Abraços.
« Última modificação: 16 de Abril de 2014, 22:37 por maosilva »

Offline Renan Rischiotto

  • Usuário Ubuntu
  • *
  • Mensagens: 2.888
    • Ver perfil
Re: Adaptador Wireless USB TP-Link WN822N
« Resposta #1 Online: 18 de Abril de 2014, 17:32 »
Olá,

Já procurou ver se existe algum driver non-free para esse roteador?

Abraços!

Offline Arthur Bernardes

  • Usuário Ubuntu
  • *
  • Mensagens: 4.692
    • Ver perfil
Re: Adaptador Wireless USB TP-Link WN822N
« Resposta #2 Online: 18 de Abril de 2014, 19:12 »
Roteador? Que eu saiba isso não é um roteador, e sim um adaptador USB para quem não tem wireless ou que deseja ter um ganho melhor (notebook deve ter miserável 2,5dBi).

Offline Renan Rischiotto

  • Usuário Ubuntu
  • *
  • Mensagens: 2.888
    • Ver perfil
Re: Adaptador Wireless USB TP-Link WN822N
« Resposta #3 Online: 18 de Abril de 2014, 19:53 »
Ops, desculpe o erro rsrs

Offline maosilva

  • Usuário Ubuntu
  • *
  • Mensagens: 190
    • Ver perfil
Re: Adaptador Wireless USB TP-Link WN822N
« Resposta #4 Online: 19 de Abril de 2014, 13:53 »
Olá,

Já procurou ver se existe algum driver non-free para esse roteador?

Abraços!

Sim, já procurei e não há driver non-free para esse adaptador.

Offline Arthur Bernardes

  • Usuário Ubuntu
  • *
  • Mensagens: 4.692
    • Ver perfil
Re: Adaptador Wireless USB TP-Link WN822N
« Resposta #5 Online: 19 de Abril de 2014, 17:09 »
Execute os seguintes comandos em um terminal e cole os resultados aqui.

sudo lshw -C network
ifconfig
iwconfig
nm-tool
rfkill list wifi
lsusb


Se puder usar o "code" , o Fórum agradece, rsrs.

Offline maosilva

  • Usuário Ubuntu
  • *
  • Mensagens: 190
    • Ver perfil
Re: Adaptador Wireless USB TP-Link WN822N
« Resposta #6 Online: 19 de Abril de 2014, 20:31 »
Comando usando o adaptador D-Link DWA 125

Código: [Selecionar]
description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: eth0
       version: 06
       serial: 30:85:a9:e9:71:ad
       size: 10Mbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl8168e-3_0.0.4 03/27/12 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
       resources: irq:41 ioport:e000(size=256) memory:f0004000-f0004fff memory:f0000000-f0003fff
  *-network
       description: Wireless interface
       physical id: 3
       bus info: usb@1:1.1
       logical name: wlan0
       serial: 78:54:2e:e8:e4:8e
       capabilities: ethernet physical wireless
       configuration: broadcast=yes driver=rt2800usb driverversion=3.13.0-24-generic firmware=0.29 ip=192.168.0.102 link=yes multicast=yes wireless=IEEE 802.11bgn
ubuntu@ubuntu:~$ ifconfig
eth0      Link encap:Ethernet  HWaddr 30:85:a9:e9:71:ad  
          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)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:437 errors:0 dropped:0 overruns:0 frame:0
          TX packets:437 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:61452 (61.4 KB)  TX bytes:61452 (61.4 KB)

wlan0     Link encap:Ethernet  HWaddr 78:54:2e:e8:e4:8e  
          inet addr:192.168.0.102  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::7a54:2eff:fee8:e48e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4317 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3114 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:4858591 (4.8 MB)  TX bytes:415946 (415.9 KB)

ubuntu@ubuntu:~$ iwconfig
eth0      no wireless extensions.

lo        no wireless extensions.

wlan0     IEEE 802.11bgn  ESSID:"Slayer"  
          Mode:Managed  Frequency:2.452 GHz  Access Point: 10:FE:ED:B5:6D:3A  
          Bit Rate=60 Mb/s   Tx-Power=20 dBm  
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:on
          Link Quality=43/70  Signal level=-67 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:22  Invalid misc:98   Missed beacon:0

ubuntu@ubuntu:~$ nm-tool

NetworkManager Tool

State: connected (global)

- Device: eth0 -----------------------------------------------------------------
  Type:              Wired
  Driver:            r8169
  State:             unavailable
  Default:           no
  HW Address:        30:85:A9:E9:71:AD

  Capabilities:
    Carrier Detect:  yes

  Wired Properties
    Carrier:         off


- Device: wlan0  [Slayer] ------------------------------------------------------
  Type:              802.11 WiFi
  Driver:            rt2800usb
  State:             connected
  Default:           yes
  HW Address:        78:54:2E:E8:E4:8E

  Capabilities:
    Speed:           60 Mb/s

  Wireless Properties
    WEP Encryption:  yes
    WPA Encryption:  yes
    WPA2 Encryption: yes

  Wireless Access Points (* = current AP)
    jefersina's house: Infra, F4:EC:38:BC:70:08, Freq 2412 MHz, Rate 54 Mb/s, Strength 19 WPA2
    c76a3a:          Infra, 70:54:D2:C3:56:EF, Freq 2412 MHz, Rate 54 Mb/s, Strength 12 WPA WPA2
    c715ce:          Infra, 70:54:D2:C6:0C:5F, Freq 2462 MHz, Rate 54 Mb/s, Strength 29 WPA WPA2
    PINESE & MOREIRA:Infra, 84:C9:B2:C5:F0:02, Freq 2412 MHz, Rate 54 Mb/s, Strength 12 WPA WPA2
    *Slayer:         Infra, 10:FE:ED:B5:6D:3A, Freq 2452 MHz, Rate 54 Mb/s, Strength 55 WPA WPA2

  IPv4 Settings:
    Address:         192.168.0.102
    Prefix:          24 (255.255.255.0)
    Gateway:         192.168.0.1

    DNS:             192.168.0.1


ubuntu@ubuntu:~$ rfkill list wifi
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
« Última modificação: 19 de Abril de 2014, 20:37 por maosilva »

Offline maosilva

  • Usuário Ubuntu
  • *
  • Mensagens: 190
    • Ver perfil
Re: Adaptador Wireless USB TP-Link WN822N
« Resposta #7 Online: 19 de Abril de 2014, 20:38 »
Comando usando o adaptador TP-Link TL-WN821N

Código: [Selecionar]
ubuntu@ubuntu:~$ sudo lshw -C network
  *-network               
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: eth0
       version: 06
       serial: 30:85:a9:e9:71:ad
       size: 10Mbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl8168e-3_0.0.4 03/27/12 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
       resources: irq:41 ioport:e000(size=256) memory:f0004000-f0004fff memory:f0000000-f0003fff
  *-network
       description: Wireless interface
       physical id: 3
       bus info: usb@1:1.1
       logical name: wlan1
       serial: 10:fe:ed:20:78:90
       capabilities: ethernet physical wireless
       configuration: broadcast=yes driver=rtl8192cu driverversion=3.13.0-24-generic firmware=N/A ip=192.168.0.101 link=yes multicast=yes wireless=IEEE 802.11bgn
ubuntu@ubuntu:~$ ifconfig
eth0      Link encap:Ethernet  HWaddr 30:85:a9:e9:71:ad 
          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)

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:890 errors:0 dropped:0 overruns:0 frame:0
          TX packets:890 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:134448 (134.4 KB)  TX bytes:134448 (134.4 KB)

wlan1     Link encap:Ethernet  HWaddr 10:fe:ed:20:78:90 
          inet addr:192.168.0.101  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::12fe:edff:fe20:7890/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:16490 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9946 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:20284605 (20.2 MB)  TX bytes:1050163 (1.0 MB)

ubuntu@ubuntu:~$ iwconfig
wlan1     IEEE 802.11bgn  ESSID:"Slayer" 
          Mode:Managed  Frequency:2.452 GHz  Access Point: 10:FE:ED:B5:6D:3A   
          Bit Rate=150 Mb/s   Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr=2347 B   Fragment thr:off
          Power Management:off
          Link Quality=48/70  Signal level=-62 dBm 
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:52   Missed beacon:0

eth0      no wireless extensions.

lo        no wireless extensions.

ubuntu@ubuntu:~$ nm-tool

NetworkManager Tool

State: connected (global)

- Device: wlan1  [Slayer 1] ----------------------------------------------------
  Type:              802.11 WiFi
  Driver:            rtl8192cu
  State:             connected
  Default:           yes
  HW Address:        10:FE:ED:20:78:90

  Capabilities:
    Speed:           150 Mb/s

  Wireless Properties
    WEP Encryption:  yes
    WPA Encryption:  yes
    WPA2 Encryption: yes

  Wireless Access Points (* = current AP)
    c715ce:          Infra, 70:54:D2:C6:0C:5F, Freq 2462 MHz, Rate 54 Mb/s, Strength 20 WPA WPA2
    *Slayer:         Infra, 10:FE:ED:B5:6D:3A, Freq 2452 MHz, Rate 54 Mb/s, Strength 58 WPA WPA2

  IPv4 Settings:
    Address:         192.168.0.101
    Prefix:          24 (255.255.255.0)
    Gateway:         192.168.0.1

    DNS:             192.168.0.1


- Device: eth0 -----------------------------------------------------------------
  Type:              Wired
  Driver:            r8169
  State:             unavailable
  Default:           no
  HW Address:        30:85:A9:E9:71:AD

  Capabilities:
    Carrier Detect:  yes

  Wired Properties
    Carrier:         off


ubuntu@ubuntu:~$ rfkill list wifi
1: phy1: Wireless LAN
Soft blocked: no
Hard blocked: no

Offline Arthur Bernardes

  • Usuário Ubuntu
  • *
  • Mensagens: 4.692
    • Ver perfil
Re: Adaptador Wireless USB TP-Link WN822N
« Resposta #8 Online: 19 de Abril de 2014, 22:24 »
Seu sinal parece um pouco fraco, ~-65dBm, está muito longe do roteador?

Offline maosilva

  • Usuário Ubuntu
  • *
  • Mensagens: 190
    • Ver perfil
Re: Adaptador Wireless USB TP-Link WN822N
« Resposta #9 Online: 20 de Abril de 2014, 10:41 »
Seu sinal parece um pouco fraco, ~-65dBm, está muito longe do roteador?

Aproximadamente uns 10 metros.