viernes, 19 de junio de 2009

Handling wireless interfaces Linux

This recipe is intended for all the linux fans who use a wireless device to connect to their network.
The command is very similar to our beloved ifconfig :D
First you need to know ...

In order to get a list of the access points avaliable near the computer simply type:
iwlist |interface| scan
This will produce an output like this one:
ra0 Scan completed :
Cell 01 - Address: 00:23:54:85:1F:DA
ESSID:"WebSTAR"
Mode:Managed
Channel:1
Quality:96/100 Signal level:-52 dBm Noise level:-81 dBm
Encryption key:on
Bit Rates:54 Mb/s
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK


Once you know, we need to connect.
Iwconfig will make the deal. You need to provide the role that the device is going to play, and after that, the access point you are going to join...

iwconfig ra0 mode managed
iwconfig ra0 essid "WebSTAR"


Byeee...!!!

No hay comentarios:

Publicar un comentario