Results 1 to 9 of 9

Thread: Broadcom PCI Wireless on Lubuntu 18.04 / Blacklisting

  1. #1
    Join Date
    Jun 2018
    Beans
    4

    Broadcom PCI Wireless on Lubuntu 18.04 / Blacklisting

    Hi, this post https://ubuntuforums.org/showthread.php?t=2214110 details steps to troubleshoot driver issues.

    By device (14e4:4727) falls under Special case #1 however.

    This is my first time using Linux so I'm wondering how to reverse the steps suggested here:

    Code:
    sudo -i
    echo "blacklist b43" >>  /etc/modprobe.d/blacklist.conf
    echo "blacklist ssb" >>  /etc/modprobe.d/blacklist.conf
    exit
    Any info appreciated, if you know how to get my device working that'd be amazing but I'm just looking to undo what I've done so I can try other things suggested elsewhere.
    Like here https://ubuntuforums.org/showthread.php?t=2226102

  2. #2
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    26,047
    Distro
    Ubuntu Development Release

    Re: Broadcom PCI Wireless on Lubuntu 18.04 / Blacklisting

    Unless I have mis-read the thread you linked, it suggests that you blacklist b43 and ssb so that the correct driver, brcmsmac loads and drives your device.

    Unless I mis-read your post above, you are asking how to UN-blacklist these drivers so that you can follow the linked thread that suggests that you blacklist them.

    I'm confused.

    What am I missing here?

    As your system sits now, does the correct driver load?
    Code:
    lsmod | grep brcm
    Are there any clues in the log?
    Code:
    dmesg | grep brcm
    Is the wireless switch set to enable the wireless radio?
    Code:
    rfkill list all
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.

  3. #3
    Join Date
    Jun 2018
    Beans
    4

    Re: Broadcom PCI Wireless on Lubuntu 18.04 / Blacklisting

    Hi chili, sorry for the confusion I'm just starting to wrap my head around things.

    Just as an aside I used this to remove the blacklisting lines mentioned in your original post.
    Code:
    sudo sed -i '/^blacklist b43$/d' /etc/modprobe.d/blacklist.conf
    sudo sed -i '/^blacklist ssd$/d' /etc/modprobe.d/blacklist.conf
    I've since blacklisted b43, ssb, wl, bcma and brcmfmac leaving brcmsmac up.

    Code:
    sudo modprobe -r b43 ssb wl brcmfmac brcmsmac bcma
    sudo modprobe brcmsmac
    The actual problem I have is that most wifi is working, but the wifi network I used during install hasn't connected since and doesn't show in the list of available networks but other networks do and they work, i.e. my mobile hotspot works, other router show up, but my router doesn't.

    Code:
    nmcli dev wifi

    Anyway, to answer your questions:

    Code:
    lsmod | grep 
    brcmbrcmsmac              565248  0
    cordic                 16384  1 brcmsmac
    brcmutil               16384  1 brcmsmac
    bcma                   57344  2 brcmsmac
    mac80211              778240  1 brcmsmac
    cfg80211              622592  2 brcmsmac,mac80211
    Code:
    dmesg | grep brcm
    [ 3097.792055] brcmsmac bcma0:1: mfg 4bf core 812 rev 24 class 0 irq 16
    [ 3097.798497] ieee80211 phy0: registered radio enabled led device: brcmsmac-phy0:radio gpio: 499
    [ 3097.801182] brcmsmac bcma0:1 wlp2s0b1: renamed from wlan0
    [ 3098.086782] brcmsmac bcma0:1: brcms_ops_bss_info_changed: qos enabled: false (implement)
    [ 3098.086793] brcmsmac bcma0:1: brcms_ops_config: change power-save mode: false (implement)
    [ 3482.005077] brcmsmac bcma0:1: brcmsmac: brcms_ops_bss_info_changed: associated
    [ 3482.005083] brcmsmac bcma0:1: brcms_ops_bss_info_changed: qos enabled: true (implement)
    [ 3482.057599] brcmsmac bcma0:1: wl0: brcms_c_d11hdrs_mac80211:  txop exceeded phylen 159/256 dur 1778/1504
    [ 3482.067088] brcmsmac bcma0:1: wl0: brcms_c_d11hdrs_mac80211:  txop exceeded phylen 137/256 dur 1602/1504
    [ 3484.914727] brcmsmac bcma0:1: brcms_ops_bss_info_changed: arp filtering: 1 addresses (implement)
    [ 3502.582825] brcmsmac bcma0:1: brcmsmac: brcms_ops_bss_info_changed: disassociated
    [ 3502.582832] brcmsmac bcma0:1: brcms_ops_bss_info_changed: arp filtering: 1 addresses (implement)
    [ 3502.582834] brcmsmac bcma0:1: brcms_ops_bss_info_changed: qos enabled: false (implement)
    Code:
    rfkill list all
    0: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no
    9: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
    Last edited by gbe++; June 22nd, 2018 at 11:51 PM.

  4. #4
    Join Date
    May 2014
    Location
    /home
    Beans
    10,939
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Broadcom PCI Wireless on Lubuntu 18.04 / Blacklisting

    Please visit the wireless script link in my signature and post your results. I have a wifi device with the same ID on my Linux Mint laptop and have not had to blacklist anything, it also happens to work fine with bcmwl-kernel-source installed but you might have a version of this card that isn't fully supported according to https://wireless.wiki.kernel.org/en/...vers/brcm80211
    Please note: at least BCM4313 is not fully supported. Some models appears to work (users reported success), but some don't, and there's no indication that this is going to change. For example: http://marc.info/?t=138817851800006&r=1&w=2

  5. #5
    Join Date
    Jun 2018
    Beans
    4

    Re: Broadcom PCI Wireless on Lubuntu 18.04 / Blacklisting


  6. #6
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    26,047
    Distro
    Ubuntu Development Release

    Re: Broadcom PCI Wireless on Lubuntu 18.04 / Blacklisting

    I see. You un-blacklisted the drivers and then re-blacklisted them. Correct?

    We see this:
    Code:
    [/etc/netplan/01-netcfg.yaml]
    network:
      version: 2
      renderer: networkd
      wifis:
        wlp2s0b1:
          dhcp4: yes
          access-points:
            NETGEAR83:
              password: littlecurtain347
    
    [/etc/netplan/01-network-manager-all.yaml]
    network:
      version: 2
      renderer: NetworkManager
    You have conflicting directives here. If you want Network Manager to handle networking, and in a desktop machine, that's what I recommend, then delete the first file. Let's back it up first:
    Code:
    sudo cp /etc/netplan/01-netcfg.yaml  ~/01-netcfg.yaml 
    sudo rm /etc/netplan/01-netcfg.yaml
    Reboot.

    Next, we see this:
    Code:
    wlp2s0b1  11 channels in total; available frequencies :
              Channel 01 : 2.412 GHz
              Channel 02 : 2.417 GHz
              Channel 03 : 2.422 GHz
              Channel 04 : 2.427 GHz
              Channel 05 : 2.432 GHz
              Channel 06 : 2.437 GHz
              Channel 07 : 2.442 GHz
              Channel 08 : 2.447 GHz
              Channel 09 : 2.452 GHz
              Channel 10 : 2.457 GHz
              Channel 11 : 2.462 GHz
    By any chance, is the missing SSID on a channel not listed here? 13? 49? 153? 21,493???
    Last edited by chili555; June 23rd, 2018 at 02:55 AM.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.

  7. #7
    Join Date
    Jun 2018
    Beans
    4

    Re: Broadcom PCI Wireless on Lubuntu 18.04 / Blacklisting

    Oh, yes my router is on channel 13 I changed it to 11 and the ssid shows now! Thanks for pointing that out. It makes no sense to me that I could receive channel 13 on my previous install and also during lubuntu install but not after completing it but I won't worry about it.

    I removed 01-netcfg.yaml and rebooted. It's added a "System Tray" applet to my panel weirdly? Its a nearly identical clone of the network tray menu next to it? Not a big deal, I can remove it.

    Wifi is working now! Thanks a bunch chili, might have been simple but the community was right, you really know your stuff

  8. #8
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    26,047
    Distro
    Ubuntu Development Release

    Re: Broadcom PCI Wireless on Lubuntu 18.04 / Blacklisting

    Oh, yes my router is on channel 13 I changed it to 11 and the ssid shows now!
    Let's, just for the learning experience, see if we can automagically resurrect channels 12 and 13.

    Please set your regulatory domain explicitly. Check yours:
    Code:
    sudo iw reg get
    If you get 00, that is a one-size-maybe-fits-all setting. Find yours here: http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 Then set it temporarily:
    Code:
    sudo iw reg set IS
    Of course, substitute your country code if not Iceland. Set it permanently:
    Code:
    sudo nano /etc/default/crda
    Change the last line to read:
    Code:
    REGDOMAIN=IS
    Proofread carefully, save and close the text editor.

    Now what are the available channels?
    Code:
    sudo iwlist freq
    In a very few cases, the regulatory domain is somehow hard-coded into the wireless chip. I have a little USB wireless that steadfastly refuses any domain except CN. You will probably have better luck.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.

  9. #9
    Join Date
    May 2014
    Location
    /home
    Beans
    10,939
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Broadcom PCI Wireless on Lubuntu 18.04 / Blacklisting

    There is a patch that should allow brcmsmac to use channels over 11- https://github.com/hak5/wifipineappl...triction.patch

    I don't ever remember seeing a Broadcom wifi device in Linux being able to use a channel in 2.4Ghz over 11

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •