Results 1 to 10 of 107

Thread: Broadcom Wireless STA driver (wl) Ubuntu 9.10/10.04

Threaded View

  1. #1
    Join Date
    Mar 2007
    Location
    Netherlands
    Beans
    12
    Distro
    Ubuntu Development Release

    Post Broadcom Wireless STA driver (wl) Ubuntu 9.10/10.04

    Problem using Broadcom Wireless in Ubuntu 9.10/10.04 because it is not supported by b43 driver ?

    Assuming you have tried all normal installation procedures like using the Hardware Drivers tool and you still do not have a working WiFi setup this is what you must do:

    1. Download the Broadcom drivers: http://www.broadcom.com/support/802.11/linux_sta.php
    2. Unpack and modify the ‘src/wl/sys/wl_linux.c‘:
    Line 35 (after #include <linux/etherdevice.h>) add:
    #include < linux/sched.h >
    3. Compile the code with: make
    4. Copy the new driver: sudo mv wl.ko /lib/modules/$(uname -r)/kernel/drivers/net/wireless
    5. Update dependencies: sudo depmod -a
    6. Modify the blacklist to include the ‘b43′ and ’ssb’ drivers /etc/modprobe.d/blacklist.conf (Add below the bcm43xx blacklist)

    The part above you probably have seen a few times while googling for the answer. But there is a small problem, as you would have noticed, the ‘ssb‘ driver cannot be blacklisted. It is included in the initrd as I remember from the ubuntuforums. To solve this issue modify the /etc/rc.local to include before the exit(0):

    Code:
    rmmod ssb
    modprobe wl
    Now on startup the ssb gets removed and after that the new wl gets inserted. Adding wl to the /etc/modules will not help because the removing needs to be done first.
    So with the /etc/rc.local modification everything happens in the correct order for perfect WiFi.

    This was tested multiple times on a MacBook Pro with the Broadcom 4328 chipset and should work for all chipsets not supported by the b43 drivers.

    Update:
    Not all systems include the 'linux/sched.h' file. Install the 'linux-headers-generic' package if you get errors. The generic package is a meta package that should install the propper package for your kernel. If it isn't working install with
    Code:
    sudo apt-get install linux-headers-$(uname -r)
    Last edited by owhno; February 16th, 2010 at 05:25 PM.

Tags for this Thread

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
  •