So after searching through the web and reading a lot, I found out that my laptop have a BCM4313 wireless card. This helped me be more focused on my search.
There were bunch of solutions, each was working on a different computer with different spec, and it took me a while to which is good to my issue. The solution was based mostly on the answer in here. This is what I did:
I went to a different computer with internet connection (actually, I was booting into Win7 since I'm dual booting, and this is why it took me more time, since I had to switch my OS all the time, just to find out that I didn't saved every link and file needed for each solution when booted to Ubuntu without the network connection :S ). I then opened a VM in there while installing Ubuntu 12.04.1 and disabling the network connection on the guest machine (this way I gained a machine with a similar state to my laptop, but with the ability to enable the network and download whatever I need to fix my issue).
After installing the guest machine, I enabled the network and did the following:
$ mkdir tmp_debs
$ cd tmp_debs
$ sudo wget `apt-get --ptint-uris --yes install bcmwl-kernel-source broadcom-sta-common broadcom-sta-source`
I then copied the *.deb files to a flash-drive, booted into my Ubuntu, connected the falsh-drive and copied all *.deb files localy to a tmporary directory. Then I executed the following command:
$ sudo dpkg -i *.deb
After that I removed a module:
$ lsmod | grep "b43\|ssb\|bcma\|wl"
Since the output of this command indicated that I have only the
bcma, I did the following:
$ rmmod bcma
Thant's it. I know that the link provided above showed that I had to reverse the order of things I actually did and that there are more stuff needed to be done, but I forgot to do the rest and after rebooting, my network card worked perfectly fine.
Plus, I'm not sure that the
rmmod bcma is really necessary, but this is what worked for me. You can try doing it without it if you want.
- Comment: For some reason, I didn't managed getting the list of debs from all VMs. There were computers that managed to find that list and others that gave me an error as an output. For those who can't get the list (or want to make life more easy), I'm providing here the list of debs needed to be download from (any) computer with internet connection (using the wget tool). Copy the following list into a file and do
wget --input-file <file_name> instead of the
wget command above.
Hope this can help someone :)