Hola, un saludo. Muchas Gracias a todos por su Ayuda. Gracias al ultimo mensaje de
maxtor0057, y probando su configuración. Han funcionado los APs
Sin contraseña.
He logrado dar con el problema. Las configuraciones estaban correctas. El problema no era eso.
Aquí coloco la
Configuración Final que usare para levantar
eth0 (Local) + Los 3 APs (ath0, ath1, ath2)
Para que sirva de ayuda a los demás que les pase este mismo problema, que de seguro que somos varios.
Esquema Usado:******************************
* INICIO DE LA CONFIGURACION *
******************************BrazilFW - Versión 2.30.1 + eth0 (Local) + 3 Inalambricas como AP (ath0, ath1, ath2)
BrazilFW: 192.168.1.1
BrazilFW-AP: 192.168.1.3
***************************
Configuracion BrazilFW-AP *
***************************Modulos Usados
http://www.brazilfw.com.br/downloads/wireless/227/ath.tgzhttp://www.brazilfw.com.br/users/juanillo/athap/athap.tgzLos siguientes se agregan a la hora de instalar el BrazilFW - Versión 2.30.1 desde CD-ROOM
iwtools.tgz
advroute.tgz
bridge.tgz
******************************
Configuración Administrativa *
******************************INETTYPE='ETHERNET_STATIC'
DNS1='192.168.1.1'
LOCAL_IPADDR='192.168.1.3'
LOCAL_NETMASK='255.255.255.0'
WLAN_IPADDR='192.168.1.3'
WLAN_NETMASK='255.255.255.0'
IPADDR='192.168.1.3'
NETMASK='255.255.255.0'
GATEWAY='192.168.1.1'
DHCPSERVER='NO'
IF_LOCAL='br0'
IF_INET='br0'
IF_WLAN='br0'
ENABLE_EXTERNAL_PING='NO'
ENABLE_EXTERNAL_SSH='YES'
ENABLE_WEBADMIN='YES'
WEBADMIN_PORT='8180'
SSH_PORT='22'
DISABLE_NAT='YES'
TZ=GMT
*****************************************
* Guiones de Inicio de Comandos Locales *
*****************************************#!/bin/sh
# Brazilfw Local Command Init Script
iptables -F
iptables -t nat -F
iptables -X
iptables -t nat -X
iptables -t mangle -F
iptables -t mangle -X
******************************
* Configuración del Firewall *
******************************# Firewall Access Configuration File
#
# This file contains entries in the following format:
# type active permit|deny protocol source[/mask] destination[/mask] port
#
# type = access # Control access THROUGH the Firewall
# type = admin # Control access TO the Firewall
# active = Y or N
admin Y permit tcp any any 8180 #WebAdmin
access N deny all 192.168.0.44 any all #Example - Deny internet access to this IP
access N deny all 192.168.0.50/23 any all #Example - Deny internet access to these IP
access N deny tcp any any 21 #Example - Deny access to FTP sites
********************************
* /etc/rc.d/pkgs/mod.zz_bridge *
********************************#
# Coyote Bridge Configuration Script
# Claudio Roberto Cussuol - 02/24/2005
#
echo
echo Loading Bridge modules...
(cat /etc/modules.bridge; echo) |
while read module args
do
case "$module" in
\#*|"") continue ;;
esac
echo -n "$module - "
insmod /lib/modules/bridge/"$module".o $args
done
#Adding the Interfaces
#Usually eth1 = Internet Interface - Do not add it to the bridge
#To Enable the Bridge uncomment these lines
brctl addbr br0
ifconfig eth0 up
ifconfig eth0 0.0.0.0
brctl addif br0 eth0
ifconfig ath0 up
ifconfig ath0 0.0.0.0
brctl addif br0 ath0
ifconfig ath1 up
ifconfig ath1 0.0.0.0
brctl addif br0 ath1
ifconfig ath2 up
ifconfig ath2 0.0.0.0
brctl addif br0 ath2
# ... you can add as many interfaces as you have just copying these lines ...
#In order to use the bridge as your local interface you
#have to add this line to the main configuration file (/etc/coyote.conf):
#IF_LOCAL=br0
*******************************
* /etc/rc.d/pkgs/mod.wireless *
*******************************#!/bin/sh
# Atheros Driver Modules Loading
insmod /lib/modules/md5.o
insmod /lib/modules/wlan.o
insmod /lib/modules/wlan_acl.o
insmod /lib/modules/wlan_ccmp.o
insmod /lib/modules/wlan_tkip.o
insmod /lib/modules/wlan_wep.o
insmod /lib/modules/wlan_xauth.o
insmod /lib/modules/ath_hal.o
insmod /lib/modules/ath_rate_sample.o
insmod /lib/modules/wlan_scan_ap.o
insmod /lib/modules/wlan_scan_sta.o
#insmod /lib/modules/ath_pci.o autocreate=ap
insmod /lib/modules/ath_pci.o outdoor=1 autocreate=ap
**************************************
* Atheros Wi-Fi AP - Interfaces File *
**************************************ath0 B AP1 1 N N wifi0 # AP1
ath1 B AP2 6 N N wifi1 # AP2
ath2 B AP3 11 N N wifi2 # AP3
***************************************
* Atheros Wi-Fi AP - Other Parameters *
***************************************[ath0]
#!/bin/sh
/sbin/iwconfig ath0 key "s:T5vQ(ty7,<Z^w" #Key 128-bit - ASCII
/sbin/iwconfig ath0 rate auto
/sbin/iwconfig ath0 txpower 63mW
#/usr/sbin/athctrl -i wifi0 -d 3000
#/sbin/iwpriv ath0 hide_ssid 1
#/sbin/iwpriv ath0 wds 1 # enable bridging mode
[ath1]
#!/bin/sh
# Other Parameters for ath1
/sbin/iwconfig ath1 key "s:T5vQ(ty7,<Z^w" #Key 128-bit - ASCII
/sbin/iwconfig ath1 rate auto
/sbin/iwconfig ath1 txpower 63mW
#/sbin/iwpriv ath1 wds 1
[ath2]
#!/bin/sh
# Other Parameters for ath2
/sbin/iwconfig ath2 key "s:T5vQ(ty7,<Z^w" #Key 128-bit - ASCII
/sbin/iwconfig ath2 rate auto
/sbin/iwconfig ath2 txpower 63mW
#/sbin/iwpriv ath2 wds 1
***************************
* FIN DE LA CONFIGURACION *
***************************El problema que se nos presenta con el
athap.tgz es debido a la contraseña por defecto que este coloca.
/sbin/iwconfig ath0 key "0123456789" Esta contraseña funciona bien con una sola tarjeta inalámbrica. Pero al tener 2 o mas la sintaxis cambia.
Para que funcione tendremos que crear una contraseña de 128-bit, de lo contrario, dará problemas como el que yo tenia. Con una contraseña de 64-bit no funciona, también hice la prueba. Da lo de
"Conectividad Limitada o Nula"Además, hay que agregar el
s: quedaría asi:
/sbin/iwconfig ath0 key "s:AQUI.CONTRASEÑA.DE.128-BIT"
/sbin/iwconfig ath0 key "s:T5vQ(ty7,<Z^w" #Key 128-bit – ASCIIDe esta forma levantaron los
3 APs, al conectar pide la contraseña y pude navegar en las 3 APs sin ningún problema. El BrazilFW me asignaba el IP.
tambien hice la prueba de
/sbin/iwconfig ath0 key "s:0123456789" Sin embargo, seguia dando problemas de
"Conectividad Limitada o Nula"Se preguntaran, ¿Por que no le funciono a TooR cuando elimino el
athap.tgz?
Por que usaba la misma contraseña SIEMPRE
(key "0123456789") en los 2 APs, en todas las pruebas. Y como tampoco funciona con el
"key "s:0123456789" nunca la iva hacer funcionar.
En conclucion, repito. El problema no era las configuraciones.
TODO esta correcto. el problema es la contraseña que asigna el
athap.tgz y la cual no es el formato correcto. Recuerden que funciona bien con las de
128-bit.
Si no quieren usar el
athap.tgz basta con colocar:
*******************************
* /etc/rc.d/pkgs/mod.wireless *
*******************************/etc/rc.d/pkgs/mod.wireless
#!/bin/sh
# Atheros Driver Modules Loading
insmod /lib/modules/md5.o
insmod /lib/modules/wlan.o
insmod /lib/modules/wlan_acl.o
insmod /lib/modules/wlan_ccmp.o
insmod /lib/modules/wlan_tkip.o
insmod /lib/modules/wlan_wep.o
insmod /lib/modules/wlan_xauth.o
insmod /lib/modules/ath_hal.o
insmod /lib/modules/ath_rate_sample.o
insmod /lib/modules/wlan_scan_ap.o
insmod /lib/modules/wlan_scan_sta.o
#insmod /lib/modules/ath_pci.o autocreate=ap
insmod /lib/modules/ath_pci.o outdoor=1 autocreate=ap
iwconfig ath0 mode Master
iwconfig ath0 essid "AP1"
iwconfig ath0 channel 1
iwconfig ath0 key "s:T5vQ(ty7,<Z^w" #Key 128-bit – ASCII
iwconfig ath1 mode Master
iwconfig ath1 essid "AP2"
iwconfig ath1 channel 6
iwconfig ath1 key "s:T5vQ(ty7,<Z^w" #Key 128-bit – ASCII
iwconfig ath1 mode Master
iwconfig ath1 essid "AP3"
iwconfig ath1 channel 6
iwconfig ath1 key "s:T5vQ(ty7,<Z^w" #Key 128-bit – ASCII
*******************************Espero que esto les sirva a todos. Ademas, Gracias a Todos! por su Ayuda.
Para los usuarios que ya tienen sus APs montados, se aceptan recomendaciones. De por ejemplo instalar cierto addons
Al BrazilFW-AP. Todo lo que nos recomienden sera Bienvenido. Y que tal les ha ido con el rendiemiento de sus APs.
En el caso de los modulos, por ahi lei en un post donde
nachazo escribe, que en su AP tiene un modulo de reseteo remoto. Lo cual permite cortar corriente a voluntad en caso de cuelgue de equipos. Es una buena opcion.
Suerte!