Help me with Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Con
Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in 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.
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.
Help me with Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Con
Hello everyone
i have FC5 x86_64 in my laptot HP Pavilion ze2000
everything is ok except the WLAN card
Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)
i` ve read a lot of forums about the ndiswrapper
but i don`t know how to install it
i downloaded the latest ndiswrapper from sourceforge
1.16
and i`ve done this
[root@localhost ndiswrapper-1.16]# make install
make -C driver install
make[1]: Entering directory `/opt/ndiswrapper/ndiswrapper-1.16/driver'
Can't find kernel build files in /lib/modules/2.6.15-1.2054_FC5/build;
give the path to kernel build directory with
KBUILD=<path> argument to make
make[1]: *** [prereq_check] Error 1
make[1]: Leaving directory `/opt/ndiswrapper/ndiswrapper-1.16/driver'
make: *** [install] Error 2
then i read the INSTALL
here says
Make sure there is a link to the kernel source from
the modules directory. The command
ls /lib/modules/`uname -r`/build
should have at least 'include' directory and '.config' file.
[root@localhost ndiswrapper-1.16]# make
make -C driver
make[1]: Entering directory `/opt/ndiswrapper/ndiswrapper-1.16/driver'
make -C /lib/modules/2.6.15-1.2054_FC5/build SUBDIRS=/opt/ndiswrapper/ndiswrapper-1.16/driver \
DRIVER_VERSION=1.16
make[2]: Entering directory `/usr/src/kernels/2.6.15-1.2054_FC5-x86_64'
LD /opt/ndiswrapper/ndiswrapper-1.16/driver/built-in.o
CC [M] /opt/ndiswrapper/ndiswrapper-1.16/driver/hal.o
CC [M] /opt/ndiswrapper/ndiswrapper-1.16/driver/iw_ndis.o
CC [M] /opt/ndiswrapper/ndiswrapper-1.16/driver/loader.o
CC [M] /opt/ndiswrapper/ndiswrapper-1.16/driver/misc_funcs.o
CC [M] /opt/ndiswrapper/ndiswrapper-1.16/driver/ndis.o
CC [M] /opt/ndiswrapper/ndiswrapper-1.16/driver/ntoskernel.o
/opt/ndiswrapper/ndiswrapper-1.16/driver/ntoskernel.c: En la función ‘KeClearEvent’:
/opt/ndiswrapper/ndiswrapper-1.16/driver/ntoskernel.c:1628: aviso: no se utiliza el valor calculado
CC [M] /opt/ndiswrapper/ndiswrapper-1.16/driver/ntoskernel_io.o
CC [M] /opt/ndiswrapper/ndiswrapper-1.16/driver/pe_linker.o
CC [M] /opt/ndiswrapper/ndiswrapper-1.16/driver/pnp.o
CC [M] /opt/ndiswrapper/ndiswrapper-1.16/driver/proc.o
CC [M] /opt/ndiswrapper/ndiswrapper-1.16/driver/wrapmem.o
CC [M] /opt/ndiswrapper/ndiswrapper-1.16/driver/wrapndis.o
CC [M] /opt/ndiswrapper/ndiswrapper-1.16/driver/wrapper.o
CC [M] /opt/ndiswrapper/ndiswrapper-1.16/driver/usb.o
AS [M] /opt/ndiswrapper/ndiswrapper-1.16/driver/x86_64_stubs.o
LD [M] /opt/ndiswrapper/ndiswrapper-1.16/driver/ndiswrapper.o
Building modules, stage 2.
MODPOST
CC /opt/ndiswrapper/ndiswrapper-1.16/driver/ndiswrapper.mod.o
LD [M] /opt/ndiswrapper/ndiswrapper-1.16/driver/ndiswrapper.ko
make[2]: Leaving directory `/usr/src/kernels/2.6.15-1.2054_FC5-x86_64'
make[1]: Leaving directory `/opt/ndiswrapper/ndiswrapper-1.16/driver'
make -C utils
make[1]: Entering directory `/opt/ndiswrapper/ndiswrapper-1.16/utils'
gcc -g -Wall -DUTILS_VERSION=\"1.8\" -o loadndisdriver loadndisdriver.c
make[1]: Leaving directory `/opt/ndiswrapper/ndiswrapper-1.16/utils'
NOTE: Windows driver configuration file format has changed since 1.5. You must re-install Windows drivers if they were installed before.
make[1]: Leaving directory `/opt/ndiswrapper/ndiswrapper-1.16/utils'
mkdir -p -m 0755 /usr/share/man/man8
install -m 644 ndiswrapper.8 /usr/share/man/man8
ndiswrapper version 1.16 loaded (preempt=no,smp=yes)
ndiswrapper (check_nt_hdr:149): Windows driver is not 64-bit; bad magic: 010B
ndiswrapper (load_sys_files:213): couldn't prepare driver 'bcmwl5a'
ndiswrapper (load_wrap_driver:111): loadndiswrapper failed (65280); check system log for messages from 'loadndisdriver'
The problem isn't ndiswrapper - if you build ndiswrapper yourself (as is apparent from your posts), then you have a 64 bit ndiswrapper.
Your problem is that you are trying to use it with a 32 bit Windows driver - you *have* to use a 64 bit ndiswrapper with a 64 bit Windows driver.
Please download the driver in the 2nd link that Lenard posted earlier and use that with ndiswrapper (yes, it's from an Acer website, but it's for the same chipset, the BCM4318, so that isn't a problem).
To remove your old driver:
Code:
# This will tell you the name of the driver installed
ndiswrapper -l
# replace <drivername> with the result from ndiswrapper -l: probably bcmwl5 or similar
ndiswrapper -e <drivername>
ok,ive tried most of the things i could here but it still doesnt work...is there a way to uninstall ndiswrapper and any driver i might have installed? so i can start over..
when i did the "make" and "make install" for ndiswrapper i got somethin like this:
make -C driver
make[1]:Entering directory '/home/erik/ndiswrapper-1.30/driver'
Can't find kernel build files in /lib/modules/2.6.15-26-386/build;
give the path to kernel build directory with
KBUILD=<path> argment to make
make[1]: ***[prereq_check] Error 1
make[1]: Leaving directory '/home/erik/ndiswrapper-1.30/driver'
make: *** [all] Error 2
i put this in before i tried it again:
ln -s /usr/src/kernels/2.6.15-26-386 /lib/modules/2.6.15-26-386/build
but that didnt do anything..
when i try to install bsmwl5.inf with the 'ndiswrapper -i' command it says:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en",
LC_ALL = (unset)
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Installing bsmwl5
couldn't copy bsmwl5.inf at /usr/sbin/ndiswrapper line 135
i have ubuntu. and a belkin wireless g desktop pci card....any thoughts? thx.
Here comes the ultimate solution to deal with this problem ... Just kidding ... Please visit the following ... The steps are straight forward and worked well for me ... Hope you also can advantage ..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.