Problemas com Redes [RESOLVIDO]

1. Problemas com Redes [RESOLVIDO]

Bob Construtor
bob-construtor

(usa Linux Mint)

Enviado em 29/03/2016 - 18:56h

Olá, entrei no mundo do Linux há alguns meses. Sou leigo em muita coisa ainda. Ultimamente tenho enfrentado problemas com a conexão da rede wi-fi, o famoso problema "conecta, mas não navega". Consigo usar normalmente por uns 10 minutos e então ela para de funcionar, depois de 5 minutos o o wi-fi desconecta e não consigo restabelecer a conexão. Já procurei diversas vezes, mas não consegui resolver o problema. Quem puder ajudar, agradeço muito.
Uso o Linux Mint 17.2 'Rafaela' cinnamon 64-bit.


  


2. MELHOR RESPOSTA

Luiz Santos
luiztux

(usa Gentoo)

Enviado em 30/03/2016 - 21:47h

Olá.

Bom, aparentemente está tudo ok.

O comando "iw dev wlan0 sacn | grep 'SSID\|dB\|channel'", na verdade era iw dev wlan0 scan | grep 'SSID\|dB\|channel'. Mas tudo bem, não se preocupe com isto.

Olha, achei o seguinte link: http://askubuntu.com/questions/632719/my-wifi-drops-the-connection-after-a-few-minutes-realtek8723be

Quem sabe a solução proposta na resposta 4 possa te ajudar.

Estes aqui também:

https://github.com/lwfinger/rtlwifi_new/

http://askubuntu.com/questions/590414/wifi-problems-with-rtl8723be-in-ubuntu-14-04

-----------------------------------''----------------------------------
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.

3. Re: Problemas com Redes [RESOLVIDO]

Luiz Santos
luiztux

(usa Gentoo)

Enviado em 29/03/2016 - 20:12h

Noite...

Já deu uma olhada nestes links?

https://www.vivaolinux.com.br/dica/Ubuntu-1404-Conecta-mas-nao-navega-Resolvido
https://www.vivaolinux.com.br/dica/Ubuntu-1404-Conecta-mas-nao-navega-Resolvido-1
https://www.vivaolinux.com.br/topico/UbuntuBR/Ubuntu-1404-wifi-conecta-mas-nao-navega

Não é o Mint, mas os procedimentos são os mesmos.

Se não der certo retorna aí.

Boa sorte.

-----------------------------------''----------------------------------
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.


4. Re: Problemas com Redes [RESOLVIDO]

Bob Construtor
bob-construtor

(usa Linux Mint)

Enviado em 30/03/2016 - 15:32h

Luiz, eu já tinha tentado alterar as configurações do ipv4. E quanto a questão de instalar os drivers corretos, eu tentei e não deu certo, fora as vezes que o download parou graças ao meu problema com a conexão.
Caso saiba mais alguma forma de me ajudar, agradeço.


5. Re: Problemas com Redes [RESOLVIDO]

Luiz Santos
luiztux

(usa Gentoo)

Enviado em 30/03/2016 - 16:13h

Ok.

Vamos à outros procedimentos.

Abre teu terminal e rode os seguintes comandos:

Do dmesg pode postar apenas as linhas referentes à wlan0.

dmesg 


lspci -v 


iwconfig 


iw dev wlan0 scan | grep 'SSID\|dB\|channel' 


e mais este por enquanto...

lshw -C network 


Poste a saída de todos aqui, entre as tags de código (</> ou alt+c) para facilitar a leitura.

Caso não tenha algum destes utilitários instalados, instale-os via gerenciador de programas.

-----------------------------------''----------------------------------
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.


6. Re: Problemas com Redes [RESOLVIDO]

Bob Construtor
bob-construtor

(usa Linux Mint)

Enviado em 30/03/2016 - 17:58h

[   27.456509] wlan0: authenticate with 9c:97:26:df:19:e3
[ 27.466672] wlan0: send auth to 9c:97:26:df:19:e3 (try 1/3)
[ 27.468208] wlan0: authenticated
[ 27.470616] wlan0: associate with 9c:97:26:df:19:e3 (try 1/3)
[ 27.474012] wlan0: RX AssocResp from 9c:97:26:df:19:e3 (capab=0x411 status=0 aid=2)
[ 27.474134] wlan0: associated


00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 0b)
Subsystem: CLEVO/KAPOK Computer Device 5496
Flags: bus master, fast devsel, latency 0
Capabilities: [e0] Vendor Specific Information: Len=0c <?>

00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b) (prog-if 00 [VGA controller])
Subsystem: CLEVO/KAPOK Computer Device 5496
Flags: bus master, fast devsel, latency 0, IRQ 60
Memory at f7800000 (64-bit, non-prefetchable) [size=4M]
Memory at e0000000 (64-bit, prefetchable) [size=256M]
I/O ports at f000 [size=64]
Expansion ROM at <unassigned> [disabled]
Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [d0] Power Management version 2
Capabilities: [a4] PCI Advanced Features
Kernel driver in use: i915

00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 0b)
Subsystem: CLEVO/KAPOK Computer Device 5496
Flags: bus master, fast devsel, latency 0, IRQ 62
Memory at f7e14000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
Kernel driver in use: snd_hda_intel

00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04) (prog-if 30 [XHCI])
Subsystem: CLEVO/KAPOK Computer Device 5496
Flags: bus master, medium devsel, latency 0, IRQ 56
Memory at f7e00000 (64-bit, non-prefetchable) [size=64K]
Capabilities: [70] Power Management version 2
Capabilities: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+
Kernel driver in use: xhci_hcd

00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04)
Subsystem: CLEVO/KAPOK Computer Device 5496
Flags: bus master, fast devsel, latency 0, IRQ 61
Memory at f7e1d000 (64-bit, non-prefetchable) [size=32]
Capabilities: [50] Power Management version 3
Capabilities: [8c] MSI: Enable+ Count=1/1 Maskable- 64bit+
Kernel driver in use: mei_me

00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)
Subsystem: CLEVO/KAPOK Computer Device 5496
Flags: bus master, fast devsel, latency 0, IRQ 63
Memory at f7e10000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 3
Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [100] Virtual Channel
Kernel driver in use: snd_hda_intel

00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 1 (rev e4) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 00002000-00002fff
Memory behind bridge: 7e200000-7e3fffff
Prefetchable memory behind bridge: 000000007e400000-000000007e5fffff
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
Capabilities: [90] Subsystem: CLEVO/KAPOK Computer Device 5496
Capabilities: [a0] Power Management version 3
Kernel driver in use: pcieport

00:1c.2 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 3 (rev e4) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: 0000e000-0000efff
Memory behind bridge: f7d00000-f7dfffff
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
Capabilities: [90] Subsystem: CLEVO/KAPOK Computer Device 5496
Capabilities: [a0] Power Management version 3
Capabilities: [100] #00
Capabilities: [200] L1 PM Substates
Kernel driver in use: pcieport

00:1c.3 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 4 (rev e4) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
I/O behind bridge: 0000d000-0000dfff
Memory behind bridge: f7c00000-f7cfffff
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
Capabilities: [90] Subsystem: CLEVO/KAPOK Computer Device 5496
Capabilities: [a0] Power Management version 3
Capabilities: [100] #00
Capabilities: [200] L1 PM Substates
Kernel driver in use: pcieport

00:1d.0 USB controller: Intel Corporation 8 Series USB EHCI #1 (rev 04) (prog-if 20 [EHCI])
Subsystem: CLEVO/KAPOK Computer Device 5496
Flags: bus master, medium devsel, latency 0, IRQ 23
Memory at f7e1b000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 3
Capabilities: [58] Debug port: BAR=1 offset=00a0
Capabilities: [98] PCI Advanced Features
Kernel driver in use: ehci-pci

00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04)
Subsystem: CLEVO/KAPOK Computer Device 5496
Flags: bus master, medium devsel, latency 0
Capabilities: [e0] Vendor Specific Information: Len=0c <?>
Kernel driver in use: lpc_ich

00:1f.2 SATA controller: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] (rev 04) (prog-if 01 [AHCI 1.0])
Subsystem: CLEVO/KAPOK Computer Device 5496
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 57
I/O ports at f0b0 [size=8]
I/O ports at f0a0 [size=4]
I/O ports at f090 [size=8]
I/O ports at f080 [size=4]
I/O ports at f060 [size=32]
Memory at f7e1a000 (32-bit, non-prefetchable) [size=2K]
Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [70] Power Management version 3
Capabilities: [a8] SATA HBA v1.0
Kernel driver in use: ahci

00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04)
Subsystem: CLEVO/KAPOK Computer Device 5496
Flags: medium devsel, IRQ 255
Memory at f7e19000 (64-bit, non-prefetchable) [size=256]
I/O ports at f040 [size=32]

02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter
Subsystem: Realtek Semiconductor Co., Ltd. Device b729
Flags: bus master, fast devsel, latency 0, IRQ 18
I/O ports at e000 [size=256]
Memory at f7d00000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Device Serial Number 00-23-b7-fe-ff-4c-e0-00
Capabilities: [150] Latency Tolerance Reporting
Capabilities: [158] L1 PM Substates
Kernel driver in use: rtl8723be

03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device 5287 (rev 01)
Subsystem: CLEVO/KAPOK Computer Device 5494
Flags: bus master, fast devsel, latency 0, IRQ 59
Memory at f7c15000 (32-bit, non-prefetchable) [size=4K]
Expansion ROM at f7c00000 [disabled] [size=64K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Endpoint, MSI 00
Capabilities: [b0] MSI-X: Enable- Count=1 Masked-
Capabilities: [d0] Vital Product Data
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel
Capabilities: [160] Device Serial Number 00-00-00-00-00-00-00-00
Capabilities: [170] Latency Tolerance Reporting
Capabilities: [178] L1 PM Substates
Kernel driver in use: rtsx_pci

03:00.1 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 12)
Subsystem: CLEVO/KAPOK Computer Device 5494
Flags: bus master, fast devsel, latency 0, IRQ 58
I/O ports at d000 [size=256]
Memory at f7c14000 (64-bit, non-prefetchable) [size=4K]
Memory at f7c10000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Endpoint, MSI 01
Capabilities: [b0] MSI-X: Enable- Count=4 Masked-
Capabilities: [d0] Vital Product Data
Capabilities: [100] Advanced Error Reporting
Capabilities: [160] Device Serial Number 01-00-00-00-68-4c-e0-00
Capabilities: [170] Latency Tolerance Reporting
Capabilities: [178] L1 PM Substates
Kernel driver in use: r8169



eth0 no wireless extensions.

wlan0 IEEE 802.11bgn ESSID:"GUIMARAES1"
Mode:Managed Frequency:2.412 GHz Access Point: 9C:97:26:DF:19:E3
Bit Rate=6.5 Mb/s Tx-Power=20 dBm
Retry short limit:7 RTS thr=2347 B Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=60/70 Signal level=-50 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:1 Missed beacon:0

lo no wireless extensions.


Quanto ao "iw dev wlan0 sacn | grep 'SSID\|dB\|channel' ". Ocorreu o seguinte código e não sei se era bem de se esperar isso. Caso não seja oque estava procurando, por favor, me diga como proceder.

	
dev <devname> ibss join <SSID> <freq in MHz> [HT20|HT40+|HT40-|NOHT] [fixed-freq] [<fixed bssid>] [beacon-interval <TU>] [basic-rates <rate in Mbps,rate2,...>] [mcast-rate <rate in Mbps>] [key d:0:abcde]
Join the IBSS cell with the given SSID, if it doesn't exist create
join/create a cell on a different frequency. When a fixed BSSID is
requested use that BSSID and do not adopt another cell's BSSID even
if it has higher TSF and the same SSID. If an IBSS is created, create
List all gathered channel survey data
Scan on the given frequencies and probe for the given SSIDs
SSIDs (or wildcard if not given) unless passive scanning is requested.
dev <devname> connect [-w] <SSID> [<freq in MHz>] [<bssid>] [key 0:abcde d:1:6162636465]
Join the network with the given SSID (and frequency, BSSID).
dev <devname> offchannel <freq> <duration>
Leave operating channel and go to the given channel for a while.
dev <devname> set channel <channel> [HT20|HT40+|HT40-]
phy <phyname> set channel <channel> [HT20|HT40+|HT40-]
Set frequency/channel the hardware is using, including HT

*-network               
descrição: Interface sem fio
produto: RTL8723BE PCIe Wireless Network Adapter
fabricante: Realtek Semiconductor Co., Ltd.
ID físico: 0
informações do barramento: pci@0000:02:00.0
nome lógico: wlan0
versão: 00
serial: 30:10:b3:21:39:d9
largura: 64 bits
clock: 33MHz
capacidades: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuração: broadcast=yes driver=rtl8723be driverversion=3.16.0-38-generic firmware=N/A ip=192.168.1.18 latency=0 link=yes multicast=yes wireless=IEEE 802.11bgn
recursos: irq:18 porta de E/S:e000(tamanho=256) memória:f7d00000-f7d03fff
*-network
descrição: Ethernet interface
produto: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
fabricante: Realtek Semiconductor Co., Ltd.
ID físico: 0.1
informações do barramento: pci@0000:03:00.1
nome lógico: eth0
versão: 12
serial: 80:fa:5b:a0:ef:de
tamanho: 10Mbit/s
capacidade: 1Gbit/s
largura: 64 bits
clock: 33MHz
capacidades: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuração: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl8411-2_0.0.1 07/08/13 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
recursos: irq:58 porta de E/S:d000(tamanho=256) memória:f7c14000-f7c14fff memória:f7c10000-f7c13fff




7. Re: Problemas com Redes [RESOLVIDO]

Bob Construtor
bob-construtor

(usa Linux Mint)

Enviado em 31/03/2016 - 17:55h

Aparentemente está tudo certo após eu usar a solução do primeiro link.
Usei durante uns 30 min e nenhum erro até agora. Porém se realmente resolveu, eu queria entende como, pois eu já tinha este modulo instalado.


8. Re: Problemas com Redes [RESOLVIDO]

Luiz Santos
luiztux

(usa Gentoo)

Enviado em 01/04/2016 - 08:42h

bob-construtor escreveu:

Aparentemente está tudo certo após eu usar a solução do primeiro link.
Usei durante uns 30 min e nenhum erro até agora. Porém se realmente resolveu, eu queria entende como, pois eu já tinha este modulo instalado.


E aí? Como estamos com este driver? Firme e forte?

Uma boa forma de você conseguir informações sobre o driver/módulo, é:

modinfo realtek8723be 


Aquelas opções passadas no arquivo conf, são para o Kernel saber como gerenciar tal driver em relação à economia de energia, "hibernando", por assim dizer, o driver/módulo com as opções 0 (desligado) e 1 (ligado). Estas mesmas opções você irá encontrar no comando acima e no código fonte do driver/módulo. De resto, se quiser ir mais a fundo, procure saber como o Kernel gerencia cada driver, suas diferentes opções para cada um, etc. etc.

Este driver tem um histórico grande em relação à este tipo de problema. Geralmente esta opção funciona, mas para alguns, conforme vi, causou um Kernel Panic. Que bom que não foi teu caso...rs


-----------------------------------''----------------------------------
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.


9. Re: Problemas com Redes [RESOLVIDO]

Bob Construtor
bob-construtor

(usa Linux Mint)

Enviado em 02/04/2016 - 10:05h

Muito obrigado pela ajuda Luiz. Tudo resolvido. Grande abraço.






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts