Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11th May 2007, 12:41 PM
xula_1983 Offline
Registered User
 
Join Date: May 2007
Posts: 14
Arrow problem ?: Hostapd + madwifi-0.9.3 on Fedora core 6 ????????

hello all,
i installed madwifi-0.9.3 on Fedora core 6 and i connected to internet. when i make (compile) hostapd-0.5.7, it show many error:
[root@localhost hostapd-0.5.7]# make
driver_madwifi.c:21:28: warning: include/compat.h: No such file or directory
driver_madwifi.c:22:32: warning: net80211/ieee80211.h: No such file or directory
driver_madwifi.c:28:39: warning: net80211/ieee80211_crypto.h: No such file or directory
driver_madwifi.c:29:38: warning: net80211/ieee80211_ioctl.h: No such file or directory
driver_madwifi.c: In function ‘set80211priv’:
driver_madwifi.c:136: error: ‘IEEE80211_IOCTL_SETPARAM’ undeclared (first use in this function)
driver_madwifi.c:136: error: (Each undeclared identifier is reported only once
driver_madwifi.c:136: error: for each function it appears in.)
driver_madwifi.c:137: error: ‘IEEE80211_IOCTL_CHANLIST’ undeclared (first use in this function)
driver_madwifi.c: In function ‘set80211param’:
driver_madwifi.c:182: error: ‘IEEE80211_IOCTL_SETPARAM’ undeclared (first use in this function)
driver_madwifi.c: In function ‘madwifi_configure_wpa’:
driver_madwifi.c:215: error: ‘IEEE80211_CIPHER_AES_CCM’ undeclared (first use in this function)
driver_madwifi.c:218: error: ‘IEEE80211_CIPHER_TKIP’ undeclared (first use in this function)
driver_madwifi.c:221: error: ‘IEEE80211_CIPHER_WEP’ undeclared (first use in this function)
driver_madwifi.c:227: error: ‘IEEE80211_CIPHER_NONE’ undeclared (first use in this function)
driver_madwifi.c:236: error: ‘IEEE80211_PARAM_MCASTCIPHER’ undeclared (first use in this function)
driver_madwifi.c:243: error: ‘IEEE80211_PARAM_MCASTKEYLEN’ undeclared (first use in this function)
driver_madwifi.c:258: error: ‘IEEE80211_PARAM_UCASTCIPHERS’ undeclared (first use in this function)
driver_madwifi.c:266: error: ‘IEEE80211_PARAM_KEYMGTALGS’ undeclared (first use in this function)
driver_madwifi.c:277: error: ‘IEEE80211_PARAM_RSNCAPS’ undeclared (first use in this function)
driver_madwifi.c:284: error: ‘IEEE80211_PARAM_WPA’ undeclared (first use in this function)
driver_madwifi.c: In function ‘madwifi_set_ieee8021x’:
driver_madwifi.c:347: error: ‘IEEE80211_PARAM_AUTHMODE’ undeclared (first use in this function)
driver_madwifi.c:348: error: ‘IEEE80211_AUTH_AUTO’ undeclared (first use in this function)
driver_madwifi.c:361: error: ‘IEEE80211_AUTH_WPA’ undeclared (first use in this function)
driver_madwifi.c:361: error: ‘IEEE80211_AUTH_8021X’ undeclared (first use in this function)
driver_madwifi.c: In function ‘madwifi_set_privacy’:
driver_madwifi.c:379: error: ‘IEEE80211_PARAM_PRIVACY’ undeclared (first use in this function)
driver_madwifi.c: In function ‘madwifi_set_sta_authorized’:
driver_madwifi.c:387: error: storage size of ‘mlme’ isn’t known
driver_madwifi.c:395: error: ‘IEEE80211_MLME_AUTHORIZE’ undeclared (first use in this function)
driver_madwifi.c:397: error: ‘IEEE80211_MLME_UNAUTHORIZE’ undeclared (first use in this function)
driver_madwifi.c:399: error: ‘IEEE80211_ADDR_LEN’ undeclared (first use in this function)
driver_madwifi.c:400: error: ‘IEEE80211_IOCTL_SETMLME’ undeclared (first use in this function)
driver_madwifi.c:387: warning: unused variable ‘mlme’
driver_madwifi.c: In function ‘madwifi_del_key’:
driver_madwifi.c:426: error: storage size of ‘wk’ isn’t known
driver_madwifi.c:435: error: ‘IEEE80211_ADDR_LEN’ undeclared (first use in this function)
driver_madwifi.c:436: error: ‘IEEE80211_KEYIX_NONE’ undeclared (first use in this function)
driver_madwifi.c:441: error: ‘IEEE80211_IOCTL_DELKEY’ undeclared (first use in this function)
driver_madwifi.c:426: warning: unused variable ‘wk’
driver_madwifi.c: In function ‘madwifi_set_key’:
driver_madwifi.c:457: error: storage size of ‘wk’ isn’t known
driver_madwifi.c:469: error: ‘IEEE80211_CIPHER_WEP’ undeclared (first use in this function)
driver_madwifi.c:471: error: ‘IEEE80211_CIPHER_TKIP’ undeclared (first use in this function)
driver_madwifi.c:473: error: ‘IEEE80211_CIPHER_AES_CCM’ undeclared (first use in this function)
driver_madwifi.c:488: error: ‘IEEE80211_KEY_RECV’ undeclared (first use in this function)
driver_madwifi.c:488: error: ‘IEEE80211_KEY_XMIT’ undeclared (first use in this function)
driver_madwifi.c:490: error: ‘IEEE80211_ADDR_LEN’ undeclared (first use in this function)
driver_madwifi.c:492: error: ‘IEEE80211_KEY_DEFAULT’ undeclared (first use in this function)
driver_madwifi.c:495: error: ‘IEEE80211_KEYIX_NONE’ undeclared (first use in this function)
driver_madwifi.c:500: error: ‘IEEE80211_IOCTL_SETKEY’ undeclared (first use in this function)
driver_madwifi.c:457: warning: unused variable ‘wk’
driver_madwifi.c: In function ‘madwifi_get_seqnum’:
driver_madwifi.c:518: error: storage size of ‘wk’ isn’t known
driver_madwifi.c:525: error: ‘IEEE80211_ADDR_LEN’ undeclared (first use in this function)
driver_madwifi.c:530: error: ‘IEEE80211_IOCTL_GETKEY’ undeclared (first use in this function)
driver_madwifi.c:518: warning: unused variable ‘wk’
driver_madwifi.c: In function ‘madwifi_sta_deauth’:
driver_madwifi.c:697: error: storage size of ‘mlme’ isn’t known
driver_madwifi.c:704: error: ‘IEEE80211_MLME_DEAUTH’ undeclared (first use in this function)
driver_madwifi.c:706: error: ‘IEEE80211_ADDR_LEN’ undeclared (first use in this function)
driver_madwifi.c:707: error: ‘IEEE80211_IOCTL_SETMLME’ undeclared (first use in this function)
driver_madwifi.c:697: warning: unused variable ‘mlme’
driver_madwifi.c: In function ‘madwifi_sta_disassoc’:
driver_madwifi.c:722: error: storage size of ‘mlme’ isn’t known
driver_madwifi.c:729: error: ‘IEEE80211_MLME_DISASSOC’ undeclared (first use in this function)
driver_madwifi.c:731: error: ‘IEEE80211_ADDR_LEN’ undeclared (first use in this function)
driver_madwifi.c:732: error: ‘IEEE80211_IOCTL_SETMLME’ undeclared (first use in this function)
driver_madwifi.c:722: warning: unused variable ‘mlme’
driver_madwifi.c: At top level:
driver_madwifi.c:743: error: ‘IEEE80211_ADDR_LEN’ undeclared here (not in a function)
driver_madwifi.c: In function ‘madwifi_process_wpa_ie’:
driver_madwifi.c:766: error: storage size of ‘ie’ isn’t known
driver_madwifi.c:774: error: ‘IEEE80211_ADDR_LEN’ undeclared (first use in this function)
driver_madwifi.c:775: error: ‘IEEE80211_IOCTL_GETWPAIE’ undeclared (first use in this function)
driver_madwifi.c:766: warning: unused variable ‘ie’
driver_madwifi.c: At top level:
driver_madwifi.c:811: error: ‘IEEE80211_ADDR_LEN’ undeclared here (not in a function)
driver_madwifi.c: In function ‘madwifi_wireless_event_wireless’:
driver_madwifi.c:942: error: type of formal parameter 2 is incomplete
driver_madwifi.c:945: error: type of formal parameter 2 is incomplete
driver_madwifi.c: In function ‘madwifi_set_countermeasures’:
driver_madwifi.c:1340: error: ‘IEEE80211_PARAM_COUNTERMEASURES’ undeclared (first use in this function)
make: *** [driver_madwifi.o] Error 1

----------------------------(end error)----------------
-------------------------------------------------------------------------------------------------------------------------------
in file .config

# Example hostapd build time configuration
#
# This file lists the configuration options that are used when building the
# hostapd binary. All lines starting with # are ignored. Configuration option
# lines must be commented out complete, if they are not to be included, i.e.,
# just setting VARIABLE=n is not disabling that variable.
#
# This file is included in Makefile, so variables like CFLAGS and LIBS can also
# be modified from here. In most cass, these lines should use += in order not
# to override previous values of the variables.

# Driver interface for Host AP driver
CONFIG_DRIVER_HOSTAP=y

# Driver interface for wired authenticator
#CONFIG_DRIVER_WIRED=y

# Driver interface for madwifi driver
CONFIG_DRIVER_MADWIFI=y
CFLAGS += -I../head # change to reflect local setup; directory for madwifi src

# Driver interface for Prism54 driver
CONFIG_DRIVER_PRISM54=y
----------------------(end file .config)----------------------
Please help me!
Thanks
Reply With Quote
  #2  
Old 14th May 2007, 07:38 AM
BabySeal's Avatar
BabySeal Offline
Registered User
 
Join Date: Oct 2006
Location: Moore, Oklahoma
Age: 28
Posts: 38
If i were you I would try the svn version of the driver. It was a lot of work for me to even get 0.9.3 to compile. The svn versions compile without a problem...
Now i know thats not youre problem but perhaps hostap doesnt work correctly with the 0.9.3? To get teh SVN version do this

(change to a directory where you want to download the sources)
svn checkout http://svn.madwifi.org/trunk madwifi
cd madwifi
cd scripts
./madwifi-unload.bash
./find-madwifi-modules.sh $(uname -r)
cd ..
make && make install

try that, dont forget to run those scripts above to remove the old driver.. Then try to compile hostap, maybe this will fix it
Reply With Quote
  #3  
Old 15th May 2007, 02:39 PM
xula_1983 Offline
Registered User
 
Join Date: May 2007
Posts: 14
Thanks BabySeal!
I try that but it show error (same too).
[root@localhost hostapd-0.5.7]# make
driver_madwifi.c:21:28: warning: include/compat.h: No such file or directory
driver_madwifi.c:22:32: warning: net80211/ieee80211.h: No such file or directory
driver_madwifi.c:28:39: warning: net80211/ieee80211_crypto.h: No such file or directory
driver_madwifi.c:29:38: warning: net80211/ieee80211_ioctl.h: No such file or directory
driver_madwifi.c: In function ‘set80211priv’:
driver_madwifi.c:136: error: ‘IEEE80211_IOCTL_SETPARAM’ undeclared (first use in this function)
driver_madwifi.c:136: error: (Each undeclared identifier is reported only once
driver_madwifi.c:136: error: for each function it appears in.)
------------------------------
please help me.
Thanks
Reply With Quote
  #4  
Old 15th May 2007, 02:43 PM
xula_1983 Offline
Registered User
 
Join Date: May 2007
Posts: 14
Hi BabySeal!
you can send version hostapd and madfifi to me.
Please help me: uninstall hostapd on Fedora core 6
email: nguyenthanhtraybtak@yahoo.com
Thanks
(I'm Vietnam)
Reply With Quote
  #5  
Old 16th May 2007, 04:03 AM
BabySeal's Avatar
BabySeal Offline
Registered User
 
Join Date: Oct 2006
Location: Moore, Oklahoma
Age: 28
Posts: 38
Do you want me to email you the SVN version of madwifi and hostapd? I can do that, but did you not already download it? Oh, i also did research. You are not the only one having this problem with HostAPD. I could find no answers

Have you tried asking on madwifi mail boards or HostAPD mail boards?

I may be interested in running HostAPD in the near future. I will see if i can get HostAPD to compile and send you the compiled HostAPD.

Last edited by BabySeal; 16th May 2007 at 04:14 AM.
Reply With Quote
  #6  
Old 16th May 2007, 02:48 PM
xula_1983 Offline
Registered User
 
Join Date: May 2007
Posts: 14
Thanks BabySeal!
i don't understand "madwifi mail boards or HostAPD mail boards". Please, explain it for me.
Bye
Reply With Quote
  #7  
Old 16th May 2007, 04:13 PM
BabySeal's Avatar
BabySeal Offline
Registered User
 
Join Date: Oct 2006
Location: Moore, Oklahoma
Age: 28
Posts: 38
http://madwifi.org/wiki/Support#Askt...nglistaudience

A mail board is like a forum. But you send emails to madwifi. These emails can be read by anyone who is subscribed to the mail board. Check with madwifi first. You want to subscribe to madwifi users so you can send an email with your question.

Hope that helps!
Reply With Quote
Reply

Tags
core, fedora, hostapd, madwifi, problem

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem : madwifi-0.9.3 and hostapd-0.5.7 (new)??? xula_1983 Servers & Networking 0 21st May 2007 11:09 AM
Fedora Core 5 Bridge (madwifi wireless) Randyzaj Servers & Networking 8 18th August 2006 01:52 PM
Madwifi Fedora Core Three poochball Using Fedora 1 28th February 2005 04:24 PM


Current GMT-time: 05:28 (Wednesday, 22-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat