Page 1 of 2 12 LastLast
Results 1 to 10 of 19

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

Hybrid View

  1. #1
    Junior Member
    Join Date
    Nov 2006
    Posts
    84

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

    I have an SMC USB WLAN adapter that, according to my resarch on ndiswrapper, should work. I haven't tried it yet (though I hope the experience is less painful than setting up resolution settings for my MacMini's integrated Intel graphics card)

    The reason I have not tried it is because I saw here, that someone has created reverse-engineered drivers for the Broadcom chip. This would allow for my Airport Extreme card to work with Linux. That would be cool.

    The link above says that the Broadcom driver "was included into the Linux kernel since 2.6.17-rc2".

    I have FC6 and my kernel version is 2.6.18-1.2849.fc6.

    So, if I have a more recent kernel, where is the driver and how do I make it recognize the Airport card?

    If using the Airport card in Linux is not feasible, have you guys had success with ndiswrapper?

    Thanks,
    JJJ

  2. #2
    Moderator
    Good Guru
    Compunuts's Avatar
    Join Date
    May 2001
    Location
    California
    Posts
    3,935
    Quote Originally Posted by JoeyJoeJoe View Post
    If using the Airport card in Linux is not feasible, have you guys had success with ndiswrapper?
    Yeap. I followed this and it worked.

    We had a PET about this but it didn't get carry over to this site after merging with LJR. I hadn't had time to re-write it either.

    <note-to-self>
    add to todo list === ndiswrapper pet
    </note-to-self>
    LinuxVillage - The truely community run Linux/Floss forum !

    No IT BS !!

  3. #3
    Here's my blog entry of my Powerbook journey, and I added the part about getting my Airport Extreme working. I ended up using the bcm43xx-fwcutter from the package repository, and worked out great.
    arrogance breeds ignorance

    Screaming Electron, Full of BSD Goodness

  4. #4
    Moderator
    Advisor
    redhead's Avatar
    Join Date
    Jun 2001
    Location
    Copenhagen, Denmark
    Posts
    811
    The link above says that the Broadcom driver "was included into the Linux kernel since 2.6.17-rc2".
    I have FC6 and my kernel version is 2.6.18-1.2849.fc6.
    So, if I have a more recent kernel, where is the driver and how do I make it recognize the Airport card?
    Well it needs to be enabled in the kernel, I doubt FC6 ships with it build, I recently stumbled onto it by accident, I was hacking the kernel source, to get in-kernel support for the Ralink driver, what you need to enable in your kernel is
    CONFIG_PCI
    CONFIG_IEEE80211
    CONFIG_IEEE80211_SOFTMAC
    CONFIG_NET_RADIO
    CONFIG_ EXPERIMENTAL
    Then the choice to enable the bcm43xx driver under "Device drivers" -> "Network device support" -> "Wireless LAN (non-hamradio)"

    But as I said, this will most probably require you to build your own kernel...
    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. #5
    I never even had to touch my kernel to get my airport running. It just recognized it from a default install of FC6. I can't remember, did you say this was a PPC or x86 Mac Mini?
    arrogance breeds ignorance

    Screaming Electron, Full of BSD Goodness

  6. #6
    Junior Member
    Join Date
    Nov 2006
    Posts
    84
    x86 (Intel DuoCore)

  7. #7
    Junior Member
    Join Date
    Nov 2006
    Posts
    84
    Hi. I ran pirut and pulled down bcm43xx-fwcutter and followed the instructions in your blog, pulling the AppleAirport2.kext file over on USB driver, but when I got to running fwcutter I got this error.

    (Recall that this is an Intel Duo Core Mac Mini)

    [root@localhost MacOS]# bcm43xx-fwcutter AppleAirPort2
    Sorry, the input file is either wrong or not supported by bcm43xx-fwcutter.
    This file has an unknown MD5sum bba92f4ff32a9b5628be3960dcce157d.

  8. #8
    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?

  9. #9
    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.

  10. #10
    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?

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
  •