How to add modprobe command to GRUB_CMDLINE_LINUX_DEFAULT

Ask Ubuntu Asked on January 6, 2022

Ubuntu 20.04
To make my WiFi happy I enter the following modprobe via the terminal;
modprobe -r brcmfmac
Then wait 5 seconds and modprobe brcmfmac
Can I add this to a startup process so that I don’t have to manually execute it each time?

I have tried adding it to my GRUB_CMDLINE_LINUX_DEFAULT but after I grub-update and reboot my wireless still hangs untill I manually enter the commands as aboove.
Is my syntax wrong? Can someone advise the proper way to add it?
Or should I not be adding this to the boot image?
I get the same result when I boot to my fallback 5.4.0-40 kernel image.

Add your own answers!

Related Questions

fping with timestamp logging to file named with date

1  Asked on December 30, 2020 by disco_rogge


How to adjust all volume levels

3  Asked on December 30, 2020 by dennis-munk-christensen


Ubuntu 16.04 reboot after shutdown

1  Asked on December 30, 2020 by cuong-t-tran


ubuntu desktop can’t reach most websites

1  Asked on December 29, 2020 by ken-cottrell


Setting up a 3 port router Ubuntu Desktop home LAB

0  Asked on December 29, 2020 by kitkat


Disable shutdown confirmation ubuntu 20.04

2  Asked on December 29, 2020 by user753441


XBMC, libGL error: failed to load driver: i915

1  Asked on December 28, 2020 by k6adams


Docker-compose throwing error on any invocation

1  Asked on December 28, 2020 by arkostin01


Ubuntu 20.4; Samsung Monitor not seen

0  Asked on December 28, 2020 by jwsarge2


Very short high frequency beep that keeps happening

0  Asked on December 28, 2020 by comradejack1917


Installing old Loki games on 12.04 64-bit results in no audio

4  Asked on December 27, 2020 by flabbergastedpickle


wifi issue should i upgrade the kernel?

1  Asked on December 26, 2020 by ashu


Ask a Question

Get help from others!

© 2022 All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP, SolveDir