Is hostapd really necessary?

doug held doug at douglasheld.net
Fri May 9 12:26:05 EDT 2003


Thank you for your help.

I took a clean version of hostap-0.0.2 and changed the following in driver/modules/hostap_config.h :

FROM:

/* define PRISM2_HOSTAPD to use user space daemon to handle management frames;
 */
/* #define PRISM2_HOSTAPD */

/* Allow kernel configuration to enable hostapd support. */
#if !defined(PRISM2_HOSTAPD) && defined(CONFIG_HOSTAP_HOSTAPD)
#define PRISM2_HOSTAPD
#endif


TO:

/* define PRISM2_HOSTAPD to use user space daemon to handle management frames;
 */
#define PRISM2_HOSTAPD

/* Allow kernel configuration to enable hostapd support. */
#if !defined(PRISM2_HOSTAPD) && defined(CONFIG_HOSTAP_HOSTAPD)
#define PRISM2_HOSTAPD
#endif


and now I get symbol errors.  malloc?  These look like very average symbols, and /usr/src/linux does indeed soft link to linux-2.4.20-8.


root at router hostap-0.0.2]# make install_plx
Installing hostap_crypt*.o to /lib/modules/2.4.20-8/net
mkdir -p /lib/modules/2.4.20-8/net
cp -f driver/modules/hostap_crypt*.o /lib/modules/2.4.20-8/net
Installing hostap.o to /lib/modules/2.4.20-8/net
mkdir -p /lib/modules/2.4.20-8/net
cp -f driver/modules/hostap.o /lib/modules/2.4.20-8/net
Installing hostap_plx.o to /lib/modules/2.4.20-8/net
mkdir -p /lib/modules/2.4.20-8/net
cp -f driver/modules/hostap_plx.o /lib/modules/2.4.20-8/net
/sbin/depmod -ae
depmod: *** Unresolved symbols in /lib/modules/2.4.20-8/net/hostapd.o
depmod:         malloc
depmod:         hostapd_flush
depmod:         hostapd_acl_init
depmod:         iapp_new_station
depmod:         hostapd_set_iface_flags
depmod:         iapp_init
depmod:         putchar
depmod:         time
depmod:         __strdup
depmod:         hostapd_get_rand
depmod:         snprintf
depmod:         ctime
depmod:         perror
depmod:         free
depmod:         hostapd_set_encryption
depmod:         eloop_destroy
depmod:         ieee802_1x_init
depmod:         hostapd_hexdump
depmod:         vsyslog
depmod:         ieee802_1x_deinit
depmod:         eloop_init
depmod:         accounting_deinit
depmod:         iapp_deinit
depmod:         close
depmod:         exit
depmod:         fopen
depmod:         ieee802_1x_new_station
depmod:         hostap_ioctl_setiwessid
depmod:         optind
depmod:         hostapd_acl_deinit
depmod:         stderr
depmod:         stdout
depmod:         accounting_init
depmod:         accounting_sta_start
depmod:         hostapd_config_read
depmod:         fprintf
depmod:         eloop_register_timeout
depmod:         eloop_register_signal
depmod:         eloop_terminate
depmod:         openlog
depmod:         ieee802_11_send_deauth
depmod:         puts
depmod:         hostapd_init_sockets
depmod:         fclose
depmod:         printf
depmod:         ieee802_1x_dump_state
depmod:         eloop_run
depmod:         getopt
depmod:         fwrite
depmod:         daemon
depmod:         hostapd_free_stas
depmod:         hostapd_config_free
depmod:         closelog
depmod:         vfprintf


This at least seems like a more straightforward problem to solve...

--Doug





At 08:34 AM 5/9/2003, you wrote:


>>>In any case, hostapd does not work with my configuration.
>
>>>hostapd tells me:
>        ioctl(SIOCGIFINDEX): No such device
>        ioctl[SIOCGIFFLAGS]: No such device
>
>For in the hostap_config.h define you need to define the 
>   
>#define PRISM2_HOSTAPD 
>
>and then compile 'n install 
>
>this will make your hostapd work !
>
>
>Cheers,
>Manjunathan PY




More information about the HostAP mailing list