[SOLVED]wifi not working after update

Questions about WIFI networks and devices
Forum rules
Before you post please read how to get help
Post Reply
ninemen
Level 3
Level 3
Posts: 100
Joined: Fri Jun 21, 2019 9:58 am

[SOLVED]wifi not working after update

Post by ninemen »

Wifi was working fine previously when i was using 5.0.XX kernel ,though i use Ethernet most of the time but still i need wifi in emergency,i updated my system to kernel 5.3 and everything was working fine though i didn't check the wifi,Yesterday i installed a program from software manager but then removed it from manager itself ,after that i used autoremove command and it showed it was going to remove some kernel files of 5.0.XX i thought that i was using 5.3 and also autoremove is safe as it only removes unwanted/waste dependencies but while it was completing i saw it removing broadcom drivers of wifi so i pasted the whole log into a new text file maybe it can help. Now wifi is not working i am not even getting the option of wifi ,i selected the driver in driver manager but it is of no use,booted to old kernel but nothing helps
is autoremove safe or not?
Here are the output of inxi -F and auto remove

Code: Select all

user@user:~$ inxi -F
System:
  Host: user Kernel: 5.3.0-19-generic x86_64 bits: 64 
  Desktop: Cinnamon 4.2.4 Distro: Linux Mint 19.2 Tina 
Machine:
  Type: Laptop System: LENOVO product: 2949 v: Lenovo G450 
  serial: <root required> 
  Mobo: LENOVO model: NITU1 v: REFERENCE serial: <root required> 
  BIOS: LENOVO v: 18CN37WW(V2.10) date: 09/18/2009 
Battery:
  ID-1: BAT1 charge: 0% condition: 54.2/54.2 Wh (100%) 
CPU:
  Topology: Dual Core model: Intel Core2 Duo T6600 bits: 64 type: MCP 
  L2 cache: 2048 KiB 
  Speed: 1559 MHz min/max: 1200/2200 MHz Core speeds (MHz): 1: 1456 2: 1404 
Graphics:
  Device-1: Intel Mobile 4 Series Integrated Graphics driver: i915 v: kernel 
  Display: x11 server: X.Org 1.19.6 driver: modesetting unloaded: fbdev,vesa 
  resolution: 1280x720~60Hz 
  OpenGL: renderer: Mesa DRI Mobile Intel GM45 Express v: 2.1 Mesa 19.0.8 
Audio:
  Device-1: Intel 82801I HD Audio driver: snd_hda_intel 
  Sound Server: ALSA v: k5.3.0-19-generic 
Network:
  Device-1: Broadcom and subsidiaries BCM4312 802.11b/g LP-PHY driver: N/A 
  Device-2: Broadcom and subsidiaries NetLink BCM5906M Fast Ethernet PCI 
  Express 
  driver: tg3 
  IF: enp7s0 state: up speed: 100 Mbps duplex: full mac: 00:26:22:dc:3d:25 
Drives:
  Local Storage: total: 298.09 GiB used: 113.49 GiB (38.1%) 
  ID-1: /dev/sda vendor: Hitachi model: HTS545032B9A300 size: 298.09 GiB 
Partition:
  ID-1: / size: 34.20 GiB used: 9.86 GiB (28.8%) fs: ext4 dev: /dev/sda7 
  ID-2: /home size: 51.14 GiB used: 20.19 GiB (39.5%) fs: ext4 
  dev: /dev/sda8 
  ID-3: swap-1 size: 4.00 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda6 
Sensors:
  System Temperatures: cpu: 48.0 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 179 Uptime: 15m Memory: 2.88 GiB used: 1.37 GiB (47.5%) 
  Shell: bash inxi: 3.0.32 

Code: Select all

auto remove output
user@user:~$     sudo apt-get autoremove
[sudo] password for user:          
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  libtgvoip1.0.3 linux-headers-5.0.0-25 linux-headers-5.0.0-25-generic linux-headers-5.0.0-27 linux-headers-5.0.0-27-generic linux-image-5.0.0-25-generic
  linux-image-5.0.0-27-generic linux-modules-5.0.0-25-generic linux-modules-5.0.0-27-generic linux-modules-extra-5.0.0-25-generic
  linux-modules-extra-5.0.0-27-generic
0 upgraded, 0 newly installed, 11 to remove and 1 not upgraded.
After this operation, 661 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 411345 files and directories currently installed.)
Removing libtgvoip1.0.3:amd64 (1.0.3-3) ...
Removing linux-headers-5.0.0-25-generic (5.0.0-25.26~18.04.1) ...
Removing linux-headers-5.0.0-25 (5.0.0-25.26~18.04.1) ...
Removing linux-headers-5.0.0-27-generic (5.0.0-27.28~18.04.1) ...
Removing linux-headers-5.0.0-27 (5.0.0-27.28~18.04.1) ...
Removing linux-modules-extra-5.0.0-25-generic (5.0.0-25.26~18.04.1) ...
Removing linux-image-5.0.0-25-generic (5.0.0-25.26~18.04.1) ...
/etc/kernel/prerm.d/dkms:
dkms: removing: bcmwl 6.30.223.271+bdcom (5.0.0-25-generic) (x86_64)

-------- Uninstall Beginning --------
Module:  bcmwl
Version: 6.30.223.271+bdcom
Kernel:  5.0.0-25-generic (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

wl.ko:
 - Uninstallation
   - Deleting from: /lib/modules/5.0.0-25-generic/updates/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

depmod...

DKMS: uninstall completed.
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.0.0-25-generic
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.3.0-19-generic
Found initrd image: /boot/initrd.img-5.3.0-19-generic
Found linux image: /boot/vmlinuz-5.0.0-32-generic
Found initrd image: /boot/initrd.img-5.0.0-32-generic
Found linux image: /boot/vmlinuz-5.0.0-27-generic
Found initrd image: /boot/initrd.img-5.0.0-27-generic
Found linux image: /boot/vmlinuz-5.0.0-23-generic
Found initrd image: /boot/initrd.img-5.0.0-23-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 10 on /dev/sda1
Found Windows 10 on /dev/sda2
done
Removing linux-modules-extra-5.0.0-27-generic (5.0.0-27.28~18.04.1) ...
Removing linux-image-5.0.0-27-generic (5.0.0-27.28~18.04.1) ...
/etc/kernel/prerm.d/dkms:
dkms: removing: bcmwl 6.30.223.271+bdcom (5.0.0-27-generic) (x86_64)

-------- Uninstall Beginning --------
Module:  bcmwl
Version: 6.30.223.271+bdcom
Kernel:  5.0.0-27-generic (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

wl.ko:
 - Uninstallation
   - Deleting from: /lib/modules/5.0.0-27-generic/updates/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

depmod...

DKMS: uninstall completed.
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.0.0-27-generic
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.3.0-19-generic
Found initrd image: /boot/initrd.img-5.3.0-19-generic
Found linux image: /boot/vmlinuz-5.0.0-32-generic
Found initrd image: /boot/initrd.img-5.0.0-32-generic
Found linux image: /boot/vmlinuz-5.0.0-23-generic
Found initrd image: /boot/initrd.img-5.0.0-23-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
File descriptor 10 (/var/lib/dpkg/triggers/linux-update-5.0.0-25-generic (deleted)) leaked on lvs invocation. Parent PID 12299: /bin/sh
Found Windows 10 on /dev/sda1
Found Windows 10 on /dev/sda2
done
Removing linux-modules-5.0.0-25-generic (5.0.0-25.26~18.04.1) ...
Removing linux-modules-5.0.0-27-generic (5.0.0-27.28~18.04.1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
user@user:~$     sudo apt-get autoremove
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
user@user:~$ 
Last edited by ninemen on Sun Nov 03, 2019 8:52 am, edited 1 time in total.
User avatar
ernie dingbat
Level 2
Level 2
Posts: 75
Joined: Fri Aug 31, 2012 10:02 am

Re: wifi not working after update

Post by ernie dingbat »

ninemen wrote:
Sun Nov 03, 2019 1:55 am
i updated my system to kernel 5.3 and everything was working fine though i didn't check the wifi
Hi, ninemen

That usually happens when a driver has had to be manually installed and a new kernel is later installed. If you did manually install the wifi driver, follow the same instructions you used to install it the first time.

Ernie.
ninemen
Level 3
Level 3
Posts: 100
Joined: Fri Jun 21, 2019 9:58 am

Re: wifi not working after update

Post by ninemen »

well i don't remember something like that though it followed a guide a long time ago and it fixed that now i don't remember it also maybe it was same as selecting the bcmwl driver in driver manger without using gui.i reinstalled that driver using synaptic manager but nothing happened it would be helpful if you tell me the process.
JeremyB
Level 20
Level 20
Posts: 11688
Joined: Fri Feb 21, 2014 8:17 am

Re: wifi not working after update

Post by JeremyB »

Code: Select all

sudo apt remove bcmwl-kernel-source && sudo apt install firmware-b43-installer
Reboot
ninemen
Level 3
Level 3
Posts: 100
Joined: Fri Jun 21, 2019 9:58 am

Re: wifi not working after update

Post by ninemen »

Thank you it worked. Can you please explain me how it worked thank you
JeremyB
Level 20
Level 20
Posts: 11688
Joined: Fri Feb 21, 2014 8:17 am

Re: [SOLVED]wifi not working after update

Post by JeremyB »

I doubt bcmwl has been updated to work with kernels newer than 5.0, so we removed it and installed the b43 firmware since your wifi will work with the b43 kernel module
ninemen
Level 3
Level 3
Posts: 100
Joined: Fri Jun 21, 2019 9:58 am

Re: [SOLVED]wifi not working after update

Post by ninemen »

and how did you know which firmware will work with my wifi is there some guide i would like for future purpose just in case
HAWR
Level 6
Level 6
Posts: 1299
Joined: Thu Jun 06, 2019 1:15 pm

Re: [SOLVED]wifi not working after update

Post by HAWR »

Hello ninemen,

here you can see this, look for your Chip ID BCM4312:

https://wireless.wiki.kernel.org/en/users/drivers/b43
JeremyB
Level 20
Level 20
Posts: 11688
Joined: Fri Feb 21, 2014 8:17 am

Re: [SOLVED]wifi not working after update

Post by JeremyB »

There is only one firmware package for Broadcom wifi other than what is part of the install. There are a couple guides to what works with broadcom wifi
https://wireless.wiki.kernel.org/en/users/drivers/b43
https://ubuntuforums.org/showthread.php?t=2214110
ninemen
Level 3
Level 3
Posts: 100
Joined: Fri Jun 21, 2019 9:58 am

Re: [SOLVED]wifi not working after update

Post by ninemen »

Thank got it linux always teach something new
Post Reply

Return to “Wireless”