Results 1 to 8 of 8

Thread: Linux wireless help.

  1. #1
    Got obliterated Recognized Member Shoeberto's Avatar
    Join Date
    Jun 2000
    Location
    THE OC BABY
    Posts
    12,020
    Blog Entries
    1
    Contributions
    • Former Cid's Knight

    Default Linux wireless help.

    I'm running VLOS 1.1 (based off Gentoo) and I'm trying to get my D-Link DWL 520 rev. e to run. I've gotten farther than I have in past installations using this tutorial:
    http://home.columbus.rr.com/andrewba.../dwl520e1.html

    My kernel is patched fine and I've installed everything, but when I try to modprobe hostap_pci, I get this:
    FATAL: Module hostap_pci not found.

    Originally, I downloaded the hostap-drivers through Portage, and when I ran a search on my system for hostap_pci, it wasn't there, so I got the package on the tutorial site and built it. Everything went fine according to his instructions, and I can find where the module was installed, but I still get the same result.

    Can anyone help me figure it out?


  2. #2
    Prinny God Recognized Member Endless's Avatar
    Join Date
    Aug 2000
    Location
    Prinny Moon
    Posts
    2,641
    Contributions
    • Former Cid's Knight

    Default

    After you did the kernel option + patching + module building, did you actually recompile your kernel?

    And then there is Death

  3. #3
    Hypnotising you crono_logical's Avatar
    Join Date
    May 2001
    Location
    Back in Time
    Posts
    9,313
    Contributions
    • Former Administrator
    • Former Cid's Knight

    Default

    I know after I've installed the custom module for my PCI ADSL card to the right folder, I have to depmod and env-update, otherwise I get the same error as you do if I try to modprobe it since it doesn't know it's there.
    Problems playing downloaded videos? Try CCCP


  4. #4
    Got obliterated Recognized Member Shoeberto's Avatar
    Join Date
    Jun 2000
    Location
    THE OC BABY
    Posts
    12,020
    Blog Entries
    1
    Contributions
    • Former Cid's Knight

    Default

    Quote Originally Posted by Endless
    After you did the kernel option + patching + module building, did you actually recompile your kernel?
    I recompiled after patching but before I did anything with the modules or drivers. Portage wouldn't install any of the HostAP stuff without the kernel being patched. I'll try recompiling again, though.

    Quote Originally Posted by cl_out
    I know after I've installed the custom module for my PCI ADSL card to the right folder, I have to depmod and env-update, otherwise I get the same error as you do if I try to modprobe it since it doesn't know it's there.
    I did use depmod, like the page said, but not env-update. Is there any special usage for it? I'm still really inexperienced with a lot of Linux stuff.


  5. #5
    Hypnotising you crono_logical's Avatar
    Join Date
    May 2001
    Location
    Back in Time
    Posts
    9,313
    Contributions
    • Former Administrator
    • Former Cid's Knight

    Default

    I don't know In my case, I just compile the module, make install, depmod, env-update, than it's ready for modprobing I don't actually know if env-update is necessary for me, but since I compile it so infrequently, I don't really want to test

    Also, you want to install the custom module after you've installed the kernel's own modules with make modules_install, or it'll get deleted. You might also want to check that the /usr/src/linux symlink is pointing to the right kernel sources folder when you compile/install the other module, so it gets installed to the right place for the correct kernel version.
    Problems playing downloaded videos? Try CCCP


  6. #6
    Got obliterated Recognized Member Shoeberto's Avatar
    Join Date
    Jun 2000
    Location
    THE OC BABY
    Posts
    12,020
    Blog Entries
    1
    Contributions
    • Former Cid's Knight

    Default

    Recompiled and now I get a new error:
    FATAL: Error inserting hostap_pci (/lib/modules/2.6.9-vidalinux1/kernel/drivers/net/wireless/hostap_pci.o): Invalid module format

    I read something about .ko extensions in the 2.6 kernel being the wrong module extension, but these are .o, so I'm not too sure what to do.


  7. #7
    Prinny God Recognized Member Endless's Avatar
    Join Date
    Aug 2000
    Location
    Prinny Moon
    Posts
    2,641
    Contributions
    • Former Cid's Knight

    Default

    Last time I had that kind of error happening to me, I had sources for my kernel more recent than the kernel compiled. After rebuilding the kernel (and maybe upgrading gcc, not sure about that), it properly worked.

    And then there is Death

  8. #8
    Got obliterated Recognized Member Shoeberto's Avatar
    Join Date
    Jun 2000
    Location
    THE OC BABY
    Posts
    12,020
    Blog Entries
    1
    Contributions
    • Former Cid's Knight

    Default

    I think I'm in a similar situation, but bass ackwards. My src folder has a 2.4 gentoo kernel in it, where my module folder, apparantly, is 2.6. I'll try to update and see if it all works.


    edit: I upgraded GCC to the most recent stable version, recompiled my kernel using the vidalinux 2.6 source, and built the most recent hostAP drivers I could find. After a reboot, I still get the same error, except expanded a bit more:
    WARNING: Error inserting hostap (/lib/modules/2.6.9-vidalinux1/kernel/drivers/net/wireless/hostap.ko): Invalid module format
    FATAL: Error inserting hostap_pci (/lib/modules/2.6.9-vidalinux1/kernel/drivers/net/wireless/hostap_pci.o): Invalid module format
    Last edited by Shoeberto; 04-26-2005 at 02:13 AM.


Posting Permissions

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