You are not logged in.

#1 2017-01-01 08:40:39

ali_molaei
Member
From: Iran
Registered: 2015-12-24
Posts: 63
Website

No internet on wifi after some hours - remove/add module to fix

I have a strange problem with my wifi connection

If I leave laptop connected to my home wifi for about 2 or 3 hours without activity, when I come back, it is connected to wifi but i dont have internet, even disconnecting and reconnecting to wifi is not solving the problem

The stranger thing is that if I connect to another wifi, then I have internet, and then if I connect to my wifi again I have no Internet neutral

The only solution I found is:

sudo modprobe -r wl
sudo modprobe wl
sudo systemctl restart connman.service

This is really annoying me. and I don't know what to do.

Offline

#2 2017-01-01 16:58:21

Rob_H
Member
Registered: 2012-06-19
Posts: 72

Re: No internet on wifi after some hours - remove/add module to fix

How are you managing your network connections? Is it NetworkManager or systemd or something else? Start with the log files for whatever manager you're using. Also, can you be more specific about what is not working? Are you able to resolve domain names through DNS? Can you ping other machines on the LAN?

Offline

#3 2017-01-01 18:19:34

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,433

Re: No internet on wifi after some hours - remove/add module to fix

I guess this is broadcom wireless card, with poor support. If your card is supported try changing to brcm** (kernel driver)
@Rob_H he is using connman for managing network

Offline

#4 2017-01-02 18:33:55

ali_molaei
Member
From: Iran
Registered: 2015-12-24
Posts: 63
Website

Re: No internet on wifi after some hours - remove/add module to fix

Docbroke wrote:

I guess this is broadcom wireless card, with poor support. If your card is supported try changing to brcm** (kernel driver)
@Rob_H he is using connman for managing network

My laptop is using Broadcom Limited BCM43142 and yes it's driver is not opensource.
I was using broadcom-wl-dkms and last night I replaced it by broadcom-wl but the problem is still persist...

What can I use to change brcm** (kernel driver)?

Offline

#5 2017-01-02 18:44:11

ali_molaei
Member
From: Iran
Registered: 2015-12-24
Posts: 63
Website

Re: No internet on wifi after some hours - remove/add module to fix

Rob_H wrote:

How are you managing your network connections? Is it NetworkManager or systemd or something else? Start with the log files for whatever manager you're using. Also, can you be more specific about what is not working? Are you able to resolve domain names through DNS? Can you ping other machines on the LAN?

I'm using Connman

In journalctl I found this:

Jan 02 18:58:06 archlinux wpa_supplicant[472]: wlp2s0: CTRL-EVENT-DISCONNECTED bssid=#MODEMMACADDRESS# reason=0
Jan 02 18:58:06 archlinux wpa_supplicant[472]: wlp2s0: Reject scan trigger since one is already pending
Jan 02 18:58:06 archlinux wpa_supplicant[472]: wlp2s0: Failed to initiate AP scan
Jan 02 18:58:06 archlinux connmand[404]: wlp2s0 {RX} 110420 packets 150865906 bytes
Jan 02 18:58:06 archlinux connmand[404]: wlp2s0 {TX} 108124 packets 8480736 bytes
Jan 02 18:58:06 archlinux connmand[404]: wlp2s0 {update} flags 102403 <UP,LOWER_UP>
Jan 02 18:58:06 archlinux connmand[404]: wlp2s0 {newlink} index 3 address #LAPTOPMACADDRESS# mtu 1500
Jan 02 18:58:06 archlinux connmand[404]: wlp2s0 {newlink} index 3 operstate 5 <DORMANT>
Jan 02 18:58:06 archlinux connman-vpnd[473]: wlp2s0 {update} flags 102403 <UP,LOWER_UP>
Jan 02 18:58:06 archlinux connman-vpnd[473]: wlp2s0 {newlink} index 3 address #LAPTOPMACADDRESS# mtu 1500
Jan 02 18:58:06 archlinux connman-vpnd[473]: wlp2s0 {newlink} index 3 operstate 5 <DORMANT>
Jan 02 18:58:06 archlinux connmand[404]: Time request for server 192.168.1.1 failed (101/Network is unreachable)
Jan 02 18:58:06 archlinux connmand[404]: wlp2s0 {del} address 192.168.1.100/24 label wlp2s0
Jan 02 18:58:06 archlinux connmand[404]: wlp2s0 {del} route 192.168.1.0 gw 0.0.0.0 scope 253 <LINK>
Jan 02 18:58:07 archlinux connmand[404]: Skipping disconnect of 486f6d6553686174656c_managed_psk, network is connecting.
Jan 02 18:58:07 archlinux connmand[404]: ipconfig state 7 ipconfig method 1
Jan 02 18:58:07 archlinux wpa_supplicant[472]: wlp2s0: Trying to associate with #MODEMMACADDRESS# (SSID='#SSID#' freq=2412 MHz)
Jan 02 18:58:07 archlinux connmand[404]: ipconfig state 2 ipconfig method 1
Jan 02 18:58:07 archlinux wpa_supplicant[472]: wlp2s0: Associated with #MODEMMACADDRESS# 
Jan 02 18:58:07 archlinux wpa_supplicant[472]: wlp2s0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
Jan 02 18:58:08 archlinux wpa_supplicant[472]: wlp2s0: WPA: Key negotiation completed with #MODEMMACADDRESS#  [PTK=CCMP GTK=TKIP]
Jan 02 18:58:08 archlinux wpa_supplicant[472]: wlp2s0: CTRL-EVENT-CONNECTED - Connection to #MODEMMACADDRESS#  completed [id=0 id_str=]
Jan 02 18:58:08 archlinux wpa_supplicant[472]: bgscan simple: Failed to enable signal strength monitoring
Jan 02 18:58:08 archlinux connmand[404]: wlp2s0 {RX} 110420 packets 150865906 bytes
Jan 02 18:58:08 archlinux connmand[404]: wlp2s0 {TX} 108124 packets 8480736 bytes
Jan 02 18:58:08 archlinux connmand[404]: wlp2s0 {update} flags 102467 <UP,RUNNING,LOWER_UP>
Jan 02 18:58:08 archlinux connmand[404]: wlp2s0 {newlink} index 3 address #LAPTOPMACADDRESS# mtu 1500
Jan 02 18:58:08 archlinux connmand[404]: wlp2s0 {newlink} index 3 operstate 6 <UP>
Jan 02 18:58:08 archlinux connman-vpnd[473]: wlp2s0 {update} flags 102467 <UP,RUNNING,LOWER_UP>
Jan 02 18:58:08 archlinux connman-vpnd[473]: wlp2s0 {newlink} index 3 address #LAPTOPMACADDRESS# mtu 1500
Jan 02 18:58:08 archlinux connman-vpnd[473]: wlp2s0 {newlink} index 3 operstate 6 <UP>
Jan 02 18:58:08 archlinux connmand[404]: ipconfig state 3 ipconfig method 1
Jan 02 18:58:08 archlinux connmand[404]: Failed to set hostname to dhcppc0
Jan 02 18:58:08 archlinux connmand[404]: wlp2s0 {add} address 192.168.1.100/24 label wlp2s0 family 2
Jan 02 18:58:08 archlinux connmand[404]: wlp2s0 {add} route 192.168.1.0 gw 0.0.0.0 scope 253 <LINK>
Jan 02 18:58:08 archlinux connmand[404]: wlp2s0 {add} route 192.168.1.1 gw 0.0.0.0 scope 253 <LINK>
Jan 02 18:58:08 archlinux connmand[404]: wlp2s0 {add} route 0.0.0.0 gw 192.168.1.1 scope 0 <UNIVERSE>
Jan 02 18:58:08 archlinux connmand[404]: wlp2s0 {add} route 82.165.8.211 gw 192.168.1.1 scope 0 <UNIVERSE>
Jan 02 18:58:08 archlinux connmand[404]: wlp2s0 {del} route 82.165.8.211 gw 192.168.1.1 scope 0 <UNIVERSE>

and this two lines are RED (Error):

Jan 02 18:58:06 archlinux connmand[404]: Time request for server 192.168.1.1 failed (101/Network is unreachable)
Jan 02 18:58:08 archlinux connmand[404]: Failed to set hostname to dhcppc0

Last edited by ali_molaei (2017-01-03 06:37:30)

Offline

#6 2017-01-03 03:01:06

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,433

Re: No internet on wifi after some hours - remove/add module to fix

Offline

#7 2017-01-03 06:41:06

ali_molaei
Member
From: Iran
Registered: 2015-12-24
Posts: 63
Website

Re: No internet on wifi after some hours - remove/add module to fix

Thanks for your reply but i read this page 3 times smile and before asking here searched a lot smile as I saied only broadcom-wl and broadcom-wl-dkms are working for me and I have problem with them.

I hope you explain more instead of just leave a Link and go smile

Offline

#8 2017-01-03 07:51:54

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,433

Re: No internet on wifi after some hours - remove/add module to fix

I searched for you, and it appears that bcm43142 is only supported by wl driver. So you are stuck with it.
I would suggest that you use dkms varient to avoid manual recompiling on every kernel update. I don't think we can do much here.

Offline

#9 2017-01-05 14:47:39

ali_molaei
Member
From: Iran
Registered: 2015-12-24
Posts: 63
Website

Re: No internet on wifi after some hours - remove/add module to fix

I'm now using a D-LINK external wifi modem and the problem is gone, so my laptop wifi problem was from driver as you said... thank you. hope broadcom give us a free driver sad

Offline

Board footer

Powered by FluxBB