Wifi keeps disconnecting

To reverse the changes simply put a # symbol in front of the new entries in /etc/modprobe.d/brcmsmac.conf and /etc/modules-load.d/brcmsmac.conf.

To return to using the wl drivers simply remove the pound signs in front of any blacklist entry in the linux44-broadcom-wl and the linux49-broadcom-wl files.

Then, reboot.

Thanks for reply @tbg wifi is working again
but after adding contents to /etc/modules-load.d/brcmsmac.conf and rebooting the system it wasn't working then I turn it off for half an hour and after turning it back on it's working
but I don't know how long it will last ,

If it'll disconnects again then I'll remove the contents

inxi -Fxzc0
System:
  Host: wonk-pc Kernel: 4.14.48-2-MANJARO x86_64 bits: 64 compiler: gcc 
  v: 8.1.1 Desktop: Gnome 3.28.2 Distro: Manjaro Linux 17.1.10 Hakoila 
Machine:
  Type: Laptop System: LENOVO product: 20150 v: Lenovo G580 serial: <filter> 
  Mobo: LENOVO model: INVALID v: 31900004WIN8 STD SGL serial: <filter> 
  UEFI [Legacy]: LENOVO v: 5ECN92WW(V8.04) date: 09/14/2012 
Battery:
  ID-1: BAT1 charge: 31.0 Wh condition: 40.3/40.4 Wh (100%) 
  model: LENOVO PABAS0241231 status: Discharging 
CPU:
  Topology: Dual Core model: Intel Core i3-3110M bits: 64 type: MT MCP 
  arch: Ivy Bridge rev: 9 L2 cache: 3072 KiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 19166 
  Speed: 1197 MHz min/max: 1200/2400 MHz Core speeds (MHz): 1: 1198 2: 1197 
  3: 1197 4: 1197 
Graphics:
  Card-1: Intel 3rd Gen Core processor Graphics driver: i915 v: kernel 
  bus ID: 00:02.0 
  Card-2: NVIDIA GF119M [GeForce 610M] driver: N/A bus ID: 01:00.0 
  Display: x11 server: X.Org 1.19.6 driver: intel resolution: 1366x768~60Hz 
  OpenGL: renderer: Mesa DRI Intel Ivybridge Mobile v: 4.2 Mesa 18.1.1 
  direct render: Yes 
Audio:
  Card-1: Intel 7 Series/C216 Family High Definition Audio 
  driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
  Sound Server: ALSA v: k4.14.48-2-MANJARO 
Network:
  Card-1: Qualcomm Atheros AR8162 Fast Ethernet driver: alx v: kernel 
  port: 2000 bus ID: 02:00.0 
  IF: enp2s0 state: down mac: <filter> 
  Card-2: Broadcom Limited BCM4313 802.11bgn Wireless Network Adapter 
  driver: bcma-pci-bridge v: N/A bus ID: 03:00.0 
  IF-ID-1: wlp3s0b1 state: up mac: <filter> 
Drives:
  HDD Total Size: 931.51 GiB used: 59.53 GiB (6.4%) 
  ID-1: /dev/sda vendor: Western Digital model: WD10JPVX-22JC3T0 
  size: 931.51 GiB 
Partition:
  ID-1: / size: 95.62 GiB used: 59.52 GiB (62.2%) fs: ext4 dev: /dev/sda5 
  ID-2: swap-1 size: 3.91 GiB used: 3.0 MiB (0.1%) fs: swap dev: /dev/sda7 
Sensors:
  System Temperatures: cpu: 63.0 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 181 Uptime: 41m Memory: 1.76 GiB used: 804.2 MiB (44.7%) 
  Init: systemd Compilers: gcc: 8.1.1 Shell: bash v: 4.4.19 inxi: 3.0.10

Guess you never rebooted the system after performing the changes. That is usually required. Sorry if I forgot to mention that.

I just saw your inxi you posted. You've still got driver issues for some reason. It should not be bcma-pci-bridge

not your fault but I honestly rebooted the system after adding contents
but it just didn't work and now it's working after turning it back on

then what should it be
Should it be wl?

Yes it should be wl if you've switched back to the wl drivers. Read this page:

I know I can help you get this fixed up, but I'm only on my cell and I'm not at home so I don't have access to a Linux computer. If you have time tomorrow I'll try to walk you through getting your card fixed up.

I am definitely in
I'll wait

Ok then I'll give you a hand tomorrow when I'm back home.

Umm, I don't know if its help but someone in the internet said that your card is either using modules provided by brcmsmac or b43. So, you might want to load both of them and blacklist broadcom-wl module.

Source:
https://ubuntuforums.org/showthread.php?t=2232939

Hi again.

OK, before I can figure out whats going on, I need you to post a bunch of outputs again. Please post them individually rather than jumbling them together in one long post. Sorry, I know that's a lot of stuff, but I have no idea what is happening on your system now after all those changes.

lsmod

rfkill list all

find /etc/modprobe.d -type f -name "*.conf" -print -execdir cat '{}' \; -execdir echo \;

find /etc/modules-load.d -type f -name "*.conf" -print -execdir cat '{}' \; -execdir echo \;

hwinfo --netcard --wlan --bluetooth | grep -Ei "model\:|driver\:|status\:|cmd\:|file\:|detected\:" | grep -v "Config Status" 

Sorry for late late reply I was busy
and since yesterday it hasn't disconnected but you know better
so I am posting them

1 Like
lsmod
Module                  Size  Used by
ccm                    20480  6
fuse                  118784  3
cmac                   16384  1
rfcomm                 86016  4
bnep                   24576  2
bbswitch               16384  0
btusb                  53248  0
btrtl                  16384  1 btusb
btbcm                  16384  1 btusb
btintel                16384  1 btusb
bluetooth             630784  31 btrtl,btintel,bnep,btbcm,rfcomm,btusb
uvcvideo              102400  0
videobuf2_vmalloc      16384  1 uvcvideo
videobuf2_memops       16384  1 videobuf2_vmalloc
videobuf2_v4l2         28672  1 uvcvideo
videobuf2_core         45056  2 uvcvideo,videobuf2_v4l2
rtsx_usb_ms            20480  0
videodev              204800  3 uvcvideo,videobuf2_core,videobuf2_v4l2
memstick               16384  1 rtsx_usb_ms
ecdh_generic           24576  1 bluetooth
media                  45056  2 uvcvideo,videodev
intel_rapl             24576  0
joydev                 24576  0
x86_pkg_temp_thermal    16384  0
mousedev               24576  0
iTCO_wdt               16384  0
iTCO_vendor_support    16384  1 iTCO_wdt
evdev                  20480  19
intel_powerclamp       16384  0
input_leds             16384  0
mac_hid                16384  0
coretemp               16384  0
psmouse               167936  0
pcspkr                 16384  0
kvm                   708608  0
irqbypass              16384  1 kvm
crct10dif_pclmul       16384  0
crc32_pclmul           16384  0
ghash_clmulni_intel    16384  0
cryptd                 28672  1 ghash_clmulni_intel
intel_cstate           16384  0
intel_rapl_perf        16384  0
i2c_i801               28672  0
snd_hda_codec_hdmi     57344  1
battery                20480  0
snd_hda_codec_conexant    24576  1
snd_hda_codec_generic    86016  1 snd_hda_codec_conexant
alx                    49152  0
mdio                   16384  1 alx
thermal                20480  0
ideapad_laptop         32768  0
shpchp                 40960  0
sparse_keymap          16384  1 ideapad_laptop
wmi                    28672  1 ideapad_laptop
i915                 1941504  15
ac                     16384  0
video                  45056  2 i915,ideapad_laptop
snd_hda_intel          45056  3
button                 16384  1 i915
snd_hda_codec         151552  4 snd_hda_intel,snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hda_codec_generic
snd_hda_core           90112  5 snd_hda_intel,snd_hda_codec_conexant,snd_hda_codec,snd_hda_codec_hdmi,snd_hda_codec_generic
snd_hwdep              16384  1 snd_hda_codec
snd_pcm               118784  4 snd_hda_intel,snd_hda_codec,snd_hda_core,snd_hda_codec_hdmi
snd_timer              36864  1 snd_pcm
snd                    90112  14 snd_hda_intel,snd_hwdep,snd_hda_codec_conexant,snd_hda_codec,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_pcm
i2c_algo_bit           16384  1 i915
soundcore              16384  1 snd
drm_kms_helper        196608  1 i915
drm                   434176  6 i915,drm_kms_helper
intel_gtt              24576  1 i915
agpgart                49152  2 intel_gtt,drm
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
fb_sys_fops            16384  1 drm_kms_helper
mei_me                 45056  0
mei                   114688  1 mei_me
lpc_ich                28672  0
sch_fq_codel           20480  9
pci_stub               16384  1
vboxpci                28672  0
vboxnetflt             32768  0
vboxnetadp             28672  0
arc4                   16384  2
vboxdrv               487424  3 vboxnetadp,vboxnetflt,vboxpci
sg                     40960  0
brcmsmac              577536  0
cordic                 16384  1 brcmsmac
brcmutil               16384  1 brcmsmac
bcma                   61440  2 brcmsmac
mac80211              905216  1 brcmsmac
cfg80211              733184  2 brcmsmac,mac80211
rfkill                 28672  8 bluetooth,ideapad_laptop,cfg80211
crypto_user            16384  0
ip_tables              28672  0
x_tables               45056  1 ip_tables
ext4                  716800  1
crc32c_generic         16384  0
crc16                  16384  2 bluetooth,ext4
mbcache                16384  1 ext4
jbd2                  118784  1 ext4
fscrypto               32768  1 ext4
sr_mod                 28672  0
cdrom                  69632  1 sr_mod
sd_mod                 61440  3
rtsx_usb_sdmmc         28672  0
led_class              16384  3 brcmsmac,rtsx_usb_sdmmc,input_leds
mmc_core              167936  1 rtsx_usb_sdmmc
rtsx_usb               20480  2 rtsx_usb_sdmmc,rtsx_usb_ms
hid_generic            16384  0
ata_generic            16384  0
pata_acpi              16384  0
usbhid                 57344  0
hid                   131072  2 hid_generic,usbhid
serio_raw              16384  0
atkbd                  32768  0
libps2                 16384  2 atkbd,psmouse
ata_piix               36864  2
xhci_pci               16384  0
xhci_hcd              241664  1 xhci_pci
libata                278528  3 ata_piix,ata_generic,pata_acpi
ehci_pci               16384  0
ehci_hcd               94208  1 ehci_pci
crc32c_intel           24576  1
scsi_mod              212992  4 sd_mod,libata,sr_mod,sg
usbcore               286720  8 uvcvideo,usbhid,ehci_hcd,xhci_pci,rtsx_usb,btusb,xhci_hcd,ehci_pci
usb_common             16384  1 usbcore
i8042                  32768  1 ideapad_laptop
serio                  28672  6 serio_raw,atkbd,psmouse,i8042

rfkill list all
0: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
1: ideapad_wlan: Wireless LAN
	Soft blocked: no
	Hard blocked: no
2: ideapad_bluetooth: Bluetooth
	Soft blocked: no
	Hard blocked: no
3: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no

find /etc/modprobe.d -type f -name "*.conf" -print -execdir cat '{}' \; -execdir echo \;
/etc/modprobe.d/brcmsmac.conf
blacklist b43
blacklist b43legacy
blacklist bcm43xx
blacklist ssb
blacklist brcmfmac
blacklist bcma
blacklist wl

/etc/modprobe.d/mhwd-nouveau.conf
##
## Generated by mhwd - Manjaro Hardware Detection
##
 
 
blacklist nouveau

/etc/modprobe.d/bumblebee.conf
remove nvidia modprobe -r --ignore-remove nvidia-drm nvidia-modeset nvidia-uvm nvidia

/etc/modprobe.d/mhwd-bbswitch.conf
##
## Generated by mhwd - Manjaro Hardware Detection
##
 
 
options bbswitch load_state=0 unload_state=0

/etc/modprobe.d/linux414-broadcom-wl.conf
# blacklist b43
# blacklist b43legacy
# blacklist ssb
# blacklist bcm43xx
# blacklist brcm80211
# blacklist brcmfmac
# blacklist brcmsmac
# blacklist bcma

/etc/modprobe.d/linux49-broadcom-wl.conf
# blacklist b43
# blacklist b43legacy
# blacklist ssb
# blacklist bcm43xx
# blacklist brcm80211
# blacklist brcmfmac
# blacklist brcmsmac
# blacklist bcma

find /etc/modules-load.d -type f -name "*.conf" -print -execdir cat '{}' \; -execdir echo \;
/etc/modules-load.d/brcmsmac.conf
brcmsmac

/etc/modules-load.d/modules.conf
# List of modules to load at boot

/etc/modules-load.d/linux49-virtualbox-host-modules.conf
vboxdrv
vboxnetadp
vboxnetflt
vboxpci

/etc/modules-load.d/linux414-virtualbox-host-modules.conf
vboxdrv
vboxnetadp
vboxnetflt
vboxpci

hwinfo --netcard --wlan --bluetooth | grep -Ei "model\:|driver\:|status\:|cmd\:|file\:|detected\:" | grep -v "Config Status"
  Model: "Broadcom BCM4313 802.11bgn Wireless Network Adapter"
  Driver: "bcma-pci-bridge"
  Device File: wlp3s0b1
  Link detected: yes
    Driver Status: bcma is active
    Driver Activation Cmd: "modprobe bcma"
    Driver Status: wl is not active
    Driver Activation Cmd: "modprobe wl"
  Model: "Qualcomm Atheros AR8162 Fast Ethernet"
  Driver: "alx"
  Device File: enp2s0
  Link detected: no
    Driver Status: alx is active
    Driver Activation Cmd: "modprobe alx"

I thought you had switched back to the wl driver. If the kernel drivers are working I think the best thing to do is uninstall the wl drivers completely. That should fix the remaining conflicts. Everything you posted looks perfect except the bcma-pci-bridge driver entry. That only ocurs when the wl driver conflicts with one of the kernel drivers. You can remove the broadcom-wl drivers through Manjaro Settings Manager. You configured everything perfectly in all the configuration files.

Once you have removed the wl drivers reboot and let me know how things are working.

Forum kindly sponsored by