On Vie 25 Sep 2009 11:43:09 Alejandro escribió:
> 2009/9/24 max <[email protected]>
> 
> > 2009/9/24 Fernando Toledo <[email protected]>
> >
> >> On Jue 24 Sep 2009 17:01:31 Alejandro escribió:
> >> > Gente,
> >> >
> >> > Este es el script que tengo para levantar la placa.
> >> >
> >> > #!/bin/bash
> >> > wlanconfig ath0 destroy
> >> > wlanconfig ath0 create wlandev wifi0 wlanmode ap
> >> > ifconfig ath0 down
> >> > iwconfig ath0 rate 54M
> >> > iwconfig ath0 essid NoTeConectes
> >> > iwconfig ath0 channel 10
> >> > athctrl -i ath0 -d 1000
> >> > ifconfig ath0 192.168.224.1 netmask 255.255.225.0
> >> > ifconfig ath0 up
> >> >
> >> >
> >> > pero cuando lo ejecuto dice.
> >> >
> >> > wlanconfig: ioctl: No such device
> >> > wlanconfig: ioctl: Input/output error
> >> > ath0: unknown interface: No such device
> >> > Error for wireless request "Set Bit Rate" (8B20) :
> >> >     SET failed on device ath0 ; No such device.
> >> > Error for wireless request "Set ESSID" (8B1A) :
> >> >     SET failed on device ath0 ; No such device.
> >> > Error for wireless request "Set Frequency" (8B04) :
> >> >     SET failed on device ath0 ; No such device.
> >> > Setting distance on interface ath0 to 1000 meters
> >> > Could not open /proc/sys/dev/ath0/slottime for writing!
> >> > Could not open /proc/sys/dev/ath0/acktimeout for writing!
> >> > Could not open /proc/sys/dev/ath0/ctstimeout for writing!
> >> > SIOCSIFADDR: No such device
> >> > ath0: unknown interface: No such device
> >> > SIOCSIFNETMASK: No such device
> >> > SIOCGIFADDR: No such device
> >> > SIOCSIFBROADCAST: No such device
> >> > ath0: unknown interface: No such device
> >> >
> >> >
> >> > la salida del iwconfig
> >> >
> >> >  iwconfig
> >> >
> >> > lo        no wireless extensions.
> >> >
> >> > eth1      no wireless extensions.
> >> >
> >> > wifi0     no wireless extensions.
> >> >
> >> > wlan0     IEEE 802.11b  ESSID:""
> >> >           Mode:Managed  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=0/70  Signal level=-256 dBm  Noise level=-256
> >> > dBm Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0 Tx
> >> > excessive retries:0  Invalid misc:0   Missed beacon:0
> >> >
> >> > eth0      no wireless extensions.
> >> >
> >> > sit0      no wireless extensions.
> >> >
> >> >
> >> > Hoy a la noche voy a probar el link que pasaron mas arriba!!!
> >> >
> >> > Gracias por responder
> >> > Si sale andando les cuanto como hice.
> >> >
> >> > Saludos,
> >> > Ale
> >> >
> >> > El 23 de septiembre de 2009 11:45, Fernando Toledo
> >> >
> >> > <[email protected]>escribió:
> >> > > On Mar 22 Sep 2009 21:23:24 Alejandro escribió:
> >> > > > Hola Listeros,
> >> > > >
> >> > > > Estoy necesitando ayuda para configurar mi server Centos 5.3 con
> >> > > > una placa WiFi Atheros, la idea es que sea AP
> >> > > >
> >> > > > Ya google un monton pero no hay caso los tutoriales que encuentro
> >> > > > o son viejos y no andan, o no se hacerlo andar :(
> >> > > >
> >> > > > El lspci dice:
> >> > > > 01:07.0 Ethernet controller: Atheros Communications Inc. Atheros
> >> > > > AR5001X+ Wireless Network Adapter (rev 01)
> >> > > >
> >> > > > Gracias por cualquier ayuda.
> >> > > > Saludos,
> >> > > > Ale
> >> > >
> >> > > tenes que usar wlanconfig
> >> > >
> >> > > --
> >> > > Dock Sud BBS
> >> > > http://bbs.docksud.com.ar
> >> > > telnet://bbs.docksud.com.ar
> >> > >
> >> > > Lanux - Grupo de usuarios de GNU/Linux de Lanus
> >> > > Visitanos en: http://www.lanux.org.ar
> >> > >
> >> > > Reglas de etiqueta para el posteo de mensajes a  la lista:
> >> > > http://www.lanux.org.ar/?page_id=35
> >> > >
> >> > > Articulos y noticias por rss:
> >> > > http://www.lanux.org.ar/?feed=rss2
> >> > >
> >> > > Lanux por irc:
> >> > > irc.freenode.net -&gt; #lanux.
> >> > > _______________________________________________
> >> > > General mailing list
> >> > > [email protected]
> >> > > http://listas.lanux.org.ar/cgi-bin/mailman/listinfo/general
> >>
> >> tu dispositivo es wlan0 no ath0
> >
> > por lo q muestra tu iwconfig, tiene razon fernando.
> >
> >> --
> >> Dock Sud BBS
> >> http://bbs.docksud.com.ar
> >> telnet://bbs.docksud.com.ar
> >>
> >> Lanux - Grupo de usuarios de GNU/Linux de Lanus
> >> Visitanos en: http://www.lanux.org.ar
> >>
> >> Reglas de etiqueta para el posteo de mensajes a  la lista:
> >> http://www.lanux.org.ar/?page_id=35
> >>
> >> Articulos y noticias por rss:
> >> http://www.lanux.org.ar/?feed=rss2
> >>
> >> Lanux por irc:
> >> irc.freenode.net -&gt; #lanux.
> >> _______________________________________________
> >> General mailing list
> >> [email protected]
> >> http://listas.lanux.org.ar/cgi-bin/mailman/listinfo/general
> >
> > Lanux - Grupo de usuarios de GNU/Linux de Lanus
> > Visitanos en: http://www.lanux.org.ar
> >
> > Reglas de etiqueta para el posteo de mensajes a  la lista:
> > http://www.lanux.org.ar/?page_id=35
> >
> > Articulos y noticias por rss:
> > http://www.lanux.org.ar/?feed=rss2
> >
> > Lanux por irc:
> > irc.freenode.net -&gt; #lanux.
> > _______________________________________________
> > General mailing list
> > [email protected]
> > http://listas.lanux.org.ar/cgi-bin/mailman/listinfo/general
> 
> PERDON, soy un poco estupido........ eso pasa por usar scripts de otras
> personas y ni revisarlossss..
> 
> Hoy lo pruebo y les cuento.
> 
> Graciassssss
> Ale
> 
yo hago un brigde de la wireless con la eth0 asi:

#!/bin/bash
ESSID=docksud
BR=br0
WF=wlan0
WF_HARD=wifi0
ET=eth0

echo -n bajando $ET
sudo ifconfig $ET 0.0.0.0
echo -n eliminando $WF
sudo wlanconfig $WF destroy
sudo wlanconfig $WF create wlandev $WF_HARD wlanmode ap
sudo brctl addbr $BR
sudo brctl addif $BR $ET
sudo iwconfig $WF essid $ESSID
sudo ifconfig $BR up
sudo dhclient $BR
sudo brctl addif $BR $WF

-- 
Dock Sud BBS
http://bbs.docksud.com.ar
telnet://bbs.docksud.com.ar

Attachment: signature.asc
Description: This is a digitally signed message part.

Lanux - Grupo de usuarios de GNU/Linux de Lanus
Visitanos en: http://www.lanux.org.ar

Reglas de etiqueta para el posteo de mensajes a  la lista:
http://www.lanux.org.ar/?page_id=35

Articulos y noticias por rss:
http://www.lanux.org.ar/?feed=rss2 
            
Lanux por irc: 
irc.freenode.net -&gt; #lanux.
_______________________________________________
General mailing list
[email protected]
http://listas.lanux.org.ar/cgi-bin/mailman/listinfo/general

Responder a