LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   wireless help - broadcom 4312 (https://www.linuxquestions.org/questions/slackware-14/wireless-help-broadcom-4312-a-793674/)

reed9 03-07-2010 03:37 PM

Quote:

Originally Posted by mattca (Post 3889393)
Exellent :) If you start to have trouble, a report would be appreciated.

Maybe I'll try upgrading my kernel sometime soon.



Yes, the lib80211 module seems to load on boot, with the wl. This command was issued immediately after booting (with non-functioning wireless):

Any idea about lib80211_crypt_tkip? Should that be there as well?

Thanks again.

That all looks fine as far as I can tell. When it isn't working, check the output of dmesg for errors with the wireless. Might give some clue.

What kind of encryption are you using? How are you managing the network? If you're not, I would recommend trying WICD to manage your connections and see if that helps.

Geriao 03-07-2010 04:13 PM

If you use WPA/WPA2, I highly recommend reading Alien's wiki on that. It solved my problems, which were similar to yours.

piratesmack 03-07-2010 04:56 PM

Quote:

Originally Posted by mattca (Post 3889288)
[edit: you say you're using 2.6.32 and the driver isn't working quite right.. what's it doing, or not doing? I wonder if it would be less hassle than what I'm dealing with now..]

In kernel 2.6.33 (Slackware-Current), the b43 driver gives fatal DMA errors. It *kinda* works if I load wl first, unload wl, and then load b43.

With the 2.6.32.x kernels, the b43 driver caused very high CPU usage for me.

Update: Kernel 2.6.34-RC1: Works for about 20 seconds, then disconnects and won't reconnect

My PCI-ID is also 14e4:4315, btw.

If you decide to try kernel 2.6.33, the broadcom-sta driver needs to be patched or else it won't compile

Code:

--- src/include/linuxver.h.orig        2010-03-07 15:52:49.861196761 -0700
+++ src/include/linuxver.h        2010-03-07 15:54:11.872197040 -0700
@@ -20,7 +20,7 @@
 #if (LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 0))
 #include <linux/config.h>
 #else
-#include <linux/autoconf.h>
+#include <generated/autoconf.h>
 #endif
 #include <linux/module.h>


Geriao 03-08-2010 07:23 AM

Quote:

Originally Posted by piratesmack (Post 3889560)

Also, if you decide to try kernel 2.6.33 the broadcom-sta driver needs to be patched or else it won't compile

Code:

--- src/include/linuxver.h.orig        2010-03-07 15:52:49.861196761 -0700
+++ src/include/linuxver.h        2010-03-07 15:54:11.872197040 -0700
@@ -20,7 +20,7 @@
 #if (LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 0))
 #include <linux/config.h>
 #else
-#include <linux/autoconf.h>
+#include <generated/autoconf.h>
 #endif
 #include <linux/module.h>


That's a more elegant solution. What I did to recompile wl was to make a symbolic link in /usr/src/linux/include/ to ../generated/linuxver.h. :p

slackwaredanny 03-09-2010 07:40 PM

hope you get it to work okay,and if anybody got the bluetooth working please share!

mattca 03-11-2010 08:25 PM

Thanks for all the input everyone.

I seem to have gotten it sorted out. First, I found a command sequence that seemed to make it work consistently:

Code:

iwconfig eth1 essid <my essid>
iwconfig eth1 key <my key>
ifconfig eth1 down
ifconfig eth1 up
/etc/rc.d/rc.inet1 eth1_start

Then today at work I noticed that on my work laptop my essid & key were in rc.wireless.conf, not rc.inet1.conf (as it was on this laptop). I moved the settings to rc.wireless.conf, and it worked. I've rebooted 5 times, and it's worked each time.

I remember reading somewhere that rc.wireless.conf was being phased out, and that using rc.inet1.conf was preferred. Can someone explain what's going on here?

And, slackwaredenny, you'll probably have more luck if you start a new post with your question.

vss2094 03-13-2010 02:26 PM

@ piratesmack

I too found it not compiling properly on kernel 2.6.33.
But this patch made it running well.:twocents:

Right now posting from my HP Pavilion dv2000 with 14e4:4315.

thanks everybody


All times are GMT -5. The time now is 12:18 AM.