LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 05-09-2010, 09:31 AM   #1
escheie
LQ Newbie
 
Registered: May 2010
Posts: 4

Rep: Reputation: 0
Problem installing Broadcom Wireless driver


I have been trying for two days to get my BCM4318 wireless card working in Slackware.

I followed the instructions from the Broadcom README file (http://www.broadcom.com/docs/linux_sta/README.txt), but I can't get past the last "make" command. It seems to be stuck on something I don't have.

Here's what happens:
Code:
root@cocoru:~/hybrid_wl# make -C /lib/modules/2.6.33.3-smp/build M=`pwd`
make: Entering directory `/usr/src/linux-2.6.33.3'
  CC [M]  /root/hybrid_wl/src/shared/linux_osl.o
In file included from /root/hybrid_wl/src/shared/linux_osl.c:19:
/root/hybrid_wl/src/include/linuxver.h:23:28: error: linux/autoconf.h: No such file or directory
make[1]: *** [/root/hybrid_wl/src/shared/linux_osl.o] Error 1
make: *** [_module_/root/hybrid_wl] Error 2
make: Leaving directory `/usr/src/linux-2.6.33.3'
root@cocoru:~/hybrid_wl# make
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
make[1]: Entering directory `/usr/src/linux-2.6.33.3'
  CC [M]  /root/hybrid_wl/src/shared/linux_osl.o
In file included from /root/hybrid_wl/src/shared/linux_osl.c:19:
/root/hybrid_wl/src/include/linuxver.h:23:28: error: linux/autoconf.h: No such file or directory
make[2]: *** [/root/hybrid_wl/src/shared/linux_osl.o] Error 1
make[1]: *** [_module_/root/hybrid_wl] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.33.3'
make: *** [all] Error 2
root@cocoru:~/hybrid_wl#
Any help greatly appreciated.

(BTW, I'm a relative newbie who grew bored with Ubuntu, so please forgive my ignorance.)

Last edited by XavierP; 05-09-2010 at 10:36 AM. Reason: code tags added
 
Old 05-09-2010, 11:39 AM   #2
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 227Reputation: 227Reputation: 227
It looks like the kernel version you are using moved the header file autoconf.h. This should fix it.

In your source directory in the file hybrid_wl/src/include/linuxver.h change line 23 from "#include <linux/autoconf.h>" to "#include <generated/autoconf.h>" and rerun make clean then make.

Last edited by bgeddy; 05-09-2010 at 11:40 AM.
 
Old 05-10-2010, 09:40 AM   #3
escheie
LQ Newbie
 
Registered: May 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Many thanks, and another little question

Thanks for the advice on how to deal with the pesky autoconf.h problem! After many more hours of futzing around and trying innumerable solutions, I finally got the wicd to show the networks, and I'm on. There are, however, two problems with wicd:

1. It will not show any networks unless I first login as root and enter the 'sudo modprobe b43' command. Only then do the networks appear. I configured my router, which works fine. But--

2. Even though I checked "Automatically connect to this network" it does not do that. Which means that it shuts down or times out without warning, and shows "not connected" at the bottom, so I have to check the "connect" box again.

If you have any ideas on how to fix this, I'd be very grateful.

Again, many thanks!

(Getting up to speed on this is taking longer than I anticipated, but I'm thinking it will be worth the effort.)
 
Old 05-10-2010, 09:56 AM   #4
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 227Reputation: 227Reputation: 227
Hi escheie - glad the compilation fix helped.

Now to your existing problems.

Quote:
1. It will not show any networks unless I first login as root and enter the 'sudo modprobe b43' command. Only then do the networks appear. I configured my router, which works fine. But--
To get a module loaded automatically at boot add an entry to the script named /etc/rc.d/rc.modules (actually a link to the real file but it'll work anyway). This loads additional modules at boot up in Slackware. Look at the existing entries to get a feel for how to word this.

Quote:
2. Even though I checked "Automatically connect to this network" it does not do that. Which means that it shuts down or times out without warning, and shows "not connected" at the bottom, so I have to check the "connect" box again.
I'm afraid I can't help here as I've never ,(well very rarely), use wicd and don't have acces to any wireless hardware to check this out with. Possibly someone more familiar with the app will pitch in.

Edit: Oh - I just noticed you are new to the forum so welcome.

Last edited by bgeddy; 05-10-2010 at 09:58 AM. Reason: Noticed newcomer
 
Old 05-10-2010, 01:41 PM   #5
lumak
Member
 
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Blog Entries: 32

Rep: Reputation: 109Reputation: 109
You also might have more luck using the windows driver with ndiswrapper. I had numerous issues with the linux driver that was not only missing features but also did not reassign an essid in a timely manner.
 
Old 05-11-2010, 05:40 PM   #6
escheie
LQ Newbie
 
Registered: May 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks! I got the module to load automatically at boot by adding an entry to /etc/rc.d/rc.modules as you suggested. WICD is not perfect because of the dropped connections, but I can live with it until I learn more.

I don't know about installing the ndiswrapper, though. It looks like a lot of work which might create conflicts with what I have already done.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] debian problem with broadcom wireless card/driver mf93 Linux - Hardware 7 10-04-2009 07:08 PM
Broadcom Wireless Driver Problem mengchun_khor Linux - Newbie 2 08-29-2008 12:54 PM
Problem with Broadcom wireless driver pgpython Linux - Wireless Networking 1 04-10-2008 07:16 PM
Broadcom 64-bit wireless driver problem vital_101 Ubuntu 2 05-27-2006 05:21 AM
broadcom wireless driver config Dunadan1821 Linux - Wireless Networking 2 09-05-2004 09:09 AM


All times are GMT -5. The time now is 12:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration