[Solved] Wireless Driver for Compaq CQ40 (bcm4312)


Trying out ubuntu in our new office laptops the Compaq CQ40, I found out that the wireless driver was not working. To find out the actual wirelss device installed in the system I tried the following commands:

1. lshw -C network

This gave me the product result as BCM4312 802.11b/g from Broadcom Corporation. Tried a lot of googling and found that you could download a file from broadcom here. And do the following! While this works for me.

# Removing previous instances of wireless drivers if any
1. lsmod | grep “b43\|ssb\|wl”
2. rmmod b43
3. rmmod ssb
4. rmmod wl

# Prepare the device driver from the file that you’ve downloaded
5. cd to the downloaded file
6. make clean
7. make

# Blacklist previous drivers
8. echo “blacklist ssb” >> /etc/modprobe.d/blacklist.conf
9. echo “blacklist b43” >> /etc/modprobe.d/blacklist.conf
10. echo “blacklist wl” >> /etc/modprobe.d/blacklist.conf

# Install the driver
11. insmod wl.ko

🙂

 

Posted via web from Linux fanatic


Posted

in

by

Tags:

Comments

One response to “[Solved] Wireless Driver for Compaq CQ40 (bcm4312)”

  1. Abhrodeep Saha Avatar
    Abhrodeep Saha

    HI Your resolution helped. I am using rhel 8.5 and have tried this solution. I could get partly however could not finish the complete set.

    System: Compaq presario CQ40
    Wireless driver issue.
    Error : No wifi adaptor found – make sure you have a wifi adapter plugged and turned on.

    I tried to start with your solution and tried to run the first four commands

    Removing previous instances of wireless drivers if any

    1. lsmod | grep “b43\|ssb\|wl”
    2. rmmod b43
    3. rmmod ssb
    4. rmmod wl

    which provided the following details

    [root@linux-laptop-abhro ~]# lsmod | grep “b43\|ssb\|wl”
    [root@linux-laptop-abhro ~]# rmmod b43
    rmmod: ERROR: Module b43 is not currently loaded
    [root@linux-laptop-abhro ~]# rmmod ssb
    rmmod: ERROR: Module ssb is not currently loaded
    [root@linux-laptop-abhro ~]# rmmod wl
    rmmod: ERROR: Module wl is not currently loaded

    On the second part on downloading the driver from the link you mentioned

    Driver downloaded for 64 bit

    Prepare the device driver from the file that you’ve downloaded

    5. cd to the downloaded file
    6. make clean
    7. make

    was able to change the directory however the 6th and 7th command did not work

    Details are:

    [root@linux-laptop-abhro ~]# cd /root/Downloads
    [root@linux-laptop-abhro Downloads]# make clean
    make: *** No rule to make target ‘clean’. Stop.
    [root@linux-laptop-abhro Downloads]# make
    make: *** No targets specified and no makefile found. Stop.
    [root@linux-laptop-abhro Downloads]#

    Can you help please, very new to linux

Leave a comment