Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: Wireless networks not showing up / Lenovo Thinkpad with Ubuntu

  1. #11
    Join Date
    Feb 2014
    Beans
    9

    Re: Wireless networks not showing up / Lenovo Thinkpad with Ubuntu

    We're making some progress. After downloading and installing the new driver, it's kind of working. It's able to make a complete connection (I'm connected to the GTwifi right now). The only problem is that when I reboot, I have to reinstall the new driver (before I reinstall it, the wireless networks aren't listed). Once it's reinstalled though, wireless works perfectly fine.

  2. #12
    Join Date
    Mar 2010
    Location
    India
    Beans
    7,725
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Wireless networks not showing up / Lenovo Thinkpad with Ubuntu

    Quote Originally Posted by nicole5 View Post
    The only problem is that when I reboot, I have to reinstall the new driver
    The 6.30 version that you manually downloaded I guess? Please confirm, although the version doesn't matter, you shouldn't need to reinstall it everytime if it installed properly. While installing, make sure it doesn't return any errors.

    On next attempt, when you reboot, please run these commands without installing the driver again, and post back their outputs -
    Code:
    lsmod | egrep 'b43|brcm|ssb|wl'
    dmesg | egrep 'b43|brcm|ssb|wl'
    rfkill list
    sudo iwlist scan
    dpkg -l | grep bcmwl
    And do you remember having created or edited any configuration files to make the wifi work earlier? If yes, we may need to revert the changes.

    There are certain ways to 'Force' the driver automatically on reboot if required, but I want it to happen naturally, decently like it should.
    Varun
    Help others by marking threads as [SOLVED], if they are. (See how)
    Wireless Script | Use Code Tags

  3. #13
    Join Date
    Feb 2014
    Beans
    9

    Re: Wireless networks not showing up / Lenovo Thinkpad with Ubuntu

    Yes, the 6.30 version. And there were never any errors when installing it.

    Here's the output to those codes (before installing the driver again):

    Code:
    $ lsmod | egrep 'b43|brcm|ssb|wl'b43                   392246  0 
    mac80211              631450  1 b43
    cfg80211              526422  2 b43,mac80211
    ssb                    57871  1 b43
    bcma                   41273  1 b43
    This one had no output:
    Code:
    $ dmesg | egrep 'b43|brcm|ssb|wl'
    Code:
    $ rfkill list
    0: tpacpi_bluetooth_sw: Bluetooth
        Soft blocked: no
        Hard blocked: no
    1: hci0: Bluetooth
        Soft blocked: yes
        Hard blocked: no
    Code:
    $ sudo iwlist scan
    eth0      Interface doesn't support scanning.
    
    
    lo        Interface doesn't support scanning.
    Code:
    $ dpkg -l | grep bcmwl
    ii  bcmwl-kernel-source                         6.30.223.141+bdcom-0ubuntu2                         Broadcom 802.11 Linux STA wireless driver source
    And I specifically remember altering one file when I was trying to fix this before. That's when everything crashed (I couldn't connect to wired either). I had to change it back to exactly how it was before so that I'd at least have wired internet. That's the only file I remember changing.

    EDIT: I'm pretty sure the file I changed was /etc/network/interfaces
    Then I had to change it back so it only contains these two lines:
    Code:
    auto lo
    iface lo inet loopback
    Last edited by nicole5; February 28th, 2014 at 04:23 PM.

  4. #14
    Join Date
    Mar 2010
    Location
    India
    Beans
    7,725
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Wireless networks not showing up / Lenovo Thinkpad with Ubuntu

    Quote Originally Posted by nicole5 View Post
    Code:
    $ lsmod | egrep 'b43|brcm|ssb|wl'b43                   392246  0 
    mac80211              631450  1 b43
    cfg80211              526422  2 b43,mac80211
    ssb                    57871  1 b43
    bcma                   41273  1 b43
    Hmm.. so there must be something that keeps loading the b43 driver and block the "wl" driver. This should never happen with default setup with the "wl" driver installed/removed/reinstalled properly. So I suspect there must be some other custom entry somewhere causing this, or something that I haven't seen yet.

    Let's take a look at some other files/entries that should/shouldn't be there. On next boot, again before/without reinstalling the "wl" driver, please run the following commands and post back their outputs -
    Code:
    cat /etc/rc.local
    cat /etc/modules
    egrep -nHR 'wl|b43' /etc/modprobe.d
    modinfo wl | grep filename
    With any and all customizations removed, and letting the "wl" driver do what it wants while installing, should make its loading automatic. I hope to find the culprit in the above outputs.
    Varun
    Help others by marking threads as [SOLVED], if they are. (See how)
    Wireless Script | Use Code Tags

  5. #15
    Join Date
    Feb 2014
    Beans
    9

    Re: Wireless networks not showing up / Lenovo Thinkpad with Ubuntu

    Here's the outputs:

    Code:
    $ cat /etc/rc.local
    #!/bin/sh -e
    #
    # rc.local
    #
    # This script is executed at the end of each multiuser runlevel.
    # Make sure that the script will "exit 0" on success or any other
    # value on error.
    #
    # In order to enable or disable this script just change the execution
    # bits.
    #
    # By default this script does nothing.
    
    
    exit 0
    Code:
    $ cat /etc/modules
    # /etc/modules: kernel modules to load at boot time.
    #
    # This file contains the names of kernel modules that should be loaded
    # at boot time, one per line. Lines beginning with "#" are ignored.
    
    
    lp
    rtc
    b43
    Code:
    $ egrep -nHR 'wl|b43' /etc/modprobe.d
    /etc/modprobe.d/blacklist-bcm43.conf:1:# Warning: This file is autogenerated by bcmwl. All changes to this file will be lost.
    /etc/modprobe.d/blacklist-bcm43.conf:2:blacklist b43
    /etc/modprobe.d/blacklist-bcm43.conf:3:blacklist b43legacy
    /etc/modprobe.d/blacklist.conf~:34:# replaced by b43 and ssb.
    /etc/modprobe.d/blacklist.conf~:57:blacklist b43
    /etc/modprobe.d/blacklist.conf:34:# replaced by b43 and ssb.
    /etc/modprobe.d/blacklist-watchdog.conf:41:blacklist twl4030_wdt
    Code:
    $ modinfo wl | grep filename
    filename:       /lib/modules/3.8.0-36-generic/updates/dkms/wl.ko

  6. #16
    Join Date
    Mar 2010
    Location
    India
    Beans
    7,725
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Wireless networks not showing up / Lenovo Thinkpad with Ubuntu

    Okay, half the mystery is solved. This is how b43 is loading despite being blacklisted -
    Quote Originally Posted by nicole5 View Post
    [CODE]$ cat /etc/modules
    ....
    lp
    rtc
    b43
    But it is still not clear why the "wl" is not loading automatically despite being installed and recognized by the system -
    Code:
    $ modinfo wl | grep filename
    filename:       /lib/modules/3.8.0-36-generic/updates/dkms/wl.ko
    The above means you don't need to install it everytime. So what I can promise with this is that we can make it automatic by other ways, if required.

    However, let us first give it a chance to happen normally as it should. Please run this command -
    Code:
    sudo sed -i '/^b43/ d' /etc/modules
    This will delete the entry "b43" from the /etc/modules file. After this, the b43 module should not load since next boot. Assuming that it was the conflict with b43 that might be preventing the "wl" driver from loading, that problem may get solved too.

    So after running the above command, reboot and check -
    Code:
    lsmod | egrep 'b43|wl'
    I hope you should see "wl" this time, and am more hopeful that at least you won't see the "b43" in it this time.

    If the "wl" shows up and "b43" doesn't your wireless should be working this time without doing anything.

    If the "b43" doesn't show up, but neither does "wl" please run -
    Code:
    sudo modprobe -v wl
    Is wireless active now?

    If nothing changes, that is, b43 is still present, and "wl" is not in the lsmod output, please do this -
    Code:
    sudo modprobe -rv b43 ssb bcma
    sudo modprobe -v wl
    Wifi should be active now.

    Please confirm which of the three cases is applicable and we shall take action accordingly, if needed.
    Varun
    Help others by marking threads as [SOLVED], if they are. (See how)
    Wireless Script | Use Code Tags

  7. #17
    Join Date
    Feb 2014
    Beans
    9

    Re: Wireless networks not showing up / Lenovo Thinkpad with Ubuntu

    It works! Thank you so much!


    After taking the b43 off the list and rebooting, this is what I get:
    Code:
    $ lsmod | egrep 'b43|wl'
    wl                   4207854  0 
    cfg80211              526422  1 wl
    lib80211               14381  2 lib80211_crypt_tkip,wl

    I had to disable/enable wireless a couple times for it to connect but I think that's just because the wifi itself is finicky. I sometimes have to do that when I'm on windows too. I rebooted a second time to make sure it was still working and that time it connected to wifi immediately. Again, thank you for helping me and being so patient.

  8. #18
    Join Date
    Mar 2010
    Location
    India
    Beans
    7,725
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Wireless networks not showing up / Lenovo Thinkpad with Ubuntu

    No problem at all! It's a pleasure to make things work.
    Varun
    Help others by marking threads as [SOLVED], if they are. (See how)
    Wireless Script | Use Code Tags

Page 2 of 2 FirstFirst 12

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
  •