Tag Archives: wireless

Unblock disabled wireless card in Ubuntu

I have got broadcom wireless card installed in my Ubuntu Box and it works fine. But lately I found a very strange problem. All of a sudden, It stopped working. I mean I couldn’t turn it on anyway, It always appeared as disabled. I tried uninstalling the driver and re-install of the driver, it seemed to work fine as long as I re-installed the driver but after I restart the Laptop. The problem re-appear. Then After few hours of google and digging through forums I found a solution. The simplest solution I have found is to use “rfkill” program and unblock the wifi card.

If you want to have quick look on the commands used, they are here in the screenshot.
Unblock disabled wireless card in Ubuntu

At first install the rfkill program

$ sudo apt-get install rfkill

Then at first list your wifi driver, with the command

$ sudo rfkill list

The above command will list your available wifi cards with their status
0: brcmwl-0: Wireless LAN
Soft blocked: no
Hard blocked: yes
1: hp-wifi: Wireless LAN
Soft blocked: no
Hard blocked: no

Look for line Hard blocked: yes, in above case its “0: brcmwl-0: Wireless LAN”, brcmwl is the broadcom wireless driver. We are interested in the Index that is 0 (zero).

Now, use the below command to unblock the wifi, we use 0 (zero) index and supply as parameter to unblock.

$ sudo rfkill unblock 0

Now, to confirm that our wifi actually has been unblocked, we can again use the previous “sudo rfkill list” command.

$ sudo rfkill list

This time output should be something like
0: brcmwl-0: Wireless LAN
Soft blocked: no
Hard blocked: no
1: hp-wifi: Wireless LAN
Soft blocked: no
Hard blocked: no

See, there is no “Hard blocked: yes” line. This means the wifi has been unblocked and can be used as regular.

I have found that the index keeps changing and doesn’t remain the same, so next time you get the problem, you will need to repeat the steps from the “$ sudo rfkill list”.

If this doesn’t solve your problem, then you might want to follow other solutions given in the link below.
1. http://askubuntu.com/questions/9816/wireless-shows-up-as-disabled-how-can-i-get-it-working
2. http://pkadetiloye.blogspot.com/2010/11/ubuntu-wireless-disabled-siocsifflags.html

[Solved] Wireless driver stopped working after upgrade – Ubuntu

I upgraded my Ubuntu box and after success restart I found that WIFI was not working anymore. I knew that my wireless driver was broadcom. Verify with command

$ lspci -vnn | grep Broadcom

output:

03:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g LP-PHY [14e4:4315] (rev 01)

1. To make it work, I first uninstalled the b43-fwcutter

sudo apt-get purge b43-fwcutter

2. Added the source

deb http://ftp.de.debian.org/debian sid main contrib

to /etc/apt/sources.list

3. updated the package list by

sudo apt-get update

4. Then installed

sudo apt-get install firmware-b43-lpphy-installer

See clearly I have used the firmware-b43-lpphy-installer which is firmware for Broadcom low power physical devices

In your case, if this doesn’t work for you then you might try to install this driver

sudo apt-get install firmware-b43-installer

5. After successfull installation, I restarted my laptop and the wifi was functional again.

Note: Also, verify that your device is not blacklisted by viewing the content of /etc/modprobe.d/blacklist.conf

if you see the line blacklist bcm43xx in the file, then just uncomment this line and save the file.

This worked for me and expect it to work for you as well. If you find any problem, please mention it in the comment and I will try to become as much helpful as possible.

[Solved] Enable Wireless from Broadcom Corporation BCM4312 802.11b/g (rev 01)

Here are the steps by which I enabled the wireless connection in my friend’s laptop.

Her laptop was “HP DV4 – Entertainment PC-12 cell batteries.”

Q. How to confirm that you have Broadcom Wireless Network Controller.

A. Enter the command as shown below.

asee@asee-hp:~$ lspci -v | grep Broadcom

Output

If you see the Broadcom highlighted in red. Then it confirms that you have Broadcom Wireless.

Then enter the following commands. First off you need to ensure that you have the build essentials package installed so that you can build the b43-fwcutter. Use the following Command to install build-essential.

asee@asee-hp:~$ sudo apt-get install build-essential

When asked enter the password of your computer.

Then we need to install the fwcutter. Once that is installed you can download and build b43-fwcutter. Use the following command shown below :

asee@asee-hp:~$ wget http://bu3sch.de/b43/fwcutter/b43-fwcutter-011.tar.bz2

asee@asee-hp:~$ tar xjf b43-fwcutter-011.tar.bz2

asee@asee-hp:~$ cd b43-fwcutter-011

asee@asee-hp:~$ make

asee@asee-hp:~$ cd ..

Now we need to download the Broadcom firmware and install it.

asee@asee-hp:~$ wget http://downloads.openwrt.org/sources/broadcom-wl-4.80.53.0.tar.bz2
asee@asee-hp:~$ tar xjf broadcom-wl-4.80.53.0.tar.bz2
asee@asee-hp:~$ cd broadcom-wl-4.80.53.0/kmod

Then use the following command.

asee@asee-hp:~$ ../../b43-fwcutter-011/b43-fwcutter -w /lib/firmware wl_apsta.o

Then we have to activate the wireless device, which is by default deactivated for broadcom drivers.

To activate the device Goto Main Menu (Panel in Ubuntu) >> System >> Administration >> Hardware Drivers.

It will search for Hardware drivers for some moments. Then it will display you with two list of Wireless Card.

Select the Below one with Broadcom STA Drivers

Click Activate.

Once it is installed. You can restart your laptop and confirm that wireless is working fine with your card.

Have a nice day.

with best regards,

Asee

Wireless Internet Connection in Backtrack

As I am an engineering student, we have computer network lab. In this lab we are taught differnet aspects of computer networking. I had been using Backtrack I was trying very hard to get myself connected to internet.

Then I found the following solution.

At first Open up Terminal and type the following two codes code in separate consoles.

$ /etc/init.d/networking start

$ /etc/init.d/wicd start

Then Click in KMenu > Internet > Wicd Manager

There you’ll see the available networks. Select the network you want to make connection to, If you’ve to use key for authentication then you’ll have to expand the Network name, followed with arrow [bulleted arrow]. Then put your settings and hit ok.

then try to connect. Once you’ve successfully connected. You can surf the internet.

That’s how I connected to internet in backtrack.

Note: Backtrack doesn’t start networking automatically, you’ve to manually start it and when finished you can stop it through command.

$: /etc/init.d/networking stop

Similarly you can stop wicd with command

$:/etc/init.d/wicd stop

Have a wonderful day.