Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-14-2006, 02:14 PM
|
#1
|
Member
Registered: May 2006
Distribution: Slackware
Posts: 30
Rep:
|
Broadcom WiFi drivers
Does anyone know where I can found Broadcom drivers for my Broadcom wireless card bcm94306mplna and how do I install them?
|
|
|
05-14-2006, 02:24 PM
|
#2
|
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Rep:
|
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.
|
|
|
05-14-2006, 03:44 PM
|
#3
|
Member
Registered: May 2006
Distribution: Slackware
Posts: 30
Original Poster
Rep:
|
Jep, it supports, but how do I install it, I am new to linux?
|
|
|
05-14-2006, 04:04 PM
|
#4
|
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Rep:
|
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.
|
|
|
05-14-2006, 04:24 PM
|
#5
|
Member
Registered: May 2006
Distribution: Slackware
Posts: 30
Original Poster
Rep:
|
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#
|
|
|
|
05-14-2006, 04:29 PM
|
#6
|
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Rep:
|
You need to 'make' first, then 'make install'
|
|
|
05-14-2006, 08:28 PM
|
#7
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,795
|
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:
|
|
|
|
05-15-2006, 12:21 PM
|
#8
|
Member
Registered: Mar 2003
Location: Everett
Distribution: Slackware
Posts: 805
Rep:
|
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
|
|
|
05-15-2006, 02:53 PM
|
#9
|
LQ Newbie
Registered: May 2006
Posts: 5
Rep:
|
You might also check out if the ACX-driver suports it. Check out acx100. sourceforge. net.
|
|
|
05-15-2006, 03:14 PM
|
#10
|
Member
Registered: Aug 2005
Location: Some institute of physics, somewhere ...
Distribution: Debian, Slackware
Posts: 76
Rep:
|
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.
|
|
|
05-15-2006, 03:15 PM
|
#11
|
Member
Registered: May 2006
Distribution: Slackware
Posts: 30
Original Poster
Rep:
|
Thank you all for help, I am going to try now.
|
|
|
All times are GMT -5. The time now is 01:31 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|