Installation on FC5

Help
George
2006-10-26
2013-04-15
  • George

    George - 2006-10-26

    Anyone able to get the driver working on an FC5? I got it compiled and installed, but the system hangs up soon as any client access the AP. I would appreciate any help as I am stuck for about 4 months on the issue without any resolution

     
    • George

      George - 2006-11-23

      I still cannot get anything working -- so forget FC5! Is there anybody out there who has made it work on any distribution? I am willing to install any distribution to get it working -- to that end, is there any documentation available? Please help

       
    • George

      George - 2006-11-26

      After nearly 16 hours of trying various kernels on FC5(many complete reinstalls of the system) I have migrated to FC6. After about 8 more hours on FC6 with two different kernels (the stock kernel 2.6.18-1.2798.fc6 and the updated 2.6.18-1.2849.fc6-i586) I get the same error from the make file as shown below. Essentailly the make file deletes the source directory completely. I have re-instated the source about about 20 times with various changes in make file and kernel updates, including a complete install of ieee80211 stack. This is the error I get prior to the make file deleting the directory CLEAN.

      rm: cannot remove `/var/tmp/ipw2200-ap-0.3/net': Is a directory
      make[1]: *** [crmodverdir] Error 1
      make[1]: Leaving directory `/usr/src/kernels/2.6.18-1.2849.fc6-i586'
      make: *** [modules] Error 2

      Any Idea what is going on here? Is it a makefile/compiler issue?

      Thanks...

      Additional details:

      Softare on Fedora Core 6: gcc (GCC) 4.1.1 20061011, GNU Make 3.81, Kernel 2.6.18-1.2849.fc6-i586
      Hardware: Intel pro 2225BG wireless card on Intel Pentium P4.

       
    • George

      George - 2006-11-26

      Some more information on the software setup for which IPW2200-ap is not compiling (issue with Make)

      Softare on Fedora Core 6: gcc (GCC) 4.1.1 20061011, GNU Make 3.81, Kernel 2.6.18-1.2849.fc6-i586
      Hardware: Intel pro 2225BG wireless card on Intel Pentium P4.
      Wireless software: ieee80211-1.2.15; IPW2200 Firmware 2.2-3; ipw2200-ap-0.3

       
    • George

      George - 2006-11-26

      Okay, this is turning into a monologue. Neverthless, to begin with, the makefile seems to be incomptible with the newer environment -- probably the GNU Make 3.81 or anything newer. You may easily copy the makefile from the latest "non AP version of IPW2200" to see that the program starts to compile but produces errors about ieee80211 structure incompatibility. I am trying to incorporate the "AP" specific directives into the Non-AP makefile and use this as the updated makefile for the AP version -- sounds easy enough?. As for the ieee data structure, I have to dust off my C/C++ skills -- never thought the desperation for getting the AP working would lead me to this point!

       
    • Gwen_bzh

      Gwen_bzh - 2006-12-03

      I've got exactly the same problem with 2.6.18-rc5 kernel under Backtrack 2 distro. The symptom is absolutely the same, and it seems that the makefile file isn't made for this kernel's tree. I'm trying to modify it to make it run...
      Does anyone have any idea about that ?

       
    • George

      George - 2006-12-03

      Good to see someone responding to this forum -- for a while I was tinking this forum is inactive! Anyway, I modified the makefile and got the compilation underway; but there are so many errors with ieee802.11 stack -- mostly with the data structure. I am still trying to get it going -- I will report back soon as I make some progress. Please hang in there!

       
    • Gwen_bzh

      Gwen_bzh - 2006-12-06

      I tried to change the make rules in the Makefile file, but this ended in a wide variety of errors in compiling ieee80211.
      One thing I don't understand while compiling by using the original Makefile, the reason why I get an error ("is a directory") when the compiler tries to remove /usr/src/ipw2200-ap-0.3/net directory. I deleted all occurences of rm instructions in the Makefile, but I still get this error. Where does this rm instruction come from ?

       
    • George

      George - 2006-12-07

      You are at the same point as I am. You finally got the source to compile -- however with errors. I also found there are some funtion prototypes missing from the ieee80211_ap.h, and added them. For example,  int hostap_get_sta_index(struct ap_data *ap, u8 *sta_addr) is missing for ieee80211_ap.h.

      As with any compile process the more errors you fix the more errors you find, not to mention the warnings.

      So..... can one of the developers please provide some guidance? It would be a whole lot easier for the rest of us :)

      Anyway, I will keep the forum informed on my findings.

       
    • George

      George - 2006-12-13

      Successful compiling!

      I now have a makefile and some other fixes in various .h and .c file that gets the program compiling and installing. I have done a make all, make modules, make install.

      Now the only problem is with loading the driver. When I do a modprobe ipw2200 this is the output I get. We are so close to get it working -- with a little bit of help, we can claim that we have a driver that works on the newer environment again! ... so please, please help!

      ipw2200: Unknown symbol ieee80211_get_crypto_ops
      ipw2200: Unknown symbol ieee80211_wx_set_encode
      ipw2200: Unknown symbol ieee80211_wx_get_encode
      ipw2200: Unknown symbol ieee80211_txb_free
      ipw2200: Unknown symbol ieee80211_crypt_delayed_deinit
      ipw2200: Unknown symbol ieee80211_wx_get_scan
      ipw2200: Unknown symbol hostap_get_sta_index
      ipw2200: Unknown symbol ieee80211_rx
      ipw2200: Unknown symbol hostap_init_ap_proc
      ipw2200: Unknown symbol ieee80211_rx_mgt
      ipw2200: Unknown symbol free_ieee80211
      ipw2200: Unknown symbol hostap_is_sta_ofdm
      ipw2200: Unknown symbol alloc_ieee80211
      ipw2200: Unknown symbol ieee80211_get_crypto_ops
      ipw2200: Unknown symbol ieee80211_wx_set_encode
      ipw2200: Unknown symbol ieee80211_wx_get_encode
      ipw2200: Unknown symbol ieee80211_txb_free
      ipw2200: Unknown symbol ieee80211_crypt_delayed_deinit
      ipw2200: Unknown symbol ieee80211_wx_get_scan
      ipw2200: Unknown symbol hostap_get_sta_index
      ipw2200: Unknown symbol ieee80211_rx
      ipw2200: Unknown symbol hostap_init_ap_proc
      ipw2200: Unknown symbol ieee80211_rx_mgt
      ipw2200: Unknown symbol free_ieee80211
      ipw2200: Unknown symbol hostap_is_sta_ofdm
      ipw2200: Unknown symbol alloc_ieee80211
      ipw2200: Unknown symbol ieee80211_get_crypto_ops
      ipw2200: Unknown symbol ieee80211_wx_set_encode
      ipw2200: Unknown symbol ieee80211_wx_get_encode
      ipw2200: Unknown symbol ieee80211_txb_free
      ipw2200: Unknown symbol ieee80211_crypt_delayed_deinit
      ipw2200: Unknown symbol ieee80211_wx_get_scan
      ipw2200: Unknown symbol hostap_get_sta_index
      ipw2200: Unknown symbol ieee80211_rx
      ipw2200: Unknown symbol hostap_init_ap_proc
      ipw2200: Unknown symbol ieee80211_rx_mgt
      ipw2200: Unknown symbol free_ieee80211
      ipw2200: Unknown symbol hostap_is_sta_ofdm
      ipw2200: Unknown symbol alloc_ieee80211
      ipw2200: Unknown symbol ieee80211_get_crypto_ops
      ipw2200: Unknown symbol ieee80211_wx_set_encode
      ipw2200: Unknown symbol ieee80211_wx_get_encode
      ipw2200: Unknown symbol ieee80211_txb_free
      ipw2200: Unknown symbol ieee80211_crypt_delayed_deinit
      ipw2200: Unknown symbol ieee80211_wx_get_scan
      ipw2200: Unknown symbol hostap_get_sta_index
      ipw2200: Unknown symbol ieee80211_rx
      ipw2200: Unknown symbol hostap_init_ap_proc
      ipw2200: Unknown symbol ieee80211_rx_mgt
      ipw2200: Unknown symbol free_ieee80211
      ipw2200: Unknown symbol hostap_is_sta_ofdm
      ipw2200: Unknown symbol alloc_ieee80211
      ipw2200: Unknown symbol ieee80211_get_crypto_ops
      ipw2200: Unknown symbol ieee80211_wx_set_encode
      ipw2200: Unknown symbol ieee80211_wx_get_encode
      ipw2200: Unknown symbol ieee80211_txb_free
      ipw2200: Unknown symbol ieee80211_crypt_delayed_deinit
      ipw2200: Unknown symbol ieee80211_wx_get_scan
      ipw2200: Unknown symbol hostap_get_sta_index
      ipw2200: Unknown symbol ieee80211_rx
      ipw2200: Unknown symbol hostap_init_ap_proc
      ipw2200: Unknown symbol ieee80211_rx_mgt
      ipw2200: Unknown symbol free_ieee80211
      ipw2200: Unknown symbol hostap_is_sta_ofdm
      ipw2200: Unknown symbol alloc_ieee80211

       
    • tand

      tand - 2006-12-16

      Same problems here: (k)ubuntu edgy, kernel 2.6.17-10.

      No solution yet? Not to speak of precompiled packages...

       
    • George

      George - 2006-12-19

      Looks like a few people have resolved the compile issue on their own, but are having issues loading the driver. No solution yet -- may be the forum admin can help resource from this point? Can you please provide some guidance?

       
    • Alex

      Alex - 2007-01-08

      What i did (debian etch, kernel 2.6.18.2 vanilla) to compile:

      1. Edit all files (*.c *.h) and replace angles by quotes on ieee80211.h: <net/ieee80211.h> -> "net/ieee80211.h"
      2. Use this to compile (took this line from ipw2200):
      make -C /lib/modules/2.6.18.2/build M=/home/sud/ipw2200-ap-0.3 MODVERDIR=/home/sud/ipw2200-ap-0.3/tmp/.tmp_versions modules
      3. Make sure you unload every old module: rmmod ipw2200 ieee80211_crypt_wep ieee80211_crypt_ccmp ieee80211_crypt_tkip ieee80211 ieee80211_crypt
      4. Load new ones: insmod ieee80211_crypt.ko ; insmod ieee80211.ko ; insmod ipw2200.ko

      Module compiles and loads (i have not tested it any further this time).

       
    • Ivan Villanueva

      Ivan Villanueva - 2007-01-20

      Using 2.6.19.2
      After having done the trick: <net/ieee80211.h> -> "net/ieee80211.h"
      Make produces the error regarding the missing linux/config.h
         /home/ivan/ipw2200-ap-0.3/ipw2200.h:37:26: error: linux/config.h: No such file or directory

       
    • Florent

      Florent - 2007-01-20

      Thank you latinsud, but I get the same error about linux/config.h (using 2.6.19.2 too), any idea?

       
    • David Li

      David Li - 2007-01-21

      When you are on 2.6.19, it's safe to delete any references to linux/config.h

       
    • Florent

      Florent - 2007-01-23

      I've deleted all the references to linux/config.h, and now I get somes warnings and this error:

      /var/abs/local/ipw2200-ap/src/ipw2200-ap-0.3/ipw2200.c: In function 'ipw_wx_get_rate':
      /var/abs/local/ipw2200-ap/src/ipw2200-ap-0.3/ipw2200.c:8619: warning: unused variable 'rate'
      /var/abs/local/ipw2200-ap/src/ipw2200-ap-0.3/ipw2200.c: In function 'ipw_pci_probe':
      /var/abs/local/ipw2200-ap/src/ipw2200-ap-0.3/ipw2200.c:11390: error: 'op_band' undeclared (first use in this function)
      /var/abs/local/ipw2200-ap/src/ipw2200-ap-0.3/ipw2200.c:11390: error: (Each undeclared identifier is reported only once
      /var/abs/local/ipw2200-ap/src/ipw2200-ap-0.3/ipw2200.c:11390: error: for each function it appears in.)
      /var/abs/local/ipw2200-ap/src/ipw2200-ap-0.3/ipw2200.c:11453: warning: passing argument 2 of 'request_irq' from incompatible pointer type
      /var/abs/local/ipw2200-ap/src/ipw2200-ap-0.3/ipw2200.c:11479: error: 'struct net_device' has no member named 'get_wireless_stats'
      /var/abs/local/ipw2200-ap/src/ipw2200-ap-0.3/ipw2200.c: In function '__check_op_band':
      /var/abs/local/ipw2200-ap/src/ipw2200-ap-0.3/ipw2200.c:12175: error: 'op_band' undeclared (first use in this function)
      /var/abs/local/ipw2200-ap/src/ipw2200-ap-0.3/ipw2200.c: At top level:
      /var/abs/local/ipw2200-ap/src/ipw2200-ap-0.3/ipw2200.c:12175: error: 'op_band' undeclared here (not in a function)
      make[1]: *** [/var/abs/local/ipw2200-ap/src/ipw2200-ap-0.3/ipw2200.o] Error 1
      make: *** [_module_/var/abs/local/ipw2200-ap/src/ipw2200-ap-0.3] Error 2
      make: Leaving directory `/usr/src/linux-2.6.19-ARCH'

       
    • h4nnib4l

      h4nnib4l - 2007-01-24

      I followed all your steps (i use gentoo and kernel 2.6.19.2)

      change in Makefile the modules section to this:
      modules:
              mkdir -p $(MODVERDIR)
              $(MAKE) -C $(KSRC) M=$(PWD) MODVERDIR=$(MODVERDIR) modules

      and you could run it with make.

      after i did all the modfications described iam still not able to compiel complete. a "#make -k" gives me:
      ieee80211.mod  ieee80211_crypt.mod  ieee80211_crypt_tkip.mod  ieee80211_crypt_wep.mod
      but ipw2200 is still missing.

      i always got this errors:

      /root/wlanMasterDriver/ipw2200-ap-0.3/ipw2200.c: In function 'build_beacon_template':
      /root/wlanMasterDriver/ipw2200-ap-0.3/ipw2200.c:2625: error: dereferencing pointer to incomplete type
      /root/wlanMasterDriver/ipw2200-ap-0.3/ipw2200.c:2638: error: dereferencing pointer to incomplete type
      /root/wlanMasterDriver/ipw2200-ap-0.3/ipw2200.c:2642: error: dereferencing pointer to incomplete type
      /root/wlanMasterDriver/ipw2200-ap-0.3/ipw2200.c:2643: error: dereferencing pointer to incomplete type
      /root/wlanMasterDriver/ipw2200-ap-0.3/ipw2200.c:2644: error: dereferencing pointer to incomplete type
      /root/wlanMasterDriver/ipw2200-ap-0.3/ipw2200.c:2644: error: dereferencing pointer to incomplete type
      /root/wlanMasterDriver/ipw2200-ap-0.3/ipw2200.c:2648: error: dereferencing pointer to incomplete type
      (ill removed warinigs and later errors)

      thx for every help

       
    • h4nnib4l

      h4nnib4l - 2007-01-24

      first error fixed:

      i changed

      struct ieee80211_beacon *beacon;
      to
      struct ieee80211_probe_response *beacon;

      in ipw2200.c line 26XX

      now i try next errors

       
    • mbjorge

      mbjorge - 2007-06-04

      Hello.

      What is the current status?

      I am getting the same errors you are, dis you ever got it working?

      Thanks

       
    • Alessandro Surace

      Hi Dear Any news about this driver?
      I have tried on FC9 kernel 2.6.27.21-78.2.41.fc9.i686 without success...and it is very struggling :-(

      bye
      Alex

       

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks