Problemas Rede Wireless

1. Problemas Rede Wireless

Wesley Bertoli da Silva
wesbertoli

(usa Linux Mint)

Enviado em 13/05/2016 - 11:06h

Bom dia pessoal!

Eu estou com um probleminha bem chato e gostaria de saber se alguém poderia me ajudar a resolver.

Eu comprei um notebook Dell Inspiron 15 - Série 5000 que chegou esta semana e veio com o Ubuntu. Entretanto, como utilizo o Mint, formatei a máquina e fiz a instalação da versão 17.3 (Rosa). Tudo correu perfeitamente e está tudo funcionando corretamente exceto pela Wi-Fi. O sistema simplesmente não reconhece a placa e tampouco consigo ver as redes disponíveis. Seguem algumas saídas que obtive pelo terminal:

--------------------------------------------------------------------------------------
$ sudo lshw -C network
*-network
description: Network controller
product: QCA6174 802.11ac Wireless Network Adapter
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:02:00.0
version: 32
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: driver=ath10k_pci latency=0
resources: irq:279 memory:d5000000-d51fffff
*-network
description: Ethernet interface
product: RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:03:00.0
logical name: eth0
version: 07
serial: f4:8e:38:e1:f9:a2
size: 100Mbit/s
capacity: 100Mbit/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 autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl8106e-1_0.0.1 06/29/12 ip=192.168.0.47 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
resources: irq:124 ioport:d000(size=256) memory:d5204000-d5204fff memory:d5200000-d5203fff
--------------------------------------------------------------------------------------
$ mintwifi
-------------------------
* I. scanning WIFI PCI devices...
-- Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32)
==> PCI ID = 168c:003e (rev 32)
-------------------------
* II. querying ndiswrapper...
-------------------------
* III. querying iwconfig...
eth0 no wireless extensions.

lo no wireless extensions.

-------------------------
* IV. querying ifconfig...
eth0 Link encap:Ethernet HWaddr f4:8e:38:e1:f9:a2
inet addr:192.168.0.47 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::f68e:38ff:fee1:f9a2/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9128 errors:0 dropped:0 overruns:0 frame:0
TX packets:5860 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:10517099 (10.5 MB) TX bytes:582247 (582.2 KB)

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:207 errors:0 dropped:0 overruns:0 frame:0
TX packets:207 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:21786 (21.7 KB) TX bytes:21786 (21.7 KB)

-------------------------
* V. querying DHCP...
RTNETLINK answers: File exists
-------------------------
* VI. querying nslookup google.com...
Server: 189.7.80.22
Address: 189.7.80.22#53

Non-authoritative answer:
...
--------------------------------------------------------------------------------------
$ rfkill list all
0: hci0: Bluetooth
Soft blocked: yes
Hard blocked: no

Somente o dispositivo de bluetooth está sendo reconhecido.
Sequer aparece o phy0: Wireless LAN.
Logo, o problema não é de soft block.
--------------------------------------------------------------------------------------
$ iwlist wlan0 scan
wlan0 Interface doesn't support scanning.
--------------------------------------------------------------------------------------
$ dmesg | grep ath10k
[ 12.070035] ath10k_pci 0000:02:00.0: pci irq msi-x interrupts 8 irq_mode 0 reset_mode 0
[ 12.636352] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/cal-pci-0000:02:00.0.bin failed with error -2
[ 12.648482] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/firmware-5.bin failed with error -2
[ 12.648485] ath10k_pci 0000:02:00.0: could not fetch firmware file 'ath10k/QCA6174/hw3.0/firmware-5.bin': -2
[ 12.648491] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/firmware-4.bin failed with error -2
[ 12.648492] ath10k_pci 0000:02:00.0: could not fetch firmware file 'ath10k/QCA6174/hw3.0/firmware-4.bin': -2
[ 12.648497] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/firmware-3.bin failed with error -2
[ 12.648498] ath10k_pci 0000:02:00.0: could not fetch firmware file 'ath10k/QCA6174/hw3.0/firmware-3.bin': -2
[ 12.648503] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/firmware-2.bin failed with error -2
[ 12.648504] ath10k_pci 0000:02:00.0: could not fetch firmware file 'ath10k/QCA6174/hw3.0/firmware-2.bin': -2
[ 12.648509] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/QCA6174/hw3.0/firmware.bin failed with error -2
[ 12.648510] ath10k_pci 0000:02:00.0: could not fetch firmware (-2)
[ 12.648511] ath10k_pci 0000:02:00.0: could not fetch firmware files (-2)
[ 12.648512] ath10k_pci 0000:02:00.0: could not probe fw (-2)
--------------------------------------------------------------------------------------

Eu instalei o último kernel disponível (4.4.0-22) imaginando que as configurações de firmware poderiam estar disponíveis. No entanto não adiantou. Busquei por dicas em diversos sites e fóruns, mas nenhuma sanou o problema até aqui.

Se alguém souber como eu posso solucionar este problema, ficaria agradecido se pudesse compartilhar. Caso necessitem de mais informações para melhor entendimento do problema, me comuniquem, por gentileza.

Abraços e um bom fim de semana a todos!


  


2. Re: Problemas Rede Wireless

Luiz Santos
luiztux

(usa Gentoo)

Enviado em 13/05/2016 - 14:08h

Maravilha você ter passado tantas informações...

Tinha um cara com o mesmo problema e mesma placa de rede e mesma marca de PC/Note... que coisa.

Vamos lá.

Baixe o arquivo deste link: https://github.com/kvalo/ath10k-firmware/tree/master/QCA6174/hw3.0

Copie os arquivos para o diretório: /lib/firmware/ath10k/QCA6174/hw3.0/

Feito isto, rode:

sudo modprobe -rv ath10k_pci 


Depois...

sudo modprobe -v ath10k_pci 


Espero que com isto funcione. Se não funcionar, ou aparecer qualquer mensagem de erro, poste tudo aqui.

-----------------------------------''----------------------------------

"If it moves, compile it."


3. Re: Problemas Rede Wireless

Wesley Bertoli da Silva
wesbertoli

(usa Linux Mint)

Enviado em 13/05/2016 - 15:23h

luiztux escreveu:

Maravilha você ter passado tantas informações...

Tinha um cara com o mesmo problema e mesma placa de rede e mesma marca de PC/Note... que coisa.

Vamos lá.

Baixe o arquivo deste link: https://github.com/kvalo/ath10k-firmware/tree/master/QCA6174/hw3.0

Copie os arquivos para o diretório: /lib/firmware/ath10k/QCA6174/hw3.0/

Feito isto, rode:

sudo modprobe -rv ath10k_pci 


Depois...

sudo modprobe -v ath10k_pci 


Espero que com isto funcione. Se não funcionar, ou aparecer qualquer mensagem de erro, poste tudo aqui.

-----------------------------------''----------------------------------

"If it moves, compile it."


Muito obrigado por responder ao tópico, luiztx. Infelizmente não vi a postagem do outro cara com o mesmo problema. Ele conseguiu resolver?

Antes de ver sua mensagem, eu havia tentado mais coisas e nenhuma deu resultado. Sendo assim, resolvi formatar a máquina e instalar o SO novamente. Feito isso, segui suas instruções: baixei os 3 arquivos e os copiei para o diretório /lib/firmware/ath10k/QCA6174/hw3.0/. A pasta QCA6174 não existia, então eu a criei, juntamente com a hw3.0. Em seguida rodei os comandos que você enviou e as saídas foram as seguintes:


$ sudo modprobe -rv ath10k_pci
$ sudo modprobe -v ath10k_pci
insmod /lib/modules/3.19.0-32-generic/kernel/net/wireless/cfg80211.ko
insmod /lib/modules/3.19.0-32-generic/kernel/net/mac80211/mac80211.ko
insmod /lib/modules/3.19.0-32-generic/kernel/drivers/net/wireless/ath/ath.ko
insmod /lib/modules/3.19.0-32-generic/kernel/drivers/net/wireless/ath/ath10k/ath10k_core.ko
insmod /lib/modules/3.19.0-32-generic/kernel/drivers/net/wireless/ath/ath10k/ath10k_pci.ko


O primeiro comando não retornou nada, como se vê. Infelizmente, isso não resolveu o problema pois o sistema continua não identificando a wireless:


$ rfkill list all
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no


Outras saídas que podem ser relevantes:


$ iwlist wlan0 scan
wlan0 Interface doesn't support scanning.



$ sudo lshw -C network
*-network UNCLAIMED
description: Network controller
product: Qualcomm Atheros
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:02:00.0
version: 32
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: latency=0
resources: memory:d5000000-d51fffff
*-network
description: Ethernet interface
product: RTL8101E/RTL8102E PCI Express Fast Ethernet controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:03:00.0
logical name: eth0
version: 07
serial: f4:8e:38:e1:f9:a2
size: 100Mbit/s
capacity: 100Mbit/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 autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl8106e-1_0.0.1 06/29/12 ip=192.168.0.47 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
resources: irq:124 ioport:d000(size=256) memory:d5204000-d5204fff memory:d5200000-d5203fff


Pelo iwconfig e ifconfig vemos que o wlan0 não aparece.


$ mintwifi
-------------------------
* I. scanning WIFI PCI devices...
-- Qualcomm Atheros Device 003e (rev 32)
==> PCI ID = 168c:003e (rev 32)
-------------------------
* II. querying ndiswrapper...
-------------------------
* III. querying iwconfig...
eth0 no wireless extensions.

lo no wireless extensions.

-------------------------
* IV. querying ifconfig...
eth0 Link encap:Ethernet HWaddr f4:8e:38:e1:f9:a2
inet addr:192.168.0.47 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::f68e:38ff:fee1:f9a2/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12521 errors:0 dropped:0 overruns:0 frame:0
TX packets:8992 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:14844511 (14.8 MB) TX bytes:961906 (961.9 KB)

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:499 errors:0 dropped:0 overruns:0 frame:0
TX packets:499 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:80020 (80.0 KB) TX bytes:80020 (80.0 KB)

-------------------------
* V. querying DHCP...
RTNETLINK answers: File exists
-------------------------
* VI. querying nslookup google.com...
Server: 189.7.80.22
Address: 189.7.80.22#53

Non-authoritative answer:
Name: google.com
Address: 216.58.219.142


E agora, o que fazer? haha

Novamente obrigado pela atenção.

Abraços!


4. Re: Problemas Rede Wireless

Clodoaldo Santos
clodoaldops

(usa Linux Mint)

Enviado em 13/05/2016 - 15:34h

Conectar via cabo
Abrir gerenciador driver
Veja se há sugestão para instalar



5. Re: Problemas Rede Wireless

Luiz Santos
luiztux

(usa Gentoo)

Enviado em 13/05/2016 - 15:43h

Além dos passos sugeridos pelo @clodoaldops, certifique-se que tua interface wireless é a wlan0.

ip link  


Certificado, verifique se o firmware está ok:

sudo ethtool -i <interface> 


Senão, podemos tentar alterar o driver/módulo pra tua placa, do ath10k_pci para o ath10k.
-----------------------------------''----------------------------------

"If it moves, compile it."


6. Re: Problemas Rede Wireless

Wesley Bertoli da Silva
wesbertoli

(usa Linux Mint)

Enviado em 13/05/2016 - 15:45h

clodoaldops escreveu:

Conectar via cabo
Abrir gerenciador driver
Veja se há sugestão para instalar


Olá clodoaldops. Você se refere a tela a seguir?

http://i63.tinypic.com/35arlly.jpg

Obrigado.




7. Re: Problemas Rede Wireless

Clodoaldo Santos
clodoaldops

(usa Linux Mint)

Enviado em 13/05/2016 - 15:46h

Poste no imgur
Pq link não abriu


8. Re: Problemas Rede Wireless

Wesley Bertoli da Silva
wesbertoli

(usa Linux Mint)

Enviado em 13/05/2016 - 15:47h

luiztux escreveu:

Além dos passos sugeridos pelo @clodoaldops, certifique-se que tua interface wireless é a wlan0.

ip link  


Certificado, verifique se o firmware está ok:

sudo ethtool -i <interface> 


Senão, podemos tentar alterar o driver/módulo pra tua placa, do ath10k_pci para o ath10k.
-----------------------------------''----------------------------------

"If it moves, compile it."


Olá, luiztux. Segue saída:

$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether f4:8e:38:e1:f9:a2 brd ff:ff:ff:ff:ff:ff


Só aparece lo e o eth0, nada que diga respeito à wireless. Isso que está bastante estranho...

Obrigado.


9. Re: Problemas Rede Wireless

Clodoaldo Santos
clodoaldops

(usa Linux Mint)

Enviado em 13/05/2016 - 15:48h

Gerenciador Drivers
https://www.vivaolinux.com.br/dica/Driver-NVIDIA-no-Linux-Mint-17


10. Re: Problemas Rede Wireless

Wesley Bertoli da Silva
wesbertoli

(usa Linux Mint)

Enviado em 13/05/2016 - 15:50h

clodoaldops escreveu:

Poste no imgur
Pq link não abriu


Veja se agora vai, clodoaldops: http://imgur.com/S3vVYOz.

Abraços.


11. Re: Problemas Rede Wireless

Luiz Santos
luiztux

(usa Gentoo)

Enviado em 13/05/2016 - 15:52h

Na saída do seu comando lshw eu não vi informação de driver. Rode de novo:

sudo modprobe -v ath10k_pci 


Depois:

sudo ip link set wlan0 up 


...ou com o ifconfig

sudo ifconfig wlan0 up 


-----------------------------------''----------------------------------

"If it moves, compile it."


12. Re: Problemas Rede Wireless

Wesley Bertoli da Silva
wesbertoli

(usa Linux Mint)

Enviado em 13/05/2016 - 15:53h



A instalação do Drive do Nvidia deve resolver o problema? Vou executar aqui.

Obrigado.



01 02 03



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts