<html><div style='background-color:'><DIV class=RTE>
<P><BR>Hello,<BR>&nbsp;&nbsp; I am a newbie to this group and hostapd as well. I am using hostapd -0.4.8. <BR>&nbsp;&nbsp; The AP is working, but I can't start "hostapd". Any help will be appreciated.</P>
<P>Kernel version:<BR>wlan[0,0]-&gt; uname -r<BR>2.4.25-LSDK-5.0.0-RC5</P>
<P>When I use interface=wlan0 in hostapd.conf, I get the following error message:<BR>=============================================================================</P>
<P>wlan[0,0]-&gt; hostapd -d /etc/hostapd.conf </P>
<P>hostapd: Call register_drivers().<BR>Configuration file: /etc/hostapd.conf<BR>hostapd: hostapd_init.<BR>hostapd: driver_lookup.<BR>hostapd: Call hostapd_setup_interface().<BR>hostapd_setup_interface: call hostapd_driver_init() name hostap.<BR>ioctl[PRISM2_IOCTL_PRISM2_PARAM]: No such device<BR>Could not enable hostapd mode for interface wlan0<BR>hostap driver initialization failed.<BR>hostapd: hostapd_setup_interface() Fail!.<BR>rmdir[ctrl_interface]: No such file or directory<BR>hostapd: driver_unregister_all.</P>
<P>When I use interface=ath1 in hostapd.conf, I get the following error message:<BR>=============================================================================</P>
<P>wlan[0,0]-&gt; hostapd -d /etc/hostapd.conf</P>
<P>hostapd: Call register_drivers().<BR>Configuration file: /etc/hostapd.conf<BR>hostapd: hostapd_init.<BR>hostapd: driver_lookup.<BR>hostapd: Call hostapd_setup_interface().<BR>hostapd_setup_interface: call hostapd_driver_init() name hostap.<BR>ioctl(SIOCGIFINDEX): No such device<BR>hostap driver initialization failed.</P>
<P><BR>Following is my hostapd.conf file relevant contents:<BR>====================================================</P>
<P>===================================================<BR>#TODO: wlan0 fails in icotl() calls. change it <BR>#interface=wlan0<BR>interface=ath1<BR>bridge=br0</P>
<P>driver=hostap</P>
<P>logger_syslog=-1<BR>logger_syslog_level=2<BR>logger_stdout=-1<BR>logger_stdout_level=2</P>
<P>debug=0</P>
<P>dump_file=/tmp/hostapd.dump</P>
<P>ctrl_interface=/var/run/hostapd</P>
<P>ctrl_interface_group=0</P>
<P>ssid=test</P>
<P>macaddr_acl=0<BR>auth_algs=1</P>
<P>own_ip_addr=192.168.15.121</P>
<P>wpa=1<BR>wpa_passphrase=whatchamacallit<BR>wpa_key_mgmt=WPA-PSK</P>
<P>===================================================</P>
<P>wlan[0,0]-&gt; ifconfig<BR>====================</P>
<P>ath0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Link encap:Ethernet&nbsp; HWaddr 00:03:7F:BF:03:6A<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UP BROADCAST RUNNING MULTICAST&nbsp; MTU:1500&nbsp; Metric:1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RX packets:0 errors:0 dropped:0 overruns:0 frame:0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TX packets:126 errors:0 dropped:15 overruns:0 carrier:0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; collisions:0 txqueuelen:0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RX bytes:0 (0.0 B)&nbsp; TX bytes:13367 (13.0 KiB)</P>
<P>ath1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Link encap:Ethernet&nbsp; HWaddr 00:03:7F:BF:03:6B<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UP BROADCAST RUNNING MULTICAST&nbsp; MTU:1500&nbsp; Metric:1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RX packets:50 errors:0 dropped:0 overruns:0 frame:0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TX packets:130 errors:0 dropped:15 overruns:0 carrier:0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; collisions:0 txqueuelen:0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RX bytes:3052 (2.9 KiB)&nbsp; TX bytes:14455 (14.1 KiB)</P>
<P>br0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Link encap:Ethernet&nbsp; HWaddr 00:03:7F:BF:03:6A<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; inet addr:192.168.15.121&nbsp; Bcast:192.168.15.255&nbsp; Mask:255.255.255.0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UP BROADCAST RUNNING MULTICAST&nbsp; MTU:1500&nbsp; Metric:1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RX packets:194 errors:0 dropped:0 overruns:0 frame:0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TX packets:36 errors:0 dropped:0 overruns:0 carrier:0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; collisions:0 txqueuelen:0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RX bytes:25028 (24.4 KiB)&nbsp; TX bytes:1787 (1.7 KiB)</P>
<P>eth0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Link encap:Ethernet&nbsp; HWaddr 34:12:78:56:12:34<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UP BROADCAST RUNNING MULTICAST&nbsp; MTU:1500&nbsp; Metric:1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RX packets:249 errors:0 dropped:0 overruns:0 frame:0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TX packets:51 errors:0 dropped:0 overruns:0 carrier:0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; collisions:0 txqueuelen:1000<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RX bytes:45878 (44.8 KiB)&nbsp; TX bytes:0 (0.0 B)</P>
<P>wifi0&nbsp;&nbsp;&nbsp;&nbsp; Link encap:Ethernet&nbsp; HWaddr 00:03:7F:BF:03:6A<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UP BROADCAST RUNNING MULTICAST&nbsp; MTU:1500&nbsp; Metric:1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RX packets:61 errors:0 dropped:0 overruns:0 frame:0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TX packets:190 errors:0 dropped:0 overruns:0 carrier:0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; collisions:0 txqueuelen:199<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RX bytes:2704 (2.6 KiB)&nbsp; TX bytes:22267 (21.7 KiB)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Interrupt:2 Memory:b8000000-b80ffffc</P>
<P>wifi1&nbsp;&nbsp;&nbsp;&nbsp; Link encap:Ethernet&nbsp; HWaddr 00:03:7F:BF:03:6B<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UP BROADCAST RUNNING MULTICAST&nbsp; MTU:1500&nbsp; Metric:1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RX packets:620 errors:0 dropped:0 overruns:0 frame:2326<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TX packets:260 errors:27 dropped:0 overruns:0 carrier:0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; collisions:0 txqueuelen:199<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RX bytes:40479 (39.5 KiB)&nbsp; TX bytes:30167 (29.4 KiB)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Interrupt:5 Memory:b8500000-b85ffffc</P>
<P>wlan[0,0]-&gt; iwconfig<BR>=====================</P>
<P>eth0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; no wireless extensions.</P>
<P>wifi0&nbsp;&nbsp;&nbsp;&nbsp; no wireless extensions.</P>
<P>wifi1&nbsp;&nbsp;&nbsp;&nbsp; no wireless extensions.</P>
<P>br0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; no wireless extensions.</P>
<P>ath0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IEEE 802.11a&nbsp; ESSID:"Atheros Wireless Network"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Mode:Master&nbsp; Frequency:5.18GHz&nbsp; Access Point: 00:03:7F:BF:03:6A<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Bit Rate:0kb/s&nbsp;&nbsp; Tx-Power:17 dBm&nbsp;&nbsp; Sensitivity=0/3<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Retry:off&nbsp;&nbsp; RTS thr:off&nbsp;&nbsp; Fragment thr:off<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Encryption key:off<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Power Management:off<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Link Quality:0/94&nbsp; Signal level:-95 dBm&nbsp; Noise level:-95 dBm<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Rx invalid nwid:18&nbsp; Rx invalid crypt:0&nbsp; Rx invalid 
frag:0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Tx excessive retries:0&nbsp; Invalid misc:0&nbsp;&nbsp; Missed beacon:0</P>
<P>ath1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IEEE 802.11g&nbsp; ESSID:"Atheros Wireless Network"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Mode:Master&nbsp; Frequency:2.412GHz&nbsp; Access Point: 00:03:7F:BF:03:6B<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Bit Rate:0kb/s&nbsp;&nbsp; Tx-Power:20 dBm&nbsp;&nbsp; Sensitivity=0/3<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Retry:off&nbsp;&nbsp; RTS thr:off&nbsp;&nbsp; Fragment thr:off<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Encryption key:off<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Power Management:off<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Link Quality:33/94&nbsp; Signal level:-62 dBm&nbsp; Noise level:-95 dBm<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Rx invalid nwid:272&nbsp; Rx invalid crypt:0&nbsp; Rx invalid 
frag:0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Tx excessive retries:0&nbsp; Invalid misc:0&nbsp;&nbsp; Missed beacon:0</P>
<P>Any help will be great!</P>
<P>Best Regards,</P>
<P>Fatima</P>
<P><BR><BR>&nbsp;</P></DIV></div></html>