Install RPM Ndiswrapper

rpm-driver



Installing the RPMs


1.After you have all this Linux information, you need to download and install the base, module, and interface packages. When searching for the RPMs, remember that the filename usually starts with the software package name followed by a version number:

kernel-wlan-ng-0.2.1-pre14.i686.rpm
kernel-wlan-ng-modules-fc1.1.2115-0.2.1-pre14.i686.rpm
kernel-wlan-ng-pci-0.2.1-pre14.i686.rpm
kernel-wlan-ng-pcmcia-0.2.1-pre14.i686.rpm

Note: There are different RPMs for PCMCIA- and PCI-based NIC cards. The base and modules RPMs need to be installed in all cases.

2.Notice the sequence of installation in this sample output. Double-check your preparation steps and the RPM versions if the very last line of the installation gives a result code that is not success:

[root@samity /home]# rpm -Uvh kernel-wlan-ng-0.2.1-pre14.i686.rpm
Preparing...                 ##################################### [100%]
   1:kernel-wlan-ng         ##################################### [100%]
[root@samity /home]# rpm -Uvh kernel-wlan-ng-modules-fc1.1.2115-0.2.1-pre14.i686.rpm
Preparing...                 ##################################### [100%]
   1:kernel-wlan-ng-modules-##################################### [100%]
[root@samity /home]#

[root@samity /home/rt61]# rpm -Uvh kernel-wlan-ng-pcmcia-0.2.1-pre14.i686.rpm
Preparing...                 ##################################### [100%]
   1:kernel-wlan-ng-pci     ##################################### [100%]
Adding prism2_pci alias to /etc/modprobe.conf file...
***NOTE***  YOU MUST CHANGE THIS IF YOU HAVE A PLX CARD!!!
The default wlan0 network configuration is DHCP.  Adjust accordingly.

ACHTUNG! ATTENTION! WARNING! YOU MUST configure /etc/wlan/wlan.conf to define your SSID! YOU ALSO must configure /etc/wlan/wlancfg-SSID to match WAP settings! (---> replace SSID in filename with the value of your SSID)


If you get an error after this point, there is either a problem with
your drivers or you don't have the hardware installed!
   Starting WLAN Devices:message=dot11req_mibset
      mibattribute=dot11PrivacyInvoked=false
     resultcode=success
   message=dot11req_mibset
      mibattribute=dot11ExcludeUnencrypted=false
     resultcode=success
   [root@samity /home]#

3.After the RPMs are installed, you need to configure the new wlan0 wireless NIC to be compatible with your network.Edit /etc/sysconfig/network-scripts/ifcfg-wlan0 to include these new lines:

DHCP Version          Fixed IP Version
   ============          =================

DEVICE=wlan0 DEVICE=wlan0 USERCTL=yes ONBOOT=yes ONBOOT=yes BOOTPROTO=static BOOTPROTO=dhcp

In the fixed IP version you also need to substitute your selected IP, netmask, network, and broadcast address with those above. Plus, make sure you have the correct gateway statement in your /etc/sysconfig/network file, for example. GATEWAY=192.168.1.1.

4. Start SAMity-WLAN process and test for errors in the file /var/log/messages. All the result codes in the status messages should be "success". You may receive the following error, however, which the WLAN RPM website claims is "harmless":

   Error for wireless request "Set Encode" (8B2A) :
       SET failed on device wlan0 ; Function not implemented.
   Error for wireless request "Set ESSID" (8B1A) :
       SET failed on device wlan0 ; Function not implemented.
   

5.With PCI cards, SAMity-wlan can be started by restarting the WLAN daemon:

   [root@samity /home]# service wlan restart
   [root@samity /home]# ifup wlan0
   

6.With PCMCIA cards, SAMity-wlan can be started by restarting the Linux PCMCIA daemon:

   [root@samity /home]# service pcmcia restart
   [root@samity /home]# service network restart
   

7.Now check to see if the IP address of the wlan0 interface is correct (instead of gateway-address you should insert the address of your router or the address that you want to use to connect):

   [root@samity /home]# ifconfig -a
   [root@samity /home]# ping <gateway-address>
   

Last Modified: 2010-07-18 03:39:18 by serjant - [ Snip Changes ] [ Wiki History ]

No users online



Google Search Engine