3

I am running ubuntu 17.04 on an asus x205ta, and through much struggle and research finally got the wifi working. I was so happy and decided to restart the pc just to make sure and come to my knowledge it does not work, unless I run these commands in the terminal once again:

sudo modprobe brcmfmac

I am using a guide I found on another post here: How to install (L)Ubuntu 16.04 on the ASUS X205TA (F205TA)

I think the problem could be that maybe the /etc/rc.local file that is suppose to be an executable is not becoming one or otherwise I have no clue. I am brand new to linux and this is my first time messing with it.

UPDATE: It is actually only the sudo modprobe brcmfmac command I have to run that I know of now. Im not sure if the others still have to be ran or not. It is also worth mentioning that in the guide the wifi should work before these steps are taken and mine does not until these commands are issued.

UPDATE2: The rc.local file is executable so that is not the problem.

Running command grep brcmfmac /etc/modprobe.d* returns grep: /etc/modprobe.d: Is a directory

Running command cat /etc/modprobe.d/* | grep brcmfmac returns blacklist brcmfmac

Running command sudo grep brcmfmac /etc/modprobe.d/* returns /etc/modprobe.d/blacklist-custom.conf:blacklist brcmfmac

  • From your terminal type: ll /etc/rc.local to display the attributes of the file. It should look something like this: -rwxr-xr-x 1 root root 616 Oct 8 2016 /etc/rc.local* The -rwx means read, write and execute. Therefore when you see the x you know it's an executable files. This is repeated three times, once for the owner, once for the group and once for all users. – WinEunuuchs2Unix Oct 15 '17 at 6:06
  • Edit to include results for grep brcmfmac /etc/modprobe.d* – Jeremy31 Oct 15 '17 at 10:51
  • @WinEunuuchs2Unix It reads -rwxr-xr-x 1 root root... So I guess that is not the problem then. @Jeremy31 added in the edits – Taylor Austin Oct 15 '17 at 11:25
  • @Jeremy31 I think you want to see results of cat /etc/modprobe.d/* | grep brcmfmac, @TaylorAustin try that command instead. – WinEunuuchs2Unix Oct 15 '17 at 14:55
  • 1
    Possible duplicate of Installing Broadcom Wireless Drivers sudo apt-get remove bcmwl-kernel-source reboot – Jeremy31 Oct 15 '17 at 15:35
4

Your card is blacklisted

You have to run sudo modprobe brcmfmac because it is blacklisted. You can tell this when you ran the command:

$ sudo grep brcmfmac /etc/modprobe.d/*
etc/modprobe.d/blacklist-custom.conf:blacklist brcmfmac

In order to "whitelist" your card you need to use sudo powers to edit etc/modprobe.d/blacklist-custom.conf. Then:

  • Find the containing blacklist brcmfmac
  • Insert a # in front of it.
  • Save the file

Now when you reboot you shouldn't have to type sudo modprobe brcmfmac anymore.

Thanks to Jeremy31 for recommending shorter version of my original answer. If yuou like this shorter answer please click on his name link find another answer of his you find helpful and upvote it.

Please note there is a reason your card was blacklisted in the first place and if you have additional problems you might have to download source for a different driver and compile it using DKMS.

  • In fact I found out that I don't even need that file so I deleted it all together which also would have fixed the problem, thanks so much for helping me figure this out guys! WinEunuuchs2Unix and Jeremy31 – Taylor Austin Oct 15 '17 at 16:10
  • 1
    @TaylorAustin You're most welcome. That's what this community is all about; first learning from others and then later on helping others :) Keep in mind sometimes deleting a file isn't enough if a future update reinstalls it. – WinEunuuchs2Unix Oct 15 '17 at 16:13
0

You need to do the following fixes:

Wifi driver install.

Open up the terminal and type in the following commands (or you could copy and paste them)

cd /tmp
wget https://android.googlesource.com/platform/hardware/broadcom/wlan/+archive/master/bcmdhd/firmware/bcm43341.tar.gz
tar xf bcm43341.tar.gz
sudo mkdir -p /lib/firmware/brcm/
sudo cp fw_bcm43341.bin /lib/firmware/brcm/brcmfmac43340-sdio.bin
sudo mount -t efivarfs efivarfs /sys/firmware/efi/efivars
sudo cp /sys/firmware/efi/efivars/nvram-74b00bd9-805a-4d61-b51f-43268123d113 /lib/firmware/brcm/brcmfmac43340-sdio.txt
reboot

Wifi stability fix.

Open the text editor and type the following text into it

blacklist btsdio

Save the file as "fix-wifi.conf" on the desktop

Open up the terminal and type in the following command

  • sudo thunar
  • Move the "fix-wifi.conf" file from the desktop to the directory "/etc/modprobe.d"
  • Close the file manager window

Type into the terminal

sudo update-initramfs -u -k all
sudo reboot

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.