El día 13 de agosto de 2010 12:23, Alejandro Vargas
<[email protected]> escribió:
> Alguien sabe como se hace para armar con un linux un AP pero que
> también sea cliente? Se que el dd-wrt lo puede hacer. De hecho puede
> comportarse como muchos APs diferentes (diferentes ESSID) e incluso
> con diferentes cifrados.
>
> ¿Cómo se hace eso? La placa wifi es esta:
>
> 02:00.0 Ethernet controller: Atheros Communications Inc. Atheros
> AR5001X+ Wireless Network Adapter (rev 01)
>

Bingo!

Con el driver ath5k no lo pude hacer funcionar, pero con madwifi si ..

Ésta es la secuencia:

wifislax ~ # rmmod ath_pci
wifislax ~ # modprobe ath_pci
wifislax ~ # wlanconfig ath0 destroy
wifislax ~ # wlanconfig ath1 create wlandev wifi0 wlanmode ap ath1
wifislax ~ # wlanconfig ath0 create wlandev wifi0 wlanmode sta nosbeacon ath0
[...]

wifislax ~ # iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

wifi0     no wireless extensions.

ath1      IEEE 802.11g  ESSID:""  Nickname:""
          Mode:Master  Channel:0  Access Point: Not-Associated
          Bit Rate:0 kb/s   Tx-Power:0 dBm   Sensitivity=1/1
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=23/70  Signal level=-69 dBm  Noise level=-92 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

ath0      IEEE 802.11g  ESSID:"dlink"  Nickname:""
          Mode:Managed  Frequency:2.412 GHz  Access Point: 00:26:B6:8B:91:D3
          Bit Rate:24 Mb/s   Tx-Power:20 dBm   Sensitivity=1/1
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:2614-3648-01   Security mode:restricted
          Power Management:off
          Link Quality=23/70  Signal level=-69 dBm  Noise level=-92 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0



Claramente explicado en :

http://www.irongeek.com/i.php?page=backtrack-3-man/wlanconfig


Le vendria bien un bridge con ath1+eth0 y chequear que rendimiento se
obtiene trabajando así. Tambien como hacerlo para el driver ath5k.

Saludos.
-- 
Hay 10 tipos de personas, las que saben binario y las que no.

Luxas

Responder a