LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 07-11-2007, 03:31 PM   #1
austinramsay
Member
 
Registered: Jul 2007
Posts: 277

Rep: Reputation: 31
Madwifi error - could not detect kernel version


I was attempting to set up madwifi, even though I don't really know what to do, and I typed in make when I was in the madwifi directory, it responded as could not detect kernel version or something. I can't tell you the exact stuff cause I can't use internet on SuSE yet. What do I do now? I am runnning openSuSE 10.2
 
Old 07-11-2007, 05:36 PM   #2
austinramsay
Member
 
Registered: Jul 2007
Posts: 277

Original Poster
Rep: Reputation: 31
hello? someone? come on guys!
 
Old 07-11-2007, 09:37 PM   #3
austinramsay
Member
 
Registered: Jul 2007
Posts: 277

Original Poster
Rep: Reputation: 31
Madwifi make response

I switched from openSuSE 10.2 to 10.3 alpha 5 today. I could not find out how this madwifi works. I got madwifi 0.9.3.1 and I went to terminal and changed the directory to my madwifi folder and I used make. My response was command not found, what's wrong this time I try to do this?
 
Old 07-12-2007, 02:06 PM   #4
austinramsay
Member
 
Registered: Jul 2007
Posts: 277

Original Poster
Rep: Reputation: 31
Why isn't madwifi working with the make command?

Hey guys, I am using SuSE 10.2. I have madwifi on my computer and I went into terminal and went in the madwifi directory. Then I typed in make and my response was

austin@linux-02d6:~/desktop/madwifi> make
RESPONSE:
/bin/sh: cc: command not found
makefile.inc:81:*** cannot detect kernel version - please check compiler and KERNELPATH. Stop.

How do I fix this?
 
Old 07-12-2007, 02:13 PM   #5
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Stop creating so many threads on the same topic. I'm replying to your other thread here (though I think this may be a duplicate as well).

Quote:
Originally Posted by austinramsay
Hey guys, I am using SuSE 10.2. I have madwifi on my computer and I went into terminal and went in the madwifi directory. Then I typed in make and my response was

austin@linux-02d6:~/desktop/madwifi> make
RESPONSE:
/bin/sh: cc: command not found
makefile.inc:81:*** cannot detect kernel version - please check compiler and KERNELPATH. Stop.

How do I fix this?
Not sure about the KERNELPATH error, but you need to install the C compiler to be able to compile C programs! Install gcc via YaST.
 
Old 07-12-2007, 02:17 PM   #6
austinramsay
Member
 
Registered: Jul 2007
Posts: 277

Original Poster
Rep: Reputation: 31
but would I need to download it on SuSE?
 
Old 07-12-2007, 02:51 PM   #7
austinramsay
Member
 
Registered: Jul 2007
Posts: 277

Original Poster
Rep: Reputation: 31
Oh, I installed gcc and then, I got a different error.

Makefile.inc:91: *** KERNELCONF: /lib/modules/2.6.18.2-34-default/build/.config does not exist.. Stop.
 
Old 07-12-2007, 02:57 PM   #8
bhert
Member
 
Registered: May 2006
Distribution: OpenSUSE 10.3 Kubuntu Hardy Heron
Posts: 268

Rep: Reputation: 30
Sorry, didn't read the rest of your message.
Look at the page http://en.opensuse.org/Atheros_madwifi
Read the part about "Installation of kernel modules"

Basically you add madwifi to the installation source and let yast download and install madwifi for you.
You might have better luck with that.
That's how I got mine to work.

-bhert

Last edited by bhert; 07-12-2007 at 03:15 PM.
 
Old 07-12-2007, 05:10 PM   #9
austinramsay
Member
 
Registered: Jul 2007
Posts: 277

Original Poster
Rep: Reputation: 31
The madwifi site is down! That's weird. I will have to try that later. I hope that works for me.
 
Old 07-12-2007, 05:52 PM   #10
austinramsay
Member
 
Registered: Jul 2007
Posts: 277

Original Poster
Rep: Reputation: 31
they are back online, I'll go try it
 
Old 07-12-2007, 08:01 PM   #11
austinramsay
Member
 
Registered: Jul 2007
Posts: 277

Original Poster
Rep: Reputation: 31
it didn't work, well it did, until it got to the part until it asked you to use modprobe ath_pci - of course it says

bash: modprobe: command not found

then I try ath_pci

and then I get:

bash: ath_pci: command not found

Why does everything work on everyone elses computer and not mine. Everytime I try something... How do I fix this now???
 
Old 07-12-2007, 08:16 PM   #12
austinramsay
Member
 
Registered: Jul 2007
Posts: 277

Original Poster
Rep: Reputation: 31
Never mind! I went to YaST and it found my wireless card and I edited it to configure it and it finally works!!!
 
Old 07-13-2007, 12:36 PM   #13
bhert
Member
 
Registered: May 2006
Distribution: OpenSUSE 10.3 Kubuntu Hardy Heron
Posts: 268

Rep: Reputation: 30
I assume you got the error about ath_pci because you were not running the command as root.

Anyways, glad you got it working

-bhert
 
Old 07-14-2007, 09:41 AM   #14
austinramsay
Member
 
Registered: Jul 2007
Posts: 277

Original Poster
Rep: Reputation: 31
no i still can't use ath_pci though, even in root! But madwifi works. Lol.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
error when compiling 2.4 version of kernel from 2.6 version in fedora core mshenbagaraj Linux - Kernel 1 04-30-2007 03:31 PM
Madwifi (0.9.2) cannot detect Atheros chip kaz2100 Linux - Wireless Networking 4 03-19-2007 02:44 PM
madwifi-0.9.2 + kernel-2.6.19 = error GamerX Linux - Networking 3 12-05-2006 05:49 PM
Remotely detect kernel version ReMuSoMeGa Linux - Software 2 06-20-2006 07:01 AM
How to install the CVS version of madwifi? Coume Linux - Wireless Networking 0 05-29-2004 06:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 03:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration