Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19

Thread: WLAN newbie question (Airport cards, ndiswrapper, etc.)

  1. #11
    Junior Member
    Join Date
    Nov 2006
    Posts
    84
    I think I know part of why it the AirPort2 driver did not work. lspci reports the following Ethernet controllers

    01:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller (rev 22)
    02:00.0 Ethernet controller: Atheros Communications, Inc. Unknown device 001c (rev 01)
    The Marvell is my wired NIC, the Atheros my wireless so mine is an AirPort card that is not Broadcom (??). After a bit of digging around I came across http://madwifi.org/ and pulled down madwifi.0.9.2.

    It took me a while to figure out where the kernel source files were. Once I found them, I ran make with the KERNELPATH indicated and go the following error:

    [root@localhost madwifi-0.9.2]# make KERNELPATH=/usr/src/kernels/2.6.18-1.2849.fc6-i686
    /bin/sh: cc: command not found
    Checking requirements... ok.
    Checking kernel configuration... FAILED
    Only kernel versions 2.4.x and above are supported.
    You have .
    make: *** [configcheck] Error 1
    Anyone had luck with madwifi?

  2. #12
    Moderator
    Advisor
    redhead's Avatar
    Join Date
    Jun 2001
    Location
    Copenhagen, Denmark
    Posts
    811
    Checking kernel configuration... FAILED
    You need the appropriate configuration file, your current kernel was build with, located in /usr/src/kernels/2.6.18-1.2849.fc6-i686 and named .config (remember startign with a dot) I dont know how FC does it, but some distribs places it as /boot/config-version
    /bin/sh: cc: command not found
    This however seems to be a more severe issue... Since you need the right develop tools in order to compile madwifi.
    Last edited by redhead; 12-03-2006 at 10:32 AM.
    Don't worry Ma'am. We're university students, - We know what We're doing.
    'Ruiat coelum, fiat voluntas tua.'
    Datalogi - en livsstil; Intet liv, ingen stil.

  3. #13
    Junior Member
    Join Date
    Nov 2006
    Posts
    84
    Here's the reply I got back from the mad-wifi mailing list. Sorry to crosspost it here, but I they were less informative and helpful due to my "noobishness"

    > It took me a while to figure out where the kernel source files were.

    The build system would probably do it much faster.

    > Once I found them, I ran make with the KERNELPATH indicated and got
    > the following error:

    Generally, you shouldn't need to override anything unless the build
    system fails to find the necessary parameters automatically. The
    INSTALL file suggest running "make" without arguments before it
    discusses how to specify the path to the kernel sources.
    >
    > Quote:
    > [root@localhost madwifi-0.9.2]# make
    > KERNELPATH=/usr/src/kernels/2.6.18-1.2849.fc6-i686
    > /bin/sh: cc: command not found
    > Checking requirements... ok.
    > Checking kernel configuration... FAILED
    > Only kernel versions 2.4.x and above are supported.
    > You have .
    > make: *** [configcheck] Error 1

    > Can someone tell me what is causing this error?
    >
    cc is "C compiler". Apparently you don't have one, or it's not called
    cc. In the former case, installe the compiler. In the later case, try
    specifying the compiler on the command line, e.g.

    make CC=gcc34

    if gcc34 is your compiler. Note following requirement from INSTALL:

    - gcc of same version that was used to compile the kernel (ignoring this
    will cause "Invalid module format" errors during module load).

    To find out the compile version used for the kernel, run dmesg to see
    the kernel messages. It can also be saved in /var/log/dmesg.

    It's a shame the error message wasn't not helpful at all. I have fixed
    the build system to provide more helpful output if the compiler is
    broken or missing.
    For starters, I need to know where my C compiler resides in FC6. I thought I pulled down the development tools and the compiler would be included in that, no?

  4. #14
    Moderator
    Advisor
    redhead's Avatar
    Join Date
    Jun 2001
    Location
    Copenhagen, Denmark
    Posts
    811
    Where did you mail it to? I don't remember seeing it on the develop list, naturaly I'm not subscribing to the users maillinglist..

    Here are a few hints:
    > cat /proc/version
    look for GCC version <some version> to see if you have it installed run
    > gcc --version
    Else look for /usr/bin/gcc or something similar... It usualy comes with the gcc package, other packages required would be cpp and libc-dev

    By the way, I'm usualy to find in #madwifi on irc.freenode.net if you're in need of emidiate consultance.

    //edit
    I just remembered a few other packages which could be useful these are make, kernel-kbuild and kernel-package.
    Last edited by redhead; 12-03-2006 at 05:04 PM.
    Don't worry Ma'am. We're university students, - We know what We're doing.
    'Ruiat coelum, fiat voluntas tua.'
    Datalogi - en livsstil; Intet liv, ingen stil.

  5. #15
    Junior Member
    Join Date
    Nov 2006
    Posts
    84
    Hi redhead.

    FYI I am subscribed to the Madwifi-users@lists.sourceforge.net mailing list

    My gcc version is
    [Joe@localhost ~]$ gcc --version
    gcc (GCC) 4.1.1 20061011 (Red Hat 4.1.1-30)
    Copyright (C) 2006 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    I ran pirut and downloaded the following packages which had not been
    installed:
    gcc - 4.1.1-30.I386
    gcc-c++ - 4.1.1-30.I386
    libgcc - 4.1.1-30.I386
    libgcj - 4.1.1-30.I386
    libgomp - 4.1.1-30.I386
    libstdc++ - 4.1.1-30.I386
    Now I got a little further, but still errors:

    > [root@localhost madwifi-0.9.2]# make KERNELPATH=/usr/src/kernels/2.6.18-1.2849.fc6-i686
    > Checking requirements... ok.
    > Checking kernel configuration... ok.
    > make -C /usr/src/kernels/2.6.18-1.2849.fc6-i686 SUBDIRS=/home/Joe/madwifi-0.9.2 modules
    > make[1]: Entering directory `/usr/src/kernels/2.6.18-1.2849.fc6-i686'
    > CC [M] /home/Joe/madwifi-0.9.2/ath/ah_osdep.o
    > In file included from /home/Joe/madwifi-0.9.2/ath/ah_osdep.c:2:
    > /home/Joe/madwifi-0.9.2/ath/../hal/linux/ah_osdep.c:44:26: error: linux/config.h: No such file or directory
    > make[3]: *** [/home/Joe/madwifi-0.9.2/ath/ah_osdep.o] Error 1
    > make[2]: *** [/home/Joe/madwifi-0.9.2/ath] Error 2
    > make[1]: *** [_module_/home/Joe/madwifi-0.9.2] Error 2
    > make[1]: Leaving directory `/usr/src/kernels/2.6.18-1.2849.fc6-i686'
    > make: *** [modules] Error 2
    I will look for and download the other packages you mentioned.

    Thanks,
    JJJ

  6. #16
    Junior Member
    Join Date
    Nov 2006
    Posts
    84
    Current versions

    cpp --version
    cpp (GCC) 4.1.1 20061011 (Red Hat 4.1.1-30)
    Copyright (C) 2006 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    pirut says that glibc-devel is installed (2.5-3.i386) but I cannot get version from command line
    glibc-devel --version
    bash: libc-dev: command not found
    make --version
    GNU Make 3.81
    Copyright (C) 2006 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.
    There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
    PARTICULAR PURPOSE.
    This program built for i686-redhat-linux-gnu
    kernel-kbuild --version
    bash: kernel-kbuild: command not found
    kernel-package --version
    bash: kernel-package: command not found
    Last edited by JoeyJoeJoe; 12-03-2006 at 10:53 PM.

  7. #17
    Moderator
    Advisor
    redhead's Avatar
    Join Date
    Jun 2001
    Location
    Copenhagen, Denmark
    Posts
    811
    > /home/Joe/madwifi-0.9.2/ath/../hal/linux/ah_osdep.c:44:26: error: linux/config.h: No such file or directory
    You need the kernel-headers installed...
    Don't worry Ma'am. We're university students, - We know what We're doing.
    'Ruiat coelum, fiat voluntas tua.'
    Datalogi - en livsstil; Intet liv, ingen stil.

  8. #18
    Junior Member
    Join Date
    Nov 2006
    Posts
    84
    OK, thanks. Any how-to you can point me to?

  9. #19
    Moderator
    Advisor
    redhead's Avatar
    Join Date
    Jun 2001
    Location
    Copenhagen, Denmark
    Posts
    811
    I've mostly learned from hacking the modules them self.. But here are a few, don't know if you've seen them yet..
    http://madwifi.org/wiki/Requirements
    http://madwifi.org/wiki/UserDocs/BuildProblems
    http://madwifi.org/wiki/UserDocs/FirstTimeHowTo
    http://madwifi.org/wiki/UserDocs/Troubleshooting

    For the basics I'd recommend browsing through http://madwifi.org/wiki/UserDocs
    Don't worry Ma'am. We're university students, - We know what We're doing.
    'Ruiat coelum, fiat voluntas tua.'
    Datalogi - en livsstil; Intet liv, ingen stil.

Similar Threads

  1. newbie CVS question
    By countach44 in forum Linux - Software, Applications & Programming
    Replies: 5
    Last Post: 06-27-2004, 05:51 AM
  2. Newbie....First Question.
    By Brandonium in forum Linux - Software, Applications & Programming
    Replies: 2
    Last Post: 09-21-2003, 06:52 PM
  3. QT Newbie Question
    By Tyr_7BE in forum Linux - Software, Applications & Programming
    Replies: 3
    Last Post: 11-29-2002, 02:32 AM
  4. Newbie Question
    By exidous in forum Redhat / Fedora
    Replies: 1
    Last Post: 07-12-2002, 04:31 PM
  5. Newbie Question
    By hyxodus in forum Linux - General Topics
    Replies: 4
    Last Post: 03-07-2002, 01:38 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •