Linux Lite Forums

Hardware - Support => Network => Topic started by: ohjrson on September 15, 2014, 07:36:38 PM

Title: [SOLVED] Broadcom Wireless issue
Post by: ohjrson on September 15, 2014, 07:36:38 PM
Hey,
    Seems I have an issue with my Broadcom on an Aspire 3000. I know there was one before and I have tried those solutions to no resolve. Two things that are happening.

1. the Wireless quit working on me when I did a reboot after the initial updates. I installed 2.0 and things were just fine. It even remembered the wireless password and auto connected when it rebooted into the fresh install.

I did my updates and all and then rebooted again. This time it did not start the wireless and could no longer see a wireless. I thought oh I must have hit the switch or something. So I hit the switch and nothing happened. So I rebooted again. Same result, no wireless.

So I came on here (which I was already on singing praise and all) and looked for wireless information issues, Found one with another Broadcom Wireless and tried those things. (as noted above) Nothing.
So here I am thinking... Alright it was working before the update. What was it using prior to the update. Would that be on the live CD? hmmm Better ask Valtam. So here I am.

2. I have noticed that when I shut down the system Or try to restart it. It takes the full length of the bar on the splash screen and then just sits there. I have to hold the power button for 5 seconds to shut it off....

Any Ideas?

Stupid Broadcom.....

Oh yeah I had also installed Play on Linux prior to this happening. Will that make a difference? I did not install anything though.

update:
I rebooted into the live usb I used for install and it works great as I suspected. So.... where do I get that driver?
Title: Re: Broadcom Wireless issue
Post by: bitsnpcs on September 15, 2014, 08:25:01 PM
Hello ohjrson,

I looked on Synaptic Package Manager,  - Menu>System>Install/Remove Software
and typed Broadcom into the search, it shows this -

broadcom-sta-source
broadcom-sta-dkms

"Broadcom STA is a binary-only device driver to support the following IEEE
802.11a/b/g/n wireless network cards: BCM4311-, BCM4312-, BCM4313-,
BCM4321-, BCM4322-, BCM43224-, BCM43225-, BCM43227-, and BCM43228-based
hardware".

Is it any of these Broadcom devices ?


Title: Re: Broadcom Wireless issue
Post by: ohjrson on September 15, 2014, 08:46:14 PM
No it is a BCM4318 Why?
Title: Re: Broadcom Wireless issue
Post by: bitsnpcs on September 15, 2014, 08:57:19 PM
I had found info and a guide on Broadcom for those.

Here is a Guide For BCM4318 (https://help.ubuntu.com/community/WifiDocs/Driver/bcm43xx).





Title: Re: Broadcom Wireless issue
Post by: ohjrson on September 15, 2014, 09:35:30 PM
 :o :o ok I am confused. My synaptic says that I have that installed, the b43 opensource driver. or b43-fwcutter in synaptic. Yet it still will not work for me. I can however load up the usb again andi t works. It was also working in v1.08 flawlessly. Why is it not working now.

When I try to do what is suggested all I get is this: E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

What the heck is going on? or what am I doing wrong here?
Title: Re: Broadcom Wireless issue
Post by: bitsnpcs on September 15, 2014, 09:47:08 PM
Hello,
this seems to be the way people install and ensure it loads from boot Source of Code (http://linux-bsd-sharing.blogspot.de/2012/03/howto-enabling-broadcom-bcm4318.html) ?

Code: [Select]
$ sudo apt-get install b43-fwcutter
$ wget http://mirror2.openwrt.org/sources/broadcom-wl-4.150.10.5.tar.bz2
$ tar xf broadcom-wl-4.150.10.5.tar.bz2
$ cd broadcom-wl-4.150.10.5/driver/
$ sudo b43-fwcutter -w /lib/firmware/ wl_apsta_mimo.o
$ sudo modprobe b43
$ sudo echo "b43" >> /etc/modules


Known Issues and solutions for this driver (http://wireless.kernel.org/en/users/Drivers/b43) b43 Developers Site.
Title: Re: Broadcom Wireless issue
Post by: ohjrson on September 15, 2014, 10:02:06 PM
This is what I got when I did all that. :
ohjrson@ohjrson-Aspire-3000:~$ $ sudo apt-get install b43-fwcutter
$: command not found
ohjrson@ohjrson-Aspire-3000:~$ $ wget http://mirror2.openwrt.org/sources/broadcom-wl-4.150.10.5.tar.bz2
$: command not found
ohjrson@ohjrson-Aspire-3000:~$ $ tar xf broadcom-wl-4.150.10.5.tar.bz2
$: command not found
ohjrson@ohjrson-Aspire-3000:~$ $ cd broadcom-wl-4.150.10.5/driver/
$: command not found
ohjrson@ohjrson-Aspire-3000:~$ $ sudo b43-fwcutter -w /lib/firmware/ wl_apsta_mimo.o
$: command not found
ohjrson@ohjrson-Aspire-3000:~$ $ sudo modprobe b43
$: command not found
ohjrson@ohjrson-Aspire-3000:~$ $ sudo echo "b43" >> /etc/modules
bash: /etc/modules: Permission denied
ohjrson@ohjrson-Aspire-3000:~$ sudo apt-get install b43-fwcutter
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
ohjrson@ohjrson-Aspire-3000:~$

I will also let you know that I went into synaptic and removed what was in synaptic. Although I did have it running. Let me close that and try again.

Back, nope that did not make a difference. Re-installed b43 fwcutter and tried again. I got same message: command not found....

I am totally confused right now......
Title: Re: Broadcom Wireless issue
Post by: bitsnpcs on September 15, 2014, 10:07:15 PM
Can you try it with only 1 of these $ at the beginning of each line.
Example, if you have entered sudo, and when asked, your password, then it will already have the $ displayed on each line.
Title: Re: Broadcom Wireless issue
Post by: ohjrson on September 15, 2014, 10:19:50 PM
Yes and I get the same result. command not found. ( i thought of that too) :D

oops wait a minute I see what you mean, did not see that doing that. Anyway this is what I get: ohjrson@ohjrson-Aspire-3000:~$ sudo apt-get install b43-fwcutter[sudo] password for ohjrson:
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
Synaptic is open. should i close it? I think i will try it... Hang on.

OK closed synaptic and did it again this is what I got and I did remove them. :
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
ohjrson@ohjrson-Aspire-3000:~$ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  libcdr-0.0-0 libmspub-0.0-0 liborcus-0.6-0 libvisio-0.0-0 libwpd-0.9-9
  libwpg-0.2-2 libwps-0.2-2 module-assistant
0 upgraded, 0 newly installed, 8 to remove and 0 not upgraded.
After this operation, 5,279 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 142863 files and directories currently installed.)
Removing libcdr-0.0-0 (0.0.15-1ubuntu1) ...
Removing libmspub-0.0-0 (0.0.6-1ubuntu2) ...
Removing liborcus-0.6-0 (0.5.1-7) ...
Removing libvisio-0.0-0 (0.0.31-1ubuntu2) ...
Removing libwps-0.2-2 (0.2.9-2ubuntu1) ...
Removing libwpg-0.2-2 (0.2.2-1ubuntu1) ...
Removing libwpd-0.9-9 (0.9.9-1) ...
Removing module-assistant (0.11.6) ...
Processing triggers for libc-bin (2.19-0ubuntu6.3) ...
Processing triggers for man-db (2.6.7.1-1) ..

Now what?

Title: Re: Broadcom Wireless issue
Post by: bitsnpcs on September 15, 2014, 10:35:53 PM
Yes and I get the same result. command not found. ( i thought of that too) :D

oops wait a minute I see what you mean, did not see that doing that. Anyway this is what I get: ohjrson@ohjrson-Aspire-3000:~$ sudo apt-get install b43-fwcutter[sudo] password for ohjrson:
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
Synaptic is open. should i close it? I think i will try it... Hang on.

Do you only have wifi or do you have hard wired ethernet too ?
Code: [Select]
sudo apt-get install
Will d/l and install , without wifi or ethernet , it will be unable to d/l it and would produce a result something like (unsure of wording) "Resource temporarily unavailable" eg; you cannot d/l without the connection.

Can you do this please  -
Menu>Settings>Install Drivers
and state which drivers have their radio buttons ticked ?

Or post a screenshot of the driver window, forum images need to be hosted somewhere such as TinyPic (http://tinypic.com/), no account or login required, or other sites where this may differ.
You then use the image icon in menu above text editing window and place url between img tags.
Title: Re: Broadcom Wireless issue
Post by: ohjrson on September 15, 2014, 10:42:41 PM
You know what btsnpcs?
I followed what I was supposed to do in the first place without that extra $ and it did everything it was supposed to and it is now connected by wireless. I guess I just neede to slow down and read it all. Plus make sure synaptic was CLOSED!!!
LOL
The only line that did not work was the last one. sudo echo "b43" >> /etc/modules
and it only said permission denied. What does that mean.... not written in the grub or something?

The reference to the Linux/BSD: sharing was what I followed and it worked.

Thanks for the assist.
ohjrson
Title: Re: Broadcom Wireless issue
Post by: bitsnpcs on September 15, 2014, 10:56:32 PM
That is great news. Glad I was able to assist.
It may be worth saving the Linux BSD code as snippet in a text file on a memory stick, as it will come in use for when you do any future installs.

I checked the files that were removed for you -
These are all to do with LibreOffice -
Removing libcdr-0.0-0 (0.0.15-1ubuntu1) ...
Removing libmspub-0.0-0 (0.0.6-1ubuntu2) ...
Removing liborcus-0.6-0 (0.5.1-7) ...
Removing libvisio-0.0-0 (0.0.31-1ubuntu2) ...
Removing libwps-0.2-2 (0.2.9-2ubuntu1) ...
Removing libwpg-0.2-2 (0.2.2-1ubuntu1) ...
Removing libwpd-0.9-9 (0.9.9-1) ...

This is for Kernal Developers -
Removing module-assistant (0.11.6) ...

This is security related and its why it is removed -
Processing triggers for libc-bin (2.19-0ubuntu6.3) ...

Man pages are information/manuals
Processing triggers for man-db (2.6.7.1-1) ..
Title: Re: Broadcom Wireless issue
Post by: ohjrson on September 15, 2014, 11:04:03 PM
Oh yeah... Good Idea. never thought of that. I will save it as a text now.. then move it to a stick or something.

Thanks again for the assist.

Ohjrson

That"s how its done!!!!
Title: Re: Broadcom Wireless issue
Post by: bitsnpcs on September 15, 2014, 11:20:01 PM
On this website (https://openlinuxforums.org/index.php?topic=2989.0) they show 3 ways to do the last command, do either of the other 2 work for you ?

1. execute the command as root:
Code: [Select]
sudo su
echo "b43" >> /etc/modules

2. use the "tee" command:
Code: [Select]
echo "b43" |  sudo tee -a /etc/modules
3. execute the command in a root shell:
Code: [Select]
sudo sh -c "echo 'b43' >> /etc/modules"
Title: Re: Broadcom Wireless issue
Post by: ohjrson on September 15, 2014, 11:29:29 PM
I am trying them now. What exactly am I supposed to see when it works right?

So far the first one has this:
ohjrson@ohjrson-Aspire-3000:~$ sudo su
[sudo] password for ohjrson:
Sorry, try again.
[sudo] password for ohjrson:
root@ohjrson-Aspire-3000:/home/ohjrson# echo "b43" >>/etc/modules
root@ohjrson-Aspire-3000:/home/ohjrson#
 ? now what?
Title: Re: Broadcom Wireless issue
Post by: bitsnpcs on September 15, 2014, 11:50:59 PM
I am unsure what the output will be when it works, I have only recently begun to learn how to use the terminal, I have just completed Chapter 1 so far, but am enjoying it.

As a guess only, which is not very useful :-[, I would think the echo command will listen and give results of the driver/wifi .

This website (http://linuxcommand.org/lc3_lts0080.php) has some info on the echo command you may enjoy, it is the online version of the book, there is also a free pdf of the book, I have just finished Chapter 1 of, Scott(0) made a post about the book and it is how I found to about it. I am going to buy a hard copy of the book now I know I like it and can follow the book style.
Title: Re: Broadcom Wireless issue
Post by: ohjrson on September 15, 2014, 11:57:26 PM
Ok I took a look at the /etc/modules and b43 is written in there, twice now because I did it again. Not sure if that will effect anything but I guess I will find out next boot.

I am assuming that command writes what is in " " to the file specified. in this case the modules file that opens when LL boots. Echo >> would tell LL to place it where the file is /etc and of course the file is /modules....

I am just guessing here...

We will see..
Thanks again for the assist. And happy windows burning....LOL
Title: Re: Broadcom Wireless issue
Post by: bitsnpcs on September 16, 2014, 12:17:00 AM
Thank You for explaining.

You're welcome.  :)
 

Title: Re: Broadcom Wireless issue
Post by: gold_finger on September 16, 2014, 10:14:16 AM
I am assuming that command writes what is in " " to the file specified.
Correct.

">>" appends the "b43" to the end of the file (adds it to what is already there).

">" replaces the contents of the file with whatever is specified by echo command


Ok I took a look at the /etc/modules and b43 is written in there, twice now because I did it again.

You can open the file in leafpad as root and delete that last instance of b43 -- you only need one line for it.
Code: [Select]
gksu leafpad /etc/modules
Then just save the changes and close leafpad when done.
Title: Re: Broadcom Wireless issue
Post by: ohjrson on September 16, 2014, 03:42:01 PM
Ok, hey thats great. Did that and it now shows only one instance of b43 however there is 2 instances of lp in there does that make a difference?

Thanks.
Title: Re: Broadcom Wireless issue
Post by: gold_finger on September 16, 2014, 07:14:47 PM
Ok, hey thats great. Did that and it now shows only one instance of b43 however there is 2 instances of lp in there does that make a difference?

Thanks.

I just took a look at mine and now I'm not sure what to think.  Here's what mine has in it:
Code: [Select]
# /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.
# Parameters can be specified after the module name.

lp
rtc
lp
rtc
# Chip drivers
it87

It has two each of "lp" and "rtc".  So, just leave yours alone if you're not having any problems.  (I think I vaguely remember adding the Chip drivers "it87" manually, but am not sure and I completely forget why I did that, if I did that.  So, don't add those two lines to yours just because you see them in mine.)
Title: Re: Broadcom Wireless issue
Post by: ohjrson on September 17, 2014, 09:22:07 PM
Right, Gotcha, If it ain't broke don't fix it.