Hello, all!
I'm trying to setup a wifi AP on Debian as per this guide:
http://blog.mc-thias.org/?title=crea...&c=1&tb=1&pb=1 For me eth0 is the connected adapter with dhcp and wlan0 is the wireless interface.
All goes fine until I try to connect with one of my devices. It crashes at the IP address obtaining stage. hostapd with maximum logging (-dd) produces this output upon connection:
Code:
STA 04:0c:ce:ac:40:51 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
MGMT
mgmt::auth
authentication: STA=00:00:00:9e:75:81 auth_alg=0 auth_transaction=1 status_code=0 wep=0
New STA
wlan0: STA 00:00:00:9e:75:81 IEEE 802.11: authentication OK (open system)
wlan0: STA 00:00:00:9e:75:81 MLME: MLME-AUTHENTICATE.indication(00:00:00:9e:75:81, OPEN_SYSTEM)
wlan0: STA 00:00:00:9e:75:81 MLME: MLME-DELETEKEYS.request(00:00:00:9e:75:81)
authentication reply: STA=00:00:00:9e:75:81 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
MGMT (TX callback) ACK
mgmt::auth cb
wlan0: STA 00:00:00:9e:75:81 IEEE 802.11: authenticated
MGMT
mgmt::assoc_req
association request: STA=00:00:00:9e:75:81 capab_info=0x401 listen_interval=10
new AID 1
wlan0: STA 00:00:00:9e:75:81 IEEE 802.11: association OK (aid 1)
MGMT (TX callback) ACK
mgmt::assoc_resp cb
wlan0: STA 00:00:00:9e:75:81 IEEE 802.11: associated (aid 1)
wlan0: STA 00:00:00:9e:75:81 MLME: MLME-ASSOCIATE.indication(00:00:00:9e:75:81)
wlan0: STA 00:00:00:9e:75:81 MLME: MLME-DELETEKEYS.request(00:00:00:9e:75:81)
wlan0: STA 00:00:00:9e:75:81 RADIUS: starting accounting session 4EA1DEC8-00000000
MGMT
mgmt::deauth
deauthentication: STA=00:00:00:9e:75:81 reason_code=3
wlan0: STA 00:00:00:9e:75:81 IEEE 802.11: deauthenticated
wlan0: STA 00:00:00:9e:75:81 MLME: MLME-DEAUTHENTICATE.indication(00:00:00:9e:75:81, 3)
wlan0: STA 00:00:00:9e:75:81 MLME: MLME-DELETEKEYS.request(00:00:00:9e:75:81)
Here is my configuration:
hostapd config:
Code:
interface=wlan0
driver=nl80211
ssid=diss
auth_algs=1
channel=1
hw_mode=g
Shorewall config:
interfaces:
Code:
net eth0 detect dhcp,tcpflags,nosmurfs,routefilter,logmartians
loc wlan0 detect tcpflags,nosmurfs,routefilter,logmartians
routestopped:
masq:
Thank you for any help. Also, if there are alternative approaches, let me know.