Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] BCM4313 - No wireless
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
JuszR
Tux's lil' helper
Tux's lil' helper


Joined: 03 Nov 2010
Posts: 134
Location: Tlv

PostPosted: Sun Feb 24, 2013 8:57 pm    Post subject: [SOLVED] BCM4313 - No wireless Reply with quote

I'm using wicd and i don't see any wireless networks. I have already compiled the appropiate driver for it:

Code:
 lspci -k
07:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller (rev 01)
   Subsystem: Broadcom Corporation Device 0587
   Kernel driver in use: bcma-pci-bridge


Last edited by JuszR on Tue Mar 19, 2013 7:42 pm; edited 1 time in total
Back to top
View user's profile Send private message
FRIGN
n00b
n00b


Joined: 12 Jan 2013
Posts: 23
Location: Germany

PostPosted: Sun Feb 24, 2013 9:13 pm    Post subject: Cut the Firmware? Reply with quote

Have you also taken care of installing the proprietary firmware (or to be exact, cutting it from the windows-driver?)

For your reference.. (just that you need the bcm43xx-fwcutter)
Back to top
View user's profile Send private message
JuszR
Tux's lil' helper
Tux's lil' helper


Joined: 03 Nov 2010
Posts: 134
Location: Tlv

PostPosted: Sun Feb 24, 2013 9:49 pm    Post subject: Reply with quote

I saw that. I have done all that and still doesn't work.
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Sun Feb 24, 2013 9:57 pm    Post subject: Reply with quote

Hoe do you expect we can help you if all we know is "it doesn't work"?

b43 doesn't support your device, so those instructions for extracting the proprietary firmware do not apply to you. Your device is supported by the brcmsmac driver. Plenty of info around on how to get that one running.
Back to top
View user's profile Send private message
JuszR
Tux's lil' helper
Tux's lil' helper


Joined: 03 Nov 2010
Posts: 134
Location: Tlv

PostPosted: Sun Feb 24, 2013 9:59 pm    Post subject: Reply with quote

It means that i can't connect to the internet through wireless networks. Wicd shows "no wireless connections found" all the time.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Sun Feb 24, 2013 10:05 pm    Post subject: Reply with quote

JuszR wrote:
It means that i can't connect to the internet through wireless networks. Wicd shows "no wireless connections found" all the time.

Considering all the information you have provided we can conclude something is wrong.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
JuszR
Tux's lil' helper
Tux's lil' helper


Joined: 03 Nov 2010
Posts: 134
Location: Tlv

PostPosted: Sun Feb 24, 2013 10:20 pm    Post subject: Reply with quote

I've allready the brcmsmac module and the linux-firmware but still don't have wireless.
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Sun Feb 24, 2013 10:45 pm    Post subject: Reply with quote

We still don't know anything that would allow us to help. There are plenty of threads about wireless issues, look at them, see what info we need. Better yet, don't just provide that info for us, look at it yourself, you might find the solution without our help.
Back to top
View user's profile Send private message
Ion Silverbolt
Apprentice
Apprentice


Joined: 04 Nov 2004
Posts: 203

PostPosted: Thu Feb 28, 2013 9:55 pm    Post subject: Reply with quote

Does iwconfig show anything? If not, you're missing the firmware, or some required kernel settings for it.

I had that wireless in my old netbook. The open source driver doesn't work well at all with it. I got it to work, but it would frequently stop working and it performed horribly.

First, check this thread out. There is some useful information on configuring your kernel to get your wireless working.

https://forums.gentoo.org/viewtopic-t-939624-highlight-bcm4313.html


If that fails for you, try going with the broadcom-sta driver. It works really well and was a lot less of a headache to setup for me than dealing with the brcmsmac module. I did have to add an overlay to get a newer ebuild that will work with 3.6 kernels and higher. The one in the main tree doesn't work with newer kernels. At least it didn't as of about a month ago.

The ebuild for broadcom-sta is in the dustin overlay if you go that route.
Back to top
View user's profile Send private message
JuszR
Tux's lil' helper
Tux's lil' helper


Joined: 03 Nov 2010
Posts: 134
Location: Tlv

PostPosted: Tue Mar 05, 2013 9:56 pm    Post subject: Reply with quote

Thanks for helping. I tried what they say in that thread and all i got is my card recognized:
Code:
# iwconfig
eth0      no wireless extensions.

lo        no wireless extensions.

sit0      no wireless extensions.

wlan0     IEEE 802.11bgn  ESSID:off/any 
          Mode:Managed  Access Point: Not-Associated   Tx-Power=0 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:on


So i tried with broadcom-sta:

Code:
 layman -a dustin
...............................

emerge broadcom-sta

* Checking for suitable kernel configuration options...
 *   CONFIG_WIRELESS_EXT:    is not set when it should be.
 *   CONFIG_MAC80211:    should not be set. But it is.
 *   CONFIG_LIB80211_CRYPT_TKIP:    is not set when it should be.
 * Please check to make sure these options are set correctly.
 * Failure to do so may cause unexpected problems.
 * Once you have satisfied these options, please try merging
 * this package again.
 * ERROR: net-wireless/broadcom-sta-5.100.82.112-r3 failed (setup phase):
 *   Incorrect kernel configuration options


and i don't know how to enable them on the kernel menu (or in the .config file).
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Tue Mar 05, 2013 10:12 pm    Post subject: Reply with quote

While in make menuconfig hit / and type in the string you are searching for, or use F8 in make nconfig. Do not edit .config by hand.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
JuszR
Tux's lil' helper
Tux's lil' helper


Joined: 03 Nov 2010
Posts: 134
Location: Tlv

PostPosted: Tue Mar 05, 2013 10:15 pm    Post subject: Reply with quote

Jaglover wrote:
While in make menuconfig hit / and type in the string you are searching for, or use F8 in make nconfig. Do not edit .config by hand.

I know, but i get something like:

Code:
Symbol: WIRELESS_EXT [=n]                                                                                                   │ 
  │ Type  : boolean                                                                                                             │ 
  │   Selected by: GELIC_WIRELESS [=n] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_TOSHIBA [=n] && GELIC_NET [=n] && WLAN


so i have no clue where it should be to enable/disable.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Tue Mar 05, 2013 10:28 pm    Post subject: Reply with quote

I'm no fan of wireless, thus can't help you much, check out this: http://en.gentoo-wiki.com/wiki/Broadcom_43xx
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Ion Silverbolt
Apprentice
Apprentice


Joined: 04 Nov 2004
Posts: 203

PostPosted: Wed Mar 06, 2013 1:11 am    Post subject: Reply with quote

JuszR,

I think you did finally install the open source driver properly. I just don't think it works well with your particular card. I do think broadcom-sta will work well for you once you get your kernel config setup properly.


Enable TKIP here:

Code:
Device Drivers -->
   [*] Network device support -->
      Wireless LAN
       <*>   IEEE 802.11 for Host AP (Prism2/2.5/3 and WEP/TKIP/CCMP)


The other options are under Networking Support--->Wireless in the kernel .config.

Check iwconfig after you're done. Your wireless device will probably change to something else other than wlan0. Also note that you won't need any firmware with broadcom-sta as it's included in the driver.
Back to top
View user's profile Send private message
JuszR
Tux's lil' helper
Tux's lil' helper


Joined: 03 Nov 2010
Posts: 134
Location: Tlv

PostPosted: Wed Mar 06, 2013 8:17 pm    Post subject: Reply with quote

It got worse:

Code:
# iwconfig
eth0      no wireless extensions.

lo        no wireless extensions.

sit0      no wireless extensions.
Back to top
View user's profile Send private message
Ion Silverbolt
Apprentice
Apprentice


Joined: 04 Nov 2004
Posts: 203

PostPosted: Thu Mar 07, 2013 1:40 pm    Post subject: Reply with quote

Did you try modprobing the wl module?

Code:
#modprobe wl
Back to top
View user's profile Send private message
JuszR
Tux's lil' helper
Tux's lil' helper


Joined: 03 Nov 2010
Posts: 134
Location: Tlv

PostPosted: Fri Mar 08, 2013 2:53 pm    Post subject: Reply with quote

it didin't work still the same.

Maybe is a problem with the wicd?
Back to top
View user's profile Send private message
Ion Silverbolt
Apprentice
Apprentice


Joined: 04 Nov 2004
Posts: 203

PostPosted: Fri Mar 08, 2013 3:35 pm    Post subject: Reply with quote

Were you able to successfully type modprobe wl without getting any error output? If so, it should work and a wireless device should show up when you type iwconfig. Once a wireless device shows up, Wicd should work by just telling it the name of the wireless device. (wlan0 for example)

When you attempted to switch to the binary driver, did you remove all the .config options for the driver that comes with the kernel? If not, they can cause conflicts, which may be your problem. Try typing lsmod at a root terminal and make sure the following modules aren't loaded: (b44 b43 b43legacy brcmsmac ssb brcm80211) Also, make sure none of those are built into the kernel. Alternatively, instead of recompiling the kernel, you can blacklist those modules to prevent them from loading if you compiled them all as modules.

You might also find some clues to your problem by typing dmesg at a terminal. You might see some message(s) about modules having problems loading.
Back to top
View user's profile Send private message
JuszR
Tux's lil' helper
Tux's lil' helper


Joined: 03 Nov 2010
Posts: 134
Location: Tlv

PostPosted: Sun Mar 10, 2013 12:28 am    Post subject: Reply with quote

Code:
 # modprobe wl
# iwconfig
eth0      no wireless extensions.

lo        no wireless extensions.

sit0      no wireless extensions.


I blacklisted all those modules also, dmesg doesn't report any errors.

According to this, i'm missing the "update-modules -f" but i'm unable to do it because "the command is not found".

I am getting annoyed. I'm planning on to buy a mini usb RTL 8188, the question is if it is fully supported.
Back to top
View user's profile Send private message
JuszR
Tux's lil' helper
Tux's lil' helper


Joined: 03 Nov 2010
Posts: 134
Location: Tlv

PostPosted: Mon Mar 18, 2013 5:32 pm    Post subject: Reply with quote

Anyone?

I installed Gentoo on another machine with the same card (broadcom-sta driver] and it didn't work either:
Code:

# modprobe wl
# iwconfig
eth0      no wireless extensions.

eth1      no wireless extensions.

lo        no wireless extensions.

sit0      no wireless extensions.

# lspci -k
07:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller (rev 01)
   Subsystem: Broadcom Corporation Device 0587
   Kernel driver in use: wl


Code:

# dmesg
[   16.224372] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[   16.224419] r8169 0000:03:00.0 eth1: link down
[   17.834465] r8169 0000:03:00.0 eth1: link up
[   17.834486] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[   24.507595] r8169 0000:03:00.0 eth1: link down
[   24.507633] r8169 0000:03:00.0 eth1: link down

Shouldn't it be wlan0 instead of eth1>
Do i need a firmware for the broadcom-sta?
Bcm specific AMBA?
Back to top
View user's profile Send private message
JuszR
Tux's lil' helper
Tux's lil' helper


Joined: 03 Nov 2010
Posts: 134
Location: Tlv

PostPosted: Tue Mar 19, 2013 7:45 pm    Post subject: Reply with quote

Finally i got it to work! :D

1. Upgraded to kernel 3.7.10.
2. Added dustin overlay
3. Emerged broadcom-sta
4. # modprobe wl and it worked! :wink:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum