LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
Search this Thread
Old 05-12-2006, 02:38 PM   #1
julian.osorio
Member
 
Registered: Apr 2006
Location: Bogota,Colombia,South America
Distribution: SuSE, Slackware
Posts: 30

Rep: Reputation: 15
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.

but i`can`t find them

please help me

thanks
 
Old 05-12-2006, 06:08 PM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
This is a clue..........
Can't find kernel build files in /lib/modules/2.6.15-1.2054_FC5/build;

Please see; http://ndiswrapper.sourceforge.net/m...dex.php/Fedora

FYI: The recommend set of commands are...

make distclean
make
make install

As per;
http://ndiswrapper.sourceforge.net/m...le_and_install
 
Old 05-16-2006, 03:54 PM   #3
julian.osorio
Member
 
Registered: Apr 2006
Location: Bogota,Colombia,South America
Distribution: SuSE, Slackware
Posts: 30

Original Poster
Rep: Reputation: 15
thank you

i'm going to read this

if it don't work
you'll hear from me soon
 
Old 05-30-2006, 04:02 PM   #4
julian.osorio
Member
 
Registered: Apr 2006
Location: Bogota,Colombia,South America
Distribution: SuSE, Slackware
Posts: 30

Original Poster
Rep: Reputation: 15
ndiswrapper avance

hello everyone

before i had to do this

ln -s /usr/src/kernels/<kernel-version> /lib/modules/<kernel-version>/build

because the link was broken

[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'


[root@localhost ndiswrapper-1.16]# make install
make -C driver install
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'
Building modules, stage 2.
MODPOST
make[2]: Leaving directory `/usr/src/kernels/2.6.15-1.2054_FC5-x86_64'
mkdir -p /lib/modules/2.6.15-1.2054_FC5/misc
install -m 0644 ndiswrapper.ko /lib/modules/2.6.15-1.2054_FC5/misc
/sbin/depmod -a 2.6.15-1.2054_FC5
make[1]: Leaving directory `/opt/ndiswrapper/ndiswrapper-1.16/driver'
make -C utils install
make[1]: Entering directory `/opt/ndiswrapper/ndiswrapper-1.16/utils'
install -D -m 755 loadndisdriver /sbin/loadndisdriver
install -D -m 755 ndiswrapper /usr/sbin/ndiswrapper
install -D -m 755 ndiswrapper-buginfo /usr/sbin/ndiswrapper-buginfo

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
 
Old 05-30-2006, 04:19 PM   #5
julian.osorio
Member
 
Registered: Apr 2006
Location: Bogota,Colombia,South America
Distribution: SuSE, Slackware
Posts: 30

Original Poster
Rep: Reputation: 15
new avance

[root@localhost julian]# /usr/sbin/ndiswrapper -l
No drivers installed
[root@localhost julian]# cd /opt/wlan_drivers/
[root@localhost wlan_drivers]# ls
bcmwl5a.inf bcmwl5.inf bcmwl5.PNF bcmwl5.sys
[root@localhost wlan_drivers]# /sbin/depmod -a
[root@localhost wlan_drivers]# /usr/sbin/ndiswrapper -i bcmwl5a.inf
Installing bcmwl5a
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
Forcing parameter IBSSGMode|0 to IBSSGMode|2
[root@localhost wlan_drivers]# /usr/sbin/ndiswrapper -l
Installed drivers:
bcmwl5a driver installed, hardware present
 
Old 05-30-2006, 04:21 PM   #6
julian.osorio
Member
 
Registered: Apr 2006
Location: Bogota,Colombia,South America
Distribution: SuSE, Slackware
Posts: 30

Original Poster
Rep: Reputation: 15
help

what i have to do now???

[root@localhost wlan_drivers]# dmesg | grep ndiswrapper
ndiswrapper version 1.16 loaded (preempt=no,smp=yes)
ndiswrapper (load_wrap_driver:111): loadndiswrapper failed (65280); check system log for messages from 'loadndisdriver'
 
Old 05-30-2006, 05:17 PM   #7
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Hmmm.........Are you using the driver as suggested by the ndiswrapper known working list?

32 and 64-bit versions;

ftp://ftp.support.acer-euro.com/note...ver/80211g.zip

ftp://ftp.support.acer-euro.com/note...bit/80211g.zip

Sometimes adding something like"noapic nolapic acpi=off" to kernel line in /boot/grub/grub.conf helps.
 
Old 05-31-2006, 02:51 PM   #8
julian.osorio
Member
 
Registered: Apr 2006
Location: Bogota,Colombia,South America
Distribution: SuSE, Slackware
Posts: 30

Original Poster
Rep: Reputation: 15
ndiswrapper for x86_64

hello everyone

is there a x86_64 ndiswrapper version???
which???

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'

how I remove the ndiswrapper that i installed???

waiting for answers

Julian
 
Old 05-31-2006, 03:38 PM   #9
cathectic
Member
 
Registered: Sep 2004
Location: UK, Europe
Distribution: Slackware64
Posts: 761

Rep: Reputation: 34
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>

Last edited by cathectic; 05-31-2006 at 03:41 PM.
 
Old 06-01-2006, 09:28 AM   #10
julian.osorio
Member
 
Registered: Apr 2006
Location: Bogota,Colombia,South America
Distribution: SuSE, Slackware
Posts: 30

Original Poster
Rep: Reputation: 15
Thanks you all

Thanks you all for your help

where i can find the 64 bits windows driver (an http)
because the university proxy blocks the ftp???
 
Old 06-01-2006, 11:24 AM   #11
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Visit; http://support.acer-euro.com/drivers...3020_5020.html

Download;

AMBIT G (Broadcom solution) Wireless LAN driver (T60H906.00)" for XP-64BIT v3.100.64.0


If you cannot download the file still, then post back and let us know.

Last edited by Lenard; 06-01-2006 at 11:27 AM.
 
Old 06-06-2006, 03:03 PM   #12
julian.osorio
Member
 
Registered: Apr 2006
Location: Bogota,Colombia,South America
Distribution: SuSE, Slackware
Posts: 30

Original Poster
Rep: Reputation: 15
Check this out

hello every one

thanks to you and the 64 bit driver
i can read this message

[julian@localhost ~]$ dmesg | grep ndiswrapper
ndiswrapper version 1.16 loaded (preempt=no,smp=yes)
ndiswrapper (load_pe_images:573): fixing KI_USER_SHARED_DATA address in the driver
ndiswrapper: driver bcmwl5 (Broadcom,02/11/2005, 3.100.64.0) loaded
ndiswrapper: using irq 19
wlan0: ndiswrapper ethernet device 00:14:a5:26:17:6d using driver bcmwl5, 14E4:4 318.5.conf

IEEE 802.11g ESSID:"3Com" Nickname:"localhost.localdomain"
Mode:Auto Frequency:2.452 GHz Access Point: 00:0F:CB:9B:64:A1
Bit Rate=54 Mb/s Tx-Power:25 dBm
RTS thrff Fragment thrff
Power Managementff
Link Quality:100/100 Signal level:-65 dBm Noise level:-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:4 Invalid misc:393494 Missed beacon:0
 
Old 11-28-2006, 10:59 PM   #13
linuxnoob86
LQ Newbie
 
Registered: Nov 2005
Location: Minnesota
Posts: 5

Rep: Reputation: 0
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.
 
Old 08-01-2007, 08:02 AM   #14
gudneo
LQ Newbie
 
Registered: Apr 2006
Posts: 9

Rep: Reputation: 0
[solved]

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 ..

http://www.tecpages.com/installing-a...g-ndiswrapper/
 
  


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
wireless problems; Broadcom 802.11G Mini PCI Wireless with redhat WS surfbass Linux - Laptop and Netbook 1 12-17-2004 12:48 PM
Problem ON Broadcom Corporation BCM94306 802.11g (rev 02) ON Fedora honest Linux - Wireless Networking 4 07-17-2004 12:56 PM
Broadcom 802.11g built in wireless klfreese Linux - Hardware 6 07-01-2004 12:30 AM
Broadcom Corporation BCM94306 802.11g on Fedora core 2. honest Linux - Newbie 1 06-27-2004 08:57 AM
broadcom 802.11g and mdk 9.2 can't connect to LAN jrhessey Linux - Wireless Networking 5 03-03-2004 09:43 AM


All times are GMT -5. The time now is 03:00 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