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