Looking for error message

sven falempin sven.falempin
Tue Aug 16 15:30:26 PDT 2011


Hello,

I currently try to use hostapd (0.7.3) with an ath9k driver card.
I have absolutely NO output from hostapd. It just leave.
When i put something like channel=60 it does log an error.
But any other (known good) configuration does not log error neither do
anything.
btw, CONFIG_NO_STDOUT_DEBUG=n, openssl statically linked
*I was able to connect to a wifi hotspot*

Why have i no feedback at all ?

Here's the gettimeofday and leave (strace hostapd):
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7823000
read(3, "# grr\ninterface=wlan0\nwpa=1\nwpa_"..., 4096) = 149
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb7823000, 4096)                = 0
gettimeofday({1313532734, 239087}, NULL) = 0
exit_group(1)                           = ?

Here's kernel version and hostapd version and iw list result
root at zhost sbin> uname -r
2.6.39.2
root at zvnhermes sbin> hostapd -v
hostapd v0.7.3
User space daemon for IEEE 802.11 AP management,
IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
Copyright (c) 2002-2010, Jouni Malinen <j at w1.fi> and contributors
root at zhost sbin> ldd hostapd
        linux-gate.so.1 =>  (0xb78a4000)
        libdl.so.2 => /lib/libdl.so.2 (0xb789c000)
        libnl.so.1 => /lib/libnl.so.1 (0xb7858000)
        libc.so.6 => /lib/libc.so.6 (0xb7719000)
        /lib/ld-linux.so.2 (0xb78a5000)
        libm.so.6 => /lib/libm.so.6 (0xb76f1000)
root at zhost sbin> ldd iw
        linux-gate.so.1 =>  (0xb78b6000)
        libnl.so.1 => /lib/libnl.so.1 (0xb786e000)
        libc.so.6 => /lib/libc.so.6 (0xb772f000)
        libm.so.6 => /lib/libm.so.6 (0xb7707000)
        /lib/ld-linux.so.2 (0xb78b7000)
root at zhost sbin>
root at zhost sbin> iw list
Wiphy phy0
        Band 1:[WELLLLL]
        Band 2:[BLABLA]
        max # scan SSIDs: 4
        max scan IEs length: 2257 bytes
        Coverage class: 0 (up to 0m)
        Available Antennas: TX 0 RX 0
        Supported interface modes:
                 * IBSS
                 * managed
                 * AP
                 * AP/VLAN
                 * WDS
                 * monitor
                 * P2P-client
                 * P2P-GO
        Supported commands:
                 * new_interface
                 * set_interface
                 * new_key
                 * new_beacon
                 * new_station
                 * set_bss
                 * authenticate
                 * associate
                 * deauthenticate
                 * disassociate
                 * join_ibss
                 * remain_on_channel
                 * set_tx_bitrate_mask
                 * action
                 * frame_wait_cancel
                 * set_wiphy_netns
                 * set_channel
                 * set_wds_peer
                 * connect
                 * disconnect
        Supported TX frame types:
                 * IBSS: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050 0x0060
0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
                 * managed: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050 0x0060
0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
                 * AP: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050 0x0060
0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
                 * AP/VLAN: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050 0x0060
0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
                 * mesh point: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050
0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
                 * P2P-client: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050
0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
                 * P2P-GO: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050 0x0060
0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
        Supported RX frame types:
                 * IBSS: 0x00d0
                 * managed: 0x0040 0x00d0
                 * AP: 0x0000 0x0020 0x0040 0x00a0 0x00b0 0x00c0 0x00d0
                 * AP/VLAN: 0x0000 0x0020 0x0040 0x00a0 0x00b0 0x00c0 0x00d0
                 * mesh point: 0x00d0
                 * P2P-client: 0x0040 0x00d0
                 * P2P-GO: 0x0000 0x0020 0x0040 0x00a0 0x00b0 0x00c0 0x00d0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20110817/4d56518a/attachment.htm 



More information about the Hostap mailing list