<html><div style='background-color:'><DIV class=RTE>
<P><BR>Hello,<BR> I am a newbie to this group and hostapd as well. I am using hostapd -0.4.8. <BR> The AP is working, but I can't start "hostapd". Any help will be appreciated.</P>
<P>Kernel version:<BR>wlan[0,0]-> 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]-> 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]-> 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]-> ifconfig<BR>====================</P>
<P>ath0 Link encap:Ethernet HWaddr 00:03:7F:BF:03:6A<BR> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<BR> RX packets:0 errors:0 dropped:0 overruns:0 frame:0<BR> TX packets:126 errors:0 dropped:15 overruns:0 carrier:0<BR> collisions:0 txqueuelen:0<BR> RX bytes:0 (0.0 B) TX bytes:13367 (13.0 KiB)</P>
<P>ath1 Link encap:Ethernet HWaddr 00:03:7F:BF:03:6B<BR> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<BR> RX packets:50 errors:0 dropped:0 overruns:0 frame:0<BR> TX packets:130 errors:0 dropped:15 overruns:0 carrier:0<BR> collisions:0 txqueuelen:0<BR> RX bytes:3052 (2.9 KiB) TX bytes:14455 (14.1 KiB)</P>
<P>br0 Link encap:Ethernet HWaddr 00:03:7F:BF:03:6A<BR> inet addr:192.168.15.121 Bcast:192.168.15.255 Mask:255.255.255.0<BR> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<BR> RX packets:194 errors:0 dropped:0 overruns:0 frame:0<BR> TX packets:36 errors:0 dropped:0 overruns:0 carrier:0<BR> collisions:0 txqueuelen:0<BR> RX bytes:25028 (24.4 KiB) TX bytes:1787 (1.7 KiB)</P>
<P>eth0 Link encap:Ethernet HWaddr 34:12:78:56:12:34<BR> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<BR> RX packets:249 errors:0 dropped:0 overruns:0 frame:0<BR> TX packets:51 errors:0 dropped:0 overruns:0 carrier:0<BR> collisions:0 txqueuelen:1000<BR> RX bytes:45878 (44.8 KiB) TX bytes:0 (0.0 B)</P>
<P>wifi0 Link encap:Ethernet HWaddr 00:03:7F:BF:03:6A<BR> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<BR> RX packets:61 errors:0 dropped:0 overruns:0 frame:0<BR> TX packets:190 errors:0 dropped:0 overruns:0 carrier:0<BR> collisions:0 txqueuelen:199<BR> RX bytes:2704 (2.6 KiB) TX bytes:22267 (21.7 KiB)<BR> Interrupt:2 Memory:b8000000-b80ffffc</P>
<P>wifi1 Link encap:Ethernet HWaddr 00:03:7F:BF:03:6B<BR> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<BR> RX packets:620 errors:0 dropped:0 overruns:0 frame:2326<BR> TX packets:260 errors:27 dropped:0 overruns:0 carrier:0<BR> collisions:0 txqueuelen:199<BR> RX bytes:40479 (39.5 KiB) TX bytes:30167 (29.4 KiB)<BR> Interrupt:5 Memory:b8500000-b85ffffc</P>
<P>wlan[0,0]-> iwconfig<BR>=====================</P>
<P>eth0 no wireless extensions.</P>
<P>wifi0 no wireless extensions.</P>
<P>wifi1 no wireless extensions.</P>
<P>br0 no wireless extensions.</P>
<P>ath0 IEEE 802.11a ESSID:"Atheros Wireless Network"<BR> Mode:Master Frequency:5.18GHz Access Point: 00:03:7F:BF:03:6A<BR> Bit Rate:0kb/s Tx-Power:17 dBm Sensitivity=0/3<BR> Retry:off RTS thr:off Fragment thr:off<BR> Encryption key:off<BR> Power Management:off<BR> Link Quality:0/94 Signal level:-95 dBm Noise level:-95 dBm<BR> Rx invalid nwid:18 Rx invalid crypt:0 Rx invalid
frag:0<BR> Tx excessive retries:0 Invalid misc:0 Missed beacon:0</P>
<P>ath1 IEEE 802.11g ESSID:"Atheros Wireless Network"<BR> Mode:Master Frequency:2.412GHz Access Point: 00:03:7F:BF:03:6B<BR> Bit Rate:0kb/s Tx-Power:20 dBm Sensitivity=0/3<BR> Retry:off RTS thr:off Fragment thr:off<BR> Encryption key:off<BR> Power Management:off<BR> Link Quality:33/94 Signal level:-62 dBm Noise level:-95 dBm<BR> Rx invalid nwid:272 Rx invalid crypt:0 Rx invalid
frag:0<BR> Tx excessive retries:0 Invalid misc:0 Missed beacon:0</P>
<P>Any help will be great!</P>
<P>Best Regards,</P>
<P>Fatima</P>
<P><BR><BR> </P></DIV></div></html>