Greetings to anyone reading this.
I am running an H-P ze4500 series computer with an integrated Broadcom 94306 802.11g adapter. With the help of several other discussions on this site, I've managed to put together a step-by-step guide to making it work. The heart of it comes from roguefalcon at
http://www.linuxquestions.org/questions/history/125571
Given my own frustration at doing this, I thought it might be helpful to others. I'm just a newbie, so if I've gotten anything wrong here, I apologize; but it worked for me...
Part 1 – Install Kernel Sources (I had no idea how to do this).
1. Go to the Mandrake Control Center (under Configuration -> Configure your computer.
2. Click on Software Management and then on the green plus sign.
3. On the screen that comes up, sort “All packages, by group.”
4. Under System -> Kernel, find the files for your Kernel (I use 2.4.22.10) and click Install.
Part 2 – Download the drivers from the H-P website.
5. @ hp.com, go to Support and Drivers.
6. Click on Notebook and Tablet PCs
7. Click on Notebook PCs
8. Find you series and model number.
9. After you get to the page with your computer, click on Software and Driver Downloads.
10. Click on Windows XP.
11. Go down to the Driver-Network section and click on Broadcom 802.11b and 802.11g 12. Network Adapters Driver for Windows XP.
13. Once you download the drivers, run the executable in a convenient folder.
Part 3 – Get ndiswrapper 0.4
14. Go to
http://sourceforge.net/projects/ndiswrapper/ and get the file.
Part 4 – Compile ndiswrapper.
15. Enter the following commands in order
16. tar zxvf ndiswrapper.tar.gz
17. cd ndiswrapper
18. make
19. insmod driver/ndiswrapper.o
20. cd utils
21. make
22. cp loadndisdriver /sbin/. (Note—if “loadndisdriver” doesn't work, try “loaddriver” instead.)
23. lspci -n (you can skip this if you know that, for Broadcom, the vendor is 14e4 and the device is 4320)
Part 5 – Load the Drivers
24. Go back to the folder with the Broadcom drivers and type
25. loadndisdriver 14e4 4320 bcmwl5.sys bcmwl5.inf
Part 6 – Create a script to set the adapter
26. vi /etc/sysconfig/network-scripts/ifcfg-wlan0
27. Put the following lines into the script:
# Broadcom Corporation|BCM94306 802.11g
# These settings are from the way I configured my wireless router
DEVICE=wlan0
BOOTPROTO=dhcp
onBOOT=yes
TYPE=wireless
ESSID=Magellan
KEY=<if you use a key enter it here>
CHANNEL=6
GATEWAY=192.168.1.1
Part 7 – Activate the card
Type in the following commands
28. iwconfig
29. iwconfig wlan0 mode Managed
30. iwconfig wlan0 key <if you use a key, enter it here>
31. iwconfig wlan0 essid <enter your router's name>
32. ifup eth1
33. ifconfig (make sure the card is listed)
34.ping 198.168.1.1
[NOTE—if you don't have iwconfig, go to
http://pcmcia-cs.sourceforge.net/ftp/contrib/ and download wireless_tools.26.tar.gz; once you install this package, you'll be able to run the above commands.]
IT SHOULD WORK.
I took the script given by another poster to make the drivers load on reboot.
In the file /etc/rc.d/rc.local, add the following:
ifdown wlan0
rmmod ndiswrapper
insmod /root/ndiswrapper/driver/ndiswrapper.o (You can put the ndiswrapper most anywhere you want, just make sure the reference is accurate.)
loadndisdriver 14e4 4320 /root/broadcom/bcmwl5.sys /root/broadcom/bcmwl5.inf
ifup wlan0
CURRENTLY, I CAN'T GET THE LAST COMMAND TO WORK, SO I HAVE TO TYPE IT IN MANUALLY AFTER REBOOT, BUT I'M TRYING TO FIGURE OUT WHAT I DID WRONG.
Good luck to you.