Monday, April 26, 2010

Wifi for Linux

These steps will make your wifi-dongle work out-of-box.
These are the skeleton steps for the same:


1. Check the Wireless card is detected.
This can be done as
"lspci | grep -i wireless"
If the output shows the output, It means the wireless device is connected.

2. Make sure the module is installed for the same devie.
Check the name of module as "lsmod"

3. Else, if the module is already installed OR in kernel itself, then make sure
that module is properly detected by the device by looking in "dmesg"

4. Device need the module and firmware to make it run.
"dmesg" will show wheather the device find both of them.
Once it gots both then the device will it's start functionality after configuration.

5. Do the "ifconfig -a" or "iwconfig"
It will shows the wifi-device as "eth1" or "wifi0" or "wlan0".
it depends upon the underlying OS.

6. Now enable the wifi-device as
"ifconfig up"

7. Do the "iwlist scan" to see the available access points.

8. Configure the device for the intended AP as, ( sometime either command is suffice. )
"iwconfig essid "
"iwconfig ap "

9. If the AP is wep-encrypted then execute the command
"iwconfig key "

10. Ping the network for this device with command:
"ping -I "

Have a Happy networking....!!!

No comments:

Post a Comment