ndiswrapper & broadcom bcmwl5 driver in Dell

chris (2005-04-04 01:16:22)
8137 views
2 replies
Somewhat reduced and based on the ndiswrapper wiki's installation page, these are the steps for ndiswrapper installation and config to work with the broadcom bcmwl5 driver as shipped with 802.11g hardware in the Dell Precision M60. I'll attempt to elaborate on these notes later, or to add to the ndiswrapper wiki.

cd /usr/src/
wget http://switch.dl.sourceforge.net/sourceforge/ndiswrapper/ndiswrapper-1.1.tar.gz
tar -zxvf ndiswrapper-1.1.tar.gz
ls /lib/modules/2.4.26 -al
make distclean
make && make install
lspci
cd /usr/src/
wget http://www.silfreed.net/download/hpzt3000cto/SP23107A.tar.gz
tar -zxvf SP23107A.tar.gz
cd /var/
mkdir ndiswrapper
cd ndiswrapper/
vim readme.txt
mv /usr/src/SP23107A .
ndiswrapper -i SP23107A/bcmwl5.inf
ndiswrapper -l
modprobe ndiswrapper
dmesg
iwlist scan
iwconfig wlan0 mode Managed
iwconfig wlan0 key 80081355800813558008135580
iwlist scan
ping 192.168.1.1
/sbin/route add -net 192.168.0.0 gw 192.168.1.1 netmask 255.255.255.0
ifconfig
ifconfig eth0 down
ifconfig wlan0 up
ifconfig
dhcpcd wlan0
ndiswrapper -m


christo




comment
chris
2005-05-04 08:52:44

Okay, so I have cleaned all this up and now all that's required to connect to the wireless network when I boot my computer is the following script:

#!/bin/bash

# loade the ndiswrapper module
/sbin/modprobe ndiswrapper && sleep 2

# set the ESSID
/usr/local/sbin/iwconfig wlan0 ESSID spiration && sleep 2

# set the wep key
/usr/local/sbin/iwconfig wlan0 key 80081352340813523458131221

# start the dhcp client
/usr/sbin/dhcpcd wlan0

# bring up the network interface
/sbin/ifconfig wlan0 up

## end


I found that putting a couple of sleep statements after the modprobe ndiswrapper and the iwconfig wlan0 helped. Without this the script would invariably get in a tangle and would sometimes hang the system.


hth


christo



reply icon
anonymous
2005-06-10 22:22:36

Reply: ndiswrapper & broadcom bcmwl5 driver in Del

I have an HP with a similar driver, I followed your instructions as best I could, but I'm gettin hung up. I cant ping my router, but if i do iwlist scan I see my router and some others around me, How do I get it to get connectivity to my router/ the internet? Any help would be great. If you need any additional info I can provide it.

Not sure if it helps but its a Linksys router

-Rich
reply icon