hostapd 0.4.9 with 2.6.17 kernel

Sun Kim ulovecutesun at gmail.com
Wed Jul 19 18:01:20 EDT 2006


Hello,
I've installed hostapd 0.4.9 with 2.6.17 kernel.
When I run hostapd with the following config, i got an error (below the
config).  It seems like not working in my machine if I set enable ieee
802.1x or wpa. Since I tested with simple.conf (no 802.1x and wpa), at least
it didn't show any error.
Any idea?

Many thanks in advance.

I list below used config files ( hostapd.config and simple.config) and some
specs ( uname,  ifconfig, and iwconfig).


[root at localhost Desktop]# cat hostapd.conf | grep ^[a-zA-Z]
interface=wlan0
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
debug=0
dump_file=/tmp/hostapd.dump
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
ssid=test
macaddr_acl=0
auth_algs=3
eapol_key_index_workaround=0
eap_server=0
own_ip_addr=127.0.0.1
wpa=1
wpa_psk=0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
wpa_passphrase=secret passphrase
wpa_key_mgmt=WPA-PSK WPA-EAP
wpa_pairwise=TKIP CCMP

[root at localhost Desktop]# hostapd -Bdd hostapd.conf
Configuration file: hostapd.conf
Opening raw packet socket for ifindex 6
Using interface wlan0 with hwaddr 00:02:2d:00:24:44 and ssid 'test'
Warning: both WPA PSK and passphrase set. Using passphrase.
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Invalid argument
Could not setup host-based encryption in kernel driver.
IEEE 802.1X initialization failed.
rmdir[ctrl_interface]: No such file or directory
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Invalid argument
Could not disable PrivacyInvoked for interface wlan0
-------------------------------------------------------------------------------------------------------------------------

[root at localhost Desktop]# cat simple.conf | grep ^[a-zA-Z]
interface=wlan0
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
debug=0
dump_file=/tmp/hostapd.dump
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
ssid=test
macaddr_acl=0
auth_algs=3
eapol_key_index_workaround=0
own_ip_addr=127.0.0.1
wpa_pairwise=TKIP CCMP
--------------------------------------------------------------------------------------------------------------------

[root at localhost Desktop]# cat simple.conf | grep ^[a-zA-Z]
interface=wlan0
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
debug=0
dump_file=/tmp/hostapd.dump
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
ssid=test
macaddr_acl=0
auth_algs=3
eapol_key_index_workaround=0
own_ip_addr=127.0.0.1
[root at localhost Desktop]# hostapd -Bdd hostapd.conf
Configuration file: hostapd.conf
Opening raw packet socket for ifindex 7
Using interface wlan0 with hwaddr 00:02:2d:00:24:44 and ssid 'test'
Flushing old station entries
Deauthenticate all stations
------------------------------------------------------------------------------------------------------------------------
Here is my specs:

[root at localhost Desktop]# uname -a
Linux localhost.localdomain 2.6.17-1.2142_FC4 #1 Tue Jul 11 22:41:14 EDT
2006 i686 i686 i386 GNU/Linux

[root at localhost Desktop]# /sbin/lsmod | grep host
hostap_cs              67073  1
hostap                119369  1 hostap_cs
ieee80211_crypt         7105  1 hostap
[root at localhost Desktop]# /sbin/ifconfig
dev11664  Link encap:UNSPEC  HWaddr
00-02-2D-00-24-44-F8-71-00-00-00-00-00-00-00-00
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:312 (312.0 b)
          Interrupt:3 Base address:0x100

eth0      Link encap:Ethernet  HWaddr 00:03:47:0F:63:B0
          inet addr:192.168.1.104  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::203:47ff:fe0f:63b0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:731 errors:0 dropped:0 overruns:0 frame:0
          TX packets:704 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:364407 (355.8 KiB)  TX bytes:201098 (196.3 KiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1728 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1728 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2012178 (1.9 MiB)  TX bytes:2012178 (1.9 MiB)

wlan0     Link encap:Ethernet  HWaddr 00:02:2D:00:24:44
          inet6 addr: fe80::202:2dff:fe00:2444/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:312 (312.0 b)
          Interrupt:3 Base address:0x100

[root at localhost Desktop]# /sbin/iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

sit0      no wireless extensions.

Warning: Driver for device dev11664 has been compiled with version 20
of Wireless Extension, while this program supports up to version 19.
Some things may be broken...

dev11664  IEEE 802.11b  ESSID:"test"
          Mode:Master  Frequency:2.422 GHz  Access Point: 02:02:2D:00:24:44
          Bit Rate:11 Mb/s   Sensitivity=1/3
          Retry limit:4   RTS thr:off
          Encryption key:off
          Power Management:off

wlan0     IEEE 802.11b  ESSID:"test"
          Mode:Master  Frequency:2.422 GHz  Access Point: 02:02:2D:00:24:44
          Bit Rate:11 Mb/s   Sensitivity=1/3
          Retry limit:4   RTS thr:off
          Encryption key:off
          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


-- 
Thanks,
Sun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20060719/80da628c/attachment.htm 


More information about the HostAP mailing list