Hostap

1. Hostap

Ricardo da Silva Souza
ricardobae

(usa Arch Linux)

Enviado em 13/05/2012 - 13:36h

Olá, estou criando um gateway para o meu TCC usando o kit de desenvolvimento mini2440 da FriendlyArm, ja tenho um linux completamente funcionado com kernel 2.6.32.2 e o debian squeeze para arm rodando perfeitamente, a idéia é ganhar um ip dhcp na interface ethernet (ja está funcionando), e como o kit não tem wireless, distribuir essa conexão pela wifi usb funcionando em modo AP.

tenho o wifi usb funcionando porém consegui fazer ela funcionar em modo ap no meu notebook, mas no kit ela tem a seguinte saida

Configuration file: /etc/hostapd/hostapd.conf
phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 3, CWmax: 4, .
phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 4, CWmax: 5, .
phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 5, CWmax: 10,.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 5, CWmax: 10,.
Opening raw packet socket for ifindex 0
BSS count 1, BSSID mask ff:ff:ff:ff:ff:ff (0 bits)
SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf
nl80211: Added 802.11b mode based on 802.11g information
Allowed channel: mode=1 chan=1 freq=2412 MHz max_tx_power=16 dBm
Allowed channel: mode=1 chan=2 freq=2417 MHz max_tx_power=16 dBm
Allowed channel: mode=1 chan=3 freq=2422 MHz max_tx_power=16 dBm
Allowed channel: mode=1 chan=4 freq=2427 MHz max_tx_power=16 dBm
Allowed channel: mode=1 chan=5 freq=2432 MHz max_tx_power=16 dBm
Allowed channel: mode=1 chan=6 freq=2437 MHz max_tx_power=16 dBm
Allowed channel: mode=1 chan=7 freq=2442 MHz max_tx_power=16 dBm
Allowed channel: mode=1 chan=8 freq=2447 MHz max_tx_power=16 dBm
Allowed channel: mode=1 chan=9 freq=2452 MHz max_tx_power=16 dBm
Allowed channel: mode=1 chan=10 freq=2457 MHz max_tx_power=16 dBm
Allowed channel: mode=1 chan=11 freq=2462 MHz max_tx_power=16 dBm
Allowed channel: mode=0 chan=1 freq=2412 MHz max_tx_power=16 dBm
Allowed channel: mode=0 chan=2 freq=2417 MHz max_tx_power=16 dBm
Allowed channel: mode=0 chan=3 freq=2422 MHz max_tx_power=16 dBm
Allowed channel: mode=0 chan=4 freq=2427 MHz max_tx_power=16 dBm
Allowed channel: mode=0 chan=5 freq=2432 MHz max_tx_power=16 dBm
Allowed channel: mode=0 chan=6 freq=2437 MHz max_tx_power=16 dBm
Allowed channel: mode=0 chan=7 freq=2442 MHz max_tx_power=16 dBm
Allowed channel: mode=0 chan=8 freq=2447 MHz max_tx_power=16 dBm
Allowed channel: mode=0 chan=9 freq=2452 MHz max_tx_power=16 dBm
Allowed channel: mode=0 chan=10 freq=2457 MHz max_tx_power=16 dBm
Allowed channel: mode=0 chan=11 freq=2462 MHz max_tx_power=16 dBm
RATE[0] rate=10 flags=0x2
RATE[1] rate=20 flags=0x6
RATE[2] rate=55 flags=0x6
RATE[3] rate=110 flags=0x6
RATE[4] rate=60 flags=0x0
RATE[5] rate=90 flags=0x0
RATE[6] rate=120 flags=0x0
RATE[7] rate=180 flags=0x0
RATE[8] rate=240 flags=0x0
RATE[9] rate=360 flags=0x0
RATE[10] rate=480 flags=0x0
RATE[11] rate=540 flags=0x0
Passive scanning not supported
Mode: IEEE 802.11g Channel: 10 Frequency: 2457 MHz
Flushing old station entries
Deauthenticate all stations
Using interface wlan0 with hwaddr 00:b0:8c:01:c6:21 and ssid 'QoSGW'
SSID - hexdump_ascii(len=5):
51 6f 53 47 57 QoSGW
PSK (ASCII passphrase) - hexdump_ascii(len=10):
31 32 33 34 35 36 37 38 39 30 1234567890
PSK (from passphrase) - hexdump(len=32): ff 88 34 c9 a3 08 57 d8 5a a7 b1 f6 93
WPA: group state machine entering state GTK_INIT (VLAN-ID 0)
GMK - hexdump(len=32): [REMOVED]
GTK - hexdump(len=32): [REMOVED]
WPA: group state machine entering state SETKEYSDONE (VLAN-ID 0)
wlan0: Setup of interface done.
MGMT (TX callback) ACK

no kit de desenvolvimento o hostapd simplesmente para por ai, e não continua.

segue também o resultado do meu iwconfig

root@QoSGW:~# iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wlan0 IEEE 802.11bgn Mode:Master Frequency:2.457 GHz Tx-Power=16 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:on

mon.wlan0 IEEE 802.11bgn Mode:Monitor Frequency:2.457 GHz Tx-Power=16 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:on

Mas ainda não consigo encontrar o ponto de acesso na rede, alguem pode me ajudar?

Obrigado


  






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts