LinuxQuestions.org
Help answer threads with 0 replies.
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-14-2006, 01:14 PM   #1
scompa
Member
 
Registered: May 2006
Distribution: Slackware
Posts: 30

Rep: Reputation: 15
Broadcom WiFi drivers


Does anyone know where I can found Broadcom drivers for my Broadcom wireless card bcm94306mplna and how do I install them?
 
Old 05-14-2006, 01:24 PM   #2
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 65
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.
 
Old 05-14-2006, 02:44 PM   #3
scompa
Member
 
Registered: May 2006
Distribution: Slackware
Posts: 30

Original Poster
Rep: Reputation: 15
Jep, it supports, but how do I install it, I am new to linux?
 
Old 05-14-2006, 03:04 PM   #4
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 65
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.
 
Old 05-14-2006, 03:24 PM   #5
scompa
Member
 
Registered: May 2006
Distribution: Slackware
Posts: 30

Original Poster
Rep: Reputation: 15
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#
 
Old 05-14-2006, 03:29 PM   #6
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 65
You need to 'make' first, then 'make install'
 
Old 05-14-2006, 07:28 PM   #7
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,551

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
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:
 
Old 05-15-2006, 11:21 AM   #8
quietguy47
Member
 
Registered: Mar 2003
Location: Everett
Distribution: Slackware 13.37
Posts: 785

Rep: Reputation: 31
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
 
Old 05-15-2006, 01:53 PM   #9
Beatnut
LQ Newbie
 
Registered: May 2006
Posts: 5

Rep: Reputation: 0
You might also check out if the ACX-driver suports it. Check out acx100. sourceforge. net.
 
Old 05-15-2006, 02:14 PM   #10
Bjerrk
Member
 
Registered: Aug 2005
Location: Denmark
Distribution: Debian, Slackware
Posts: 70

Rep: Reputation: 19
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.
 
Old 05-15-2006, 02:15 PM   #11
scompa
Member
 
Registered: May 2006
Distribution: Slackware
Posts: 30

Original Poster
Rep: Reputation: 15
Thank you all for help, I am going to try now.
 
  


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
Broadcom Wifi Problems sampbar Suse/Novell 3 01-07-2006 11:55 AM
broadcom wifi issues. almost there... Vexamus Linux - Wireless Networking 2 10-26-2005 12:57 AM
Broadcom Wifi spaaarky21 Fedora 8 01-01-2005 11:19 AM
Broadcom WiFi microsoft/linux Mandriva 0 09-12-2004 08:21 PM
Internet (Broadcom 440X) & WiFi ( WLAN 1350) Problem *Mandrake 10.0 Official defIEd Linux - Wireless Networking 4 08-30-2004 02:34 AM


All times are GMT -5. The time now is 02:23 PM.

Main Menu
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