LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Broadcom WiFi drivers (http://www.linuxquestions.org/questions/slackware-14/broadcom-wifi-drivers-444722/)

scompa 05-14-2006 01:14 PM

Broadcom WiFi drivers
 
Does anyone know where I can found Broadcom drivers for my Broadcom wireless card bcm94306mplna and how do I install them?

cwwilson721 05-14-2006 01:24 PM

You can use ndiswrapper.

I have a broadcom bcm43xx card myself, you can look at this page to see if these drivers support your card. If they do, holler back, I'll help you get it working (It is a pain, because they require a kernel patch, recompile, and lottsa twiddling). Also, they only support 11M, not the G speeds of 54.

If you need the 54M, stick with ndiswrapper.

scompa 05-14-2006 02:44 PM

Jep, it supports, but how do I install it, I am new to linux?

cwwilson721 05-14-2006 03:04 PM

Personally, since you are new, I would go with ndiswrapper.
Go here, get the source code.
Untar it, and read the instructions (README or install) It works great then.

scompa 05-14-2006 03:24 PM

When I try to compile it i got this:

Quote:

root@scompa-laptop:~/ndiswrapper-1.16# make install
make -C driver install
make[1]: Entering directory `/root/ndiswrapper-1.16/driver'

cc -DEXPORT_SYMTAB -DMODVERSIONS -include /lib/modules/2.4.31/build/include/linux/modversions.h -DUSB_DRIVER_OWNER -freg-struct-return -DDRIVER_VERSION=\"1.16\" -DLINUX -D__KERNEL__ -DMODULE -I/lib/modules/2.4.31/build/include -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -O2 -mpreferred-stack-boundary=2 -c -o hal.o hal.c
In file included from ntoskernel.h:334,
from hal.c:24:
winnt_types.h:125:2: #error "gcc 3.4 or newer should be used for compiling this module"
In file included from hal.c:24:
ntoskernel.h:698: error: syntax error before "LONG"
ntoskernel.h:699: error: syntax error before "LONG"
ntoskernel.h:700: error: syntax error before "struct"
ntoskernel.h:702: error: syntax error before "struct"
ntoskernel.h:704: error: syntax error before "struct"
ntoskernel.h:730: error: syntax error before "NTSTATUS"
ntoskernel.h:765: error: syntax error before "KIRQL"
ntoskernel.h:766: error: syntax error before "void"
ntoskernel.h:767: error: syntax error before "KIRQL"
ntoskernel.h:768: error: syntax error before "void"
ntoskernel.h:769: error: syntax error before "void"
ntoskernel.h:770: error: syntax error before "void"
ntoskernel.h:822: error: syntax error before "LONG"
ntoskernel.h:823: error: syntax error before "void"
hal.c:122: error: syntax error before "KIRQL"
hal.c:132: error: syntax error before "void"
hal.c:140: error: syntax error before "KIRQL"
hal.c:147: error: syntax error before "void"
hal.c:154: error: syntax error before "void"
hal.c:166: error: syntax error before "void"
make[1]: *** [hal.o] Error 1
make[1]: Leaving directory `/root/ndiswrapper-1.16/driver'
make: *** [install] Error 2
root@scompa-laptop:~/ndiswrapper-1.16#
root@scompa-laptop:~/ndiswrapper-1.16#

cwwilson721 05-14-2006 03:29 PM

You need to 'make' first, then 'make install'

willysr 05-14-2006 07:28 PM

i think you will also need GCC 3.4 and above to compile the module, based on the error message :
Quote:

winnt_types.h:125:2: #error "gcc 3.4 or newer should be used for compiling this module"
In file included from hal.c:24:

quietguy47 05-15-2006 11:21 AM

ndiswrapper-1.16 requires gcc 3.4 or higher
To installe ndiswrapper do:
make distclean
make (your kernel has to be compiled with gcc 3.4 also or make will exit with errors)
su
make install
If you get no errors, then:
cd ..
ndiswrapper -i broadcomdriver.inf (make sure the .inf and sys files are in the same directory you install ndiswrapper from)
If it tells you hardware is present, then:
depmod -a
modprobe ndiswrapper
if everything goes well you can add
/sbin/modprobe ndiswrapper to your /etc/rc.d/rc.modules file and it will be loaded at boot
I have the braodcom 4318 card and the driver is bcmwl5.inf and bcmwl5.sys. They should be found on the windows cd that came with your computer

Beatnut 05-15-2006 01:53 PM

You might also check out if the ACX-driver suports it. Check out acx100. sourceforge. net.

Bjerrk 05-15-2006 02:14 PM

I'v had a lot of trouble compiling ndiswrapper in Slackware.
The newest version required GCC 3.4, and the older ones were bug riddled.

The solution was using the CP4S-port. It's in the opt-repository.

You can get CP4S here http://www.delilinux.de/cruxports4slack.html , except the site seems to be dead right now.

CP4S (Crux Ports For Slack) is a very good ports-system. I've added some custom repos, and at the moment my ports-tree contains just about 4000 ports. I know that more than 5000 ports exist out there, but i haven't added all repos since i didn't need them.

scompa 05-15-2006 02:15 PM

Thank you all for help, I am going to try now.


All times are GMT -5. The time now is 01:57 PM.