No SSID after switching to AP mode

Igor Gueths igueths
Tue Oct 20 20:31:55 PDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi all. I recently attempted to use Hostap, along with the Ath5k driver to put
my AR5212-based card into AP mode, after having used Madwifi for quite some
time. However, I am running into a rather interesting problem. After Hostap puts
my device into Master mode, and I run Iwconfig wlan0, there appears to be no
SSID set, even though I have one specified in Hostap.conf. Here is output from
both Hostap and Iwconfig:
Configuration file: /etc/hostap.conf
Using interface wlan0 with hwaddr 00:15:6d:54:1f:db and ssid 'bla123'

At this point, I know I should have an SSID of bla123 set, but this is not so:
wlan0     IEEE 802.11abg  Mode:Master  Frequency:2.417 GHz  Tx-Power=20 dBm
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:C454-E1BA-C142-215F-5CE4-3FA0-8BE6-99CC [3]
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

I thought that possibly the SSID could be getting sent regardless of what
Iwconfig output in the beacon frames; however, none of the other wireless
clients I have access to here (second laptop, IPhone, etc) could find my
access point. Does anyone have any pointers as to where I should look, to
attempt to figure out why no SSID is being set as part of the initialization
process? Hostap itself manages to notice that an SSID is present though:

PSK (ASCII passphrase) - hexdump_ascii(len=8):
     74 65 73 74 69 6e 67 61                           testinga
PSK (from passphrase) - hexdump(len=32): 6b ce 37 2a 3a 7b 4d d1 ad 49 19 37 74
ce c4 3e a4 0c 20 81 89 c6 ca a8 e9 60 24 cd c3 97 2b 45
WPA: group state machine entering state GTK_INIT (VLAN-ID 0)
GMK - hexdump(len=32): [REMOVED]
GTK - hexdump(len=16): [REMOVED]
WPA: group state machine entering state SETKEYSDONE (VLAN-ID 0)
nl_set_encr: ifindex=40 alg=3 addr=(nil) key_idx=1 set_tx=1 seq_len=0
key_len=16nl80211: Set beacon (beacon_set=0)
wlan0: Setup of interface done.
MGMT (TX callback) ACK
MGMT (TX callback) ACK
mgmt::proberesp cb
MGMT (TX callback) ACK
mgmt::proberesp cb

Here is my hostap.conf:
interface=wlan0
driver=nl80211
ssid=bla123
hw_mode=g
channel=2
logger_syslog=0
logger_syslog_level=0
logger_stdout=1
wpa=2
wpa_passphrase=testpassword
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
wpa_group_rekey=600

I am using a 2.6.31.4 kernel, LibNL-2.0 from GGit, and Hostap pulled up to
commit 08d38568df4b5c36997c5b2615064979fb89b16f. Thanks!
- -- 
Igor
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iQIVAwUBSt6Aq6e2pgKIdGq4AQqjfA//cCePhOrN7Zl9Xd9gftTwlOTyzaYrlKE7
9Kiaic7XUN+Tf+ysqoH7SSTlNQKfQPTt9VfN7PjOcvDM5yfV6RXMED04Vmc9k9kT
9gWKVReb29LSPhdAJ+suX0PQtNNWfmTeKIUCnzCr6VoOdNSmNHn8iftF/zmTk6Ym
ufcv5GPDWcEwYVlS/SxZcuUSOOh57AhTGM8Liz069MZLDVVgM6v14T4jtbuwFEYr
fhGsnO8pxd911yTgi2czCBcavsokQ35Oc/55XakYSToJ4czqb+eewj8viQoyWZXk
pDS2aFKL6fRm/1Ecji2oRN21Yt7cBI5yPdo80YPmvSB4QIVFr2NbpJk0hTH4oABJ
D3gcsSc2v81GgMvBYflxxqfwJGeIitk19nMgEVr0PpqYsKq4JRVBDJZ+X7hoXzI5
r3IRHP2Osfd9dVFxJnkk9oG65NqW52W13w4oaLPaRdT5hImD3QCQi55bicKj2wYf
Fmtjit+DY1of5k4IW3glN68rH8AbfSsnZrgy27pAbJC+i/zpN+/s+ZWPBJhE4N6w
n2hprzYphlOYlDHWEIKe9WNyCvyXxJ4CzgHGzUsywswt+ImArpd7CrODZWwqeYlL
i+3fRnaUhNytD3i3lrsNK8BABQqmXa/FXjSlDqjsNKHch7spYJQ0ug3X+hg3usT9
RHJMIjhhQNM=
=zFy5
-----END PGP SIGNATURE-----

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the Hostap mailing list