Wireless NDISWRAPPER drivers HOW-TO

AcftMecH

OSNN Addict
Joined
17 Sep 2002
Messages
99
this is to save someone hours of pain setting up a wireless network. This how-to was done from a fresh installation of Mandrake 10.1. this should take the first time installer about 20 minutes.

PCMCIA NIC Card: Motorola WN825G
Distro: Mandrake 10.1
DHCP setup


Files needed: goto http://sourceforge.net/projects/ndiswrapper and download the ndiswrapper 1.0 (unzip this to folder of your choice). also take the folder from your windows motorola drivers disk that contains the bcmw15.inf file and put into the unzipped ndiswrapper folder.

-- open console, login as SU. change directory to the unzipped ndiswrapper folder

build and install the module:
-- at prompt: $ make install

note: if this doesnt create the install, it may say something about kernal modules 2.6.8.1-12.mdk. if this is the case, system->configurations->packaging->install software. search for "2.6.8.1-12.mdk" and install the kernel module. you will need installation disk 3 for this.

install the windows driver:
--at prompt: $ ndiswrapper -i <path to bcmw15.inf>

result: driver installs. to test... at prompt: $ ndiswrapper -l

test result:
Installed ndis drivers:
bcmwl5 driver present, hardware present


now it is time to create a configuration file:
-- at prompt: $ cd /etc/sysconfig/network-scripts
$ Kate ifcfg-wlan0

Note: this creates and opens a new Kate editor file named "ifcfg-wlan0"
copy and paste the following into it.... changing names and keys as required:

DEVICE=wlan0
BOOTPROTO=dhcp
ONBOOT=yes
METRIC=10
MII_NOT_SUPPORTED=no
WIRELESS_MODE=Managed
WIRELESS_ESSID=<ESSID NAME>
WIRELESS_ENC_KEY=s:<key>
DHCP_HOSTNAME=<I used the essid name here again>
NEEDHOSTNAME=yes

SAVE IT...close it out.

back to the console:
-- at prompt: $ modprobe ndiswrapper
$ iwconfig wlan0 mode Managed
$ iwconfig wlan0 key restricted s:<KEY>
$ iwconfig wlan0 essid <ESSID NAME>
$ ifconfig wlan0 up
$ dhclient wlan0

at th point it should find an IP address and be connected. try to ping something or open browser and open webpage.


save the settings and adds a line to /etc/modprobe.conf
-- at prompt: $ ndiswrapper -m

now to add a line to the modules file:
-- at prompt: $ cd /etc
$ kate modules

add line: ndiswrapper to modules file. save it.


you should now be completely figured and when you reboot, it should automagically find an IP address and connect.
 

Members online

No members online now.

Latest profile posts

Also Hi EP and people. I found this place again while looking through a oooollllllldddd backup. I have filled over 10TB and was looking at my collection of antiques. Any bids on the 500Mhz Win 95 fix?
Any of the SP crew still out there?
Xie wrote on Electronic Punk's profile.
Impressed you have kept this alive this long EP! So many sites have come and gone. :(

Just did some crude math and I apparently joined almost 18yrs ago, how is that possible???
hello peeps... is been some time since i last came here.
Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.

Forum statistics

Threads
62,015
Messages
673,494
Members
5,621
Latest member
naeemsafi
Back