Wifi con WAP

Comandante Data eorcali en gmail.com
Lun Oct 9 12:54:36 BST 2006


Hola Listeros... queria contarles que pude solucionar el problema con mi 
placa de red RT2500, el problema estaba en el driver, el driver que 
viene con el ubuntu no funcionaba, asi que al bajar e instalar y seguir 
la guia de Ubuntu todo anduvo inmediatamente.
Les dejo abajo los paso que segui para que todo me funcionara por si a 
alguien mas le sirve o tiene mi problema ;o)

1. Download RT2500 Beta or RT2500 CVS (the Beta Release is considered 
more stable, but for packet injection mode, which tools like [WWW] 
Aircrack <http://www.cr0.net:8040/code/network/> require, the CVS 
Version is necessary).

You can find the Rt2500 download page on [WWW] 
http://rt2x00.serialmonkey.com/wiki/index.php/Downloads

    *

      For downloading the Beta Release follow the "Latest BETA rt2500
      driver" download link.

    *

      For downloading the CVS Release follow the "rt2500 nightly CVS
      tarball" download link.

2. Open a Terminal window (found under the "System Tools" group, in the 
"Applications" menu). Most of the work will be done through the 
Terminal. Now go into the directory where you downloaded the driver and 
type:

tar -xzf <driver name>

to unpack it.

3. At the Terminal Type:

sudo apt-get install build-essential linux-headers-$(uname -r)

This will install necessary packages for the compilation, after typing 
your password.


        3.3.2. Installing the Driver

The first step is to compile and install the driver:

1. Now type:

cd ./rt2500*/Module

This will bring you into the driver folder. If you extracted it 
somewhere else, adjust the address accordingly.

2. Type:

make

3. The module is now built. Before we install it, let's test it. Type:

sudo insmod rt2500.ko

4. Now, you can set up your device as described in the WEP 
<cid:part3.08070107.04000701 en gmail.com> and WAP 
<cid:part4.09040408.06010601 en gmail.com> sections according to your 
encryption needs. After you complete your configuration, continue to 
finalize the installation <cid:part5.07030408.04080306 en gmail.com>. If 
the above instructions for the configuration of the driver do not work 
for you, continue to the next <cid:part6.07060409.08030002 en gmail.com> 
section that will install R**aconfig or R**utilT.

*
*

*Noten que dice WAP en la pagina oficial de Ubuntu en lugar de WPA!!!! 
de ahi vino me confucion con las siglas ;oP*

*Despues hice lo siguiente...*


      2.2. WPA info

If your wireless network uses the WPA encryption method, follow these 
steps:

1. Open a "Terminal" window.

2. Type:

gksudo gedit /etc/network/interfaces 

3. In the text editor window that opened add the following stanza:

iface ra0 inet dhcp 
        pre-up ifconfig ra0 up
        pre-up ifconfig ra0 down
        pre-up ifconfig ra0 up
        pre-up ifconfig ra0 down
        pre-up iwconfig ra0 essid "myssid"
        pre-up iwconfig ra0 mode Managed
        pre-up iwpriv ra0 set AuthMode=WPAPSK
        pre-up iwpriv ra0 set EncrypType=TKIP
        pre-up iwpriv ra0 set WPAPSK="A shared key"
        pre-up ifconfig ra0 up

You should replace "myssid" with the SSID of your network, and "A shared 
key" with your network's WPA pre shared key. If your network uses the 
AES encryption type, replace "TKIP" with "AES". If your network operates 
a mode other than Managed, replace "Managed" with the appropriate mode - 
but notice that some modes are not supported by the driver, or may not 
be fully functional.

If you wish Ubuntu to connect to the network on startup, add the 
following line to the beginning of the stanza:

auto ra0 

If you want to use a static IP address rather than DHCP, you should 
replace the first line of the stanza above with something like

iface ra0 inet static 
        address 192.168.1.45
        netmask 255.255.255.0
        gateway 192.168.1.1

(Use the address, netmask and gateway appropriate for your network's 
settings)

5. In the terminal window, type:

sudo ifup ra0 

You should now be connected to your wireless network!

*
A mi con esto me anduvo, pero sino prueben con esto...*


If the above did not work for you, try one of the following stanzas 
instead (the same notes apply to these stanzas as well):

iface ra0 inet dhcp 
        pre-up iwpriv ra0 auth 3
        pre-up iwpriv ra0 enc 3
        pre-up iwconfig ra0 essid myssid
        pre-up iwpriv ra0 wpapsk A shared key
        pre-up iwconfig ra0 essid myssid 

*
o sino con esto...*


auto ra0 
iface ra0 inet dhcp
pre-up iwconfig ra0 essid " myssid "
pre-up iwconfig ra0 mode managed
pre-up iwpriv ra0 set Channel=11
pre-up iwpriv ra0 set AuthMode=WPAPSK
pre-up iwpriv ra0 set EncrypType=TKIP
pre-up iwpriv ra0 set WPAPSK="A shared key"
pre-up iwpriv ra0 set TxRate=0



*Si usan WEP tiene que hacer esto...
*

* 
*


      2.1. WEP info

If your wireless network is not protected by the WPA encryption method 
(i.e. if it's open or protected by the WEP encryption method) follow 
these steps:

1. Plug in your card.

2. Open *System->Administration->Networking* in the menu.

3. Click "Properties"

4. Enter your wireless access point's ESSID and WEP Key (if 
appropriate), and click OK.

5. Click the "Activate" button. You should now be connected to your 
wireless network!

In the future, all you'll need to do is click the Activate button to 
connect to the wireless network. If you wish Ubuntu to connect to the 
network on startup, follow these steps:

1. Open a "Terminal" window.

2. Type:

gksudo gedit /etc/network/interfaces 

3. In the text editor window that opened search for a stanza beginning 
with "iface ra0".

4. Add the following line to the beginning of the stanza:

auto ra0 

5. Save the file and close the editor.







Más información sobre la lista de distribución ubuntu-es