[CentOS-es] Atheros como AP?

Alejandro cdgraff en gmail.com
Sab Jul 4 22:01:34 UTC 2009


Hola Gente,

Estoy necesitando ayuda para configurar mi Wifi Atheros como AP.

Les detallo mi hard:

01:07.0 Ethernet controller: Atheros Communications Inc. Atheros
AR5001X+ Wireless Network Adapter (rev 01)

Instalado:
madwifi-0.9.2.1-2.el5.rf

Salida del LSMOD:
 lsmod | grep ath
dm_multipath           55257  0
scsi_dh                41665  1 dm_multipath
ath_pci               125616  0
ath_rate_sample        47744  1 ath_pci
wlan                  224224  2 ath_pci,ath_rate_sample
ath_hal               250864  2 ath_pci,ath_rate_sample
ath5k                 134121  0
mac80211              183241  1 ath5k
cfg80211               63825  2 ath5k,mac80211
dm_mod                100369  11
dm_multipath,dm_raid45,dm_snapshot,dm_zero,dm_mirror,dm_log

Modprobe.conf:
alias ath0 ath_pci
alias wifi0 ath_pci
options ath_pci autocreate=sta


Segui estas lineas pero me da error en la primera: wlanconfig: ioctl:
No such device

wlanconfig ath0 destroy
wlanconfig ath0 create wlandev wifi0 wlanmode ap
ifconfig ath0 down
iwconfig ath0 rate 54M
iwconfig ath0 essid test
iwconfig ath0 channel 11
athctrl -i ath0 -d 1000
ifconfig ath0 192.168.224.1 netmask 255.255.225.0
ifconfig ath0 up
iptables -t nat -A POSTROUTING -s 192.168.224.0/24 -j MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forward

Desde ya muchas gracias...

Saludos,
Alejandro
www.linuxiso.com.ar


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