LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problems installing ipw3945 and ieee80211 (https://www.linuxquestions.org/questions/linux-newbie-8/problems-installing-ipw3945-and-ieee80211-497036/)

yttrium88 10-30-2006 04:06 PM

Problems installing ipw3945 and ieee80211
 
I'm trying to install ipw3945 driver for my wireless card, but this needs a subsystem called ieee80211.

Here is what happend (or seemed to happen) when I installed ieee80211:
Code:

ollie:/home/nathan/Desktop/ieee80211-1.2.15 # make
Checking in /lib/modules/2.6.16.13-4-smp for ieee80211 components...
make -C /lib/modules/2.6.16.13-4-smp/build M=/home/nathan/Desktop/ieee80211-1.2.15 modules
make[1]: Entering directory `/usr/src/linux-2.6.16.13-4-obj/i386/smp'
make -C ../../../linux-2.6.16.13-4 O=../linux-2.6.16.13-4-obj/i386/smp modules
  Building modules, stage 2.
  MODPOST
make[1]: Leaving directory `/usr/src/linux-2.6.16.13-4-obj/i386/smp'
ollie:/home/nathan/Desktop/ieee80211-1.2.15 #

So I'm already not sure if I've been doing things right, because when I search for ieee80211, the only things I find are the ones sitting on my Desktop that I downloaded. Is there any way to check if these have been installed?

I pressed on anyway, when I tried making ipw3945:
Code:

ollie:/home/nathan/Desktop/ipw3945-linux-1.1.0/ipw3945-1.1.0 # make
sed: can't read /lib/modules/2.6.16.13-4-smpnet/ieee80211.h: No such file or directory

 ERROR: A compatible subsystem was not found in the following path[s]:

        /lib/modules/2.6.16.13-4-smp /lib/modules/2.6.16.13-4-smp/build

 You need to install the ieee80211 subsystem from http://ieee80211.sf.net
 and point this build to the location where you installed those sources, eg.:

        % make IEEE80211_INC=/usr/src/ieee80211/

 or use the 'make patch_kernel' within the ieee80211 subsystem to patch your
 kernel sources.

make: *** [check_inc] Error 1
ollie:/home/nathan/Desktop/ipw3945-linux-1.1.0/ipw3945-1.1.0 #

Man, I am really confused and this point. It's things like this that make me wonder if linux is all it's cracked up to be:scratch:.

farslayer 10-31-2006 04:01 PM

typically make is used to compile a program or module, but you still need to install it. Typically you would use the make install command to put the compiled program or modules where they need to be in the system .

ollie:/home/nathan/Desktop/ieee80211-1.2.15 # make && make install

ollie:/home/nathan/Desktop/ipw3945-linux-1.1.0/ipw3945-1.1.0 # make && make install

yttrium88 10-31-2006 05:16 PM

Ok, thank you very much, now I think ieee is installed but this ipw3945 is still having troubles. Here is what happens at the make in the ipw directory:

Code:

ollie:/home/nathan/Desktop/ipw3945-linux-1.1.0/ipw3945-1.1.0 # make
 Using ieee80211 subsystem version '1.2.15' (API v2) from:

        Base: /lib/modules/2.6.16.13-4-smp/
        Path: /lib/modules/2.6.16.13-4-smp/include/

 EXTRA_CFLAGS = -I/lib/modules/2.6.16.13-4-smp/include/ -DIEEE80211_API_VERSION=2 -g -Wa,-adhlms=check_inc.lst

make -C /lib/modules/2.6.16.13-4-smp/build M=/home/nathan/Desktop/ipw3945-linux-1.1.0/ipw3945-1.1.0  modules
make[1]: Entering directory `/usr/src/linux-2.6.16.13-4-obj/i386/smp'
make -C ../../../linux-2.6.16.13-4 O=../linux-2.6.16.13-4-obj/i386/smp modules
  Building modules, stage 2.
  MODPOST
WARNING: "alloc_ieee80211" [/home/nathan/Desktop/ipw3945-linux-1.1.0/ipw3945-1.1.0/ipw3945.ko] undefined!
WARNING: "free_ieee80211" [/home/nathan/Desktop/ipw3945-linux-1.1.0/ipw3945-1.1.0/ipw3945.ko] undefined!
WARNING: "ieee80211_wx_get_encodeext" [/home/nathan/Desktop/ipw3945-linux-1.1.0/ipw3945-1.1.0/ipw3945.ko] undefined!
WARNING: "ieee80211_wx_set_encodeext" [/home/nathan/Desktop/ipw3945-linux-1.1.0/ipw3945-1.1.0/ipw3945.ko] undefined!
WARNING: "ieee80211_wx_get_encode" [/home/nathan/Desktop/ipw3945-linux-1.1.0/ipw3945-1.1.0/ipw3945.ko] undefined!
WARNING: "ieee80211_wx_set_encode" [/home/nathan/Desktop/ipw3945-linux-1.1.0/ipw3945-1.1.0/ipw3945.ko] undefined!
WARNING: "ieee80211_wx_get_scan" [/home/nathan/Desktop/ipw3945-linux-1.1.0/ipw3945-1.1.0/ipw3945.ko] undefined!
WARNING: "ieee80211_freq_to_channel" [/home/nathan/Desktop/ipw3945-linux-1.1.0/ipw3945-1.1.0/ipw3945.ko] undefined!
WARNING: "ieee80211_set_geo" [/home/nathan/Desktop/ipw3945-linux-1.1.0/ipw3945-1.1.0/ipw3945.ko] undefined!
WARNING: "ieee80211_get_channel" [/home/nathan/Desktop/ipw3945-linux-1.1.0/ipw3945-1.1.0/ipw3945.ko] undefined!
WARNING: "ieee80211_rx" [/home/nathan/Desktop/ipw3945-linux-1.1.0/ipw3945-1.1.0/ipw3945.ko] undefined!
WARNING: "ieee80211_rx_mgt" [/home/nathan/Desktop/ipw3945-linux-1.1.0/ipw3945-1.1.0/ipw3945.ko] undefined!
WARNING: "ieee80211_get_channel_flags" [/home/nathan/Desktop/ipw3945-linux-1.1.0/ipw3945-1.1.0/ipw3945.ko] undefined!
WARNING: "ieee80211_get_geo" [/home/nathan/Desktop/ipw3945-linux-1.1.0/ipw3945-1.1.0/ipw3945.ko] undefined!
WARNING: "ieee80211_channel_to_index" [/home/nathan/Desktop/ipw3945-linux-1.1.0/ipw3945-1.1.0/ipw3945.ko] undefined!
WARNING: "ieee80211_tx_frame" [/home/nathan/Desktop/ipw3945-linux-1.1.0/ipw3945-1.1.0/ipw3945.ko] undefined!
WARNING: "ieee80211_is_valid_channel" [/home/nathan/Desktop/ipw3945-linux-1.1.0/ipw3945-1.1.0/ipw3945.ko] undefined!
WARNING: "escape_essid" [/home/nathan/Desktop/ipw3945-linux-1.1.0/ipw3945-1.1.0/ipw3945.ko] undefined!
WARNING: "ieee80211_txb_free" [/home/nathan/Desktop/ipw3945-linux-1.1.0/ipw3945-1.1.0/ipw3945.ko] undefined!
make[1]: Leaving directory `/usr/src/linux-2.6.16.13-4-obj/i386/smp'
ollie:/home/nathan/Desktop/ipw3945-linux-1.1.0/ipw3945-1.1.0 #

It seems like the ipw is having some problems finding the right fucntions in ieee. Is this correct?

farslayer 10-31-2006 11:22 PM

from your original post.

Quote:

You need to install the ieee80211 subsystem from http://ieee80211.sf.net
and point this build to the location where you installed those sources, eg.:

% make IEEE80211_INC=/usr/src/ieee80211/

or use the 'make patch_kernel' within the ieee80211 subsystem to patch your
kernel sources.
Did you try using that command ?


or Tell ipw WHERE the ieee80211 source is so it can get what it's looking for..
Code:

               
ollie:/home/nathan/Desktop/ipw3945-linux-1.1.0/ipw3945-1.1.0 # make IEEE80211_INC=/home/nathan/Desktop/ieee80211-1.2.15



All times are GMT -5. The time now is 01:21 AM.