Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12
Ok, I'm trying to get wireless networking up and running on a new install of Debian. This is my first permanent install of linux in years so just consider me ...
  1. #1
    Just Joined!
    Join Date
    Jun 2006
    Posts
    6

    Question Kernel Source file issues

    Ok, I'm trying to get wireless networking up and running on a new install of Debian. This is my first permanent install of linux in years so just consider me a complete nooB. This is on a Dell Inspiron 1000 laptop and the wireless card is a D-Link DWL-G630. But before any of that can come into play I have to get some type of driver installed.

    So far I've tried both Madwifi and the ndiswrapper installs and both have failed with similar errors. Madwifi can't find "/lib/modules/2.4.27-2-386/build/.config" and ndiswrapper "Can't find kernel build files in /lib/modules/2.4.27-2-386/build;". Both pointing to the kernel source not being where it wants it. I've used apt-get to install the kernel-headers and kernel-source (kernel-devel doesn't exisit as far as I can tell) with absolutely no luck. Yes, I un-tarred the source files in the /lib/modules dir.

    I've done google searches and forum searches with lots of results of the problems but with very little results. Does anyone know where I need to go from here?

    Steve

  2. #2
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,212
    You may have better luck using a 2.6 kernel :
    Code:
    apt-get install kernel-image-2.6.8-3-686
    on Debian Sarge.
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

  3. #3
    Just Joined!
    Join Date
    Jun 2006
    Posts
    6
    Well I sucessfully upgraded to the 2.6 kernel and everything seems to run fine. When I went to compile madwifi I get the exact same thing only asking for the 2.6 directories. Whatever I am doing I'm not getting the build directory and the build/.config files installed where the make wants to see them. Can anyone point me where I need to look?

    Steve

  4. #4
    Just Joined!
    Join Date
    Jun 2006
    Posts
    6
    FINALLY!!!

    After attempting to get ndiswrapper to work I came across the answer to my own question.

    If you use precompiled kernel, make sure also that your kernel sources have exact same kernel configuration used for compiling kernel e.g., copy kernel configuration from /proc/config.gz or /boot/config-<version> into /lib/modules/uname -r/build/.config, such as gunzip < /proc/config.gz > /lib/modules/$(uname -r)/build/.config. Then recompile and install ndiswrapper.
    Hopefully this will help someone in the future... now, back to figuring out what the next error while complile madwifi means.

    Steve

  5. #5
    Just Joined!
    Join Date
    Jun 2006
    Posts
    6
    After copying config file to /lib/modules/2.6.16-4-smp/build directory (something like that), now i got another problem..


    Checking requirements... ok.
    Checking kernel configuration... FAILED
    Only kernel versions 2.4.x and above are supported.
    You have .
    make: *** [configcheck] Error 1

    Any suggestion?

  6. #6
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,212
    Quote Originally Posted by punktde
    After copying config file to /lib/modules/2.6.16-4-smp/build directory (something like that), now i got another problem..
    Can you give more details? What are you refering to? What are you trying to do? Which wireless card?
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

  7. #7
    Just Joined!
    Join Date
    Jun 2006
    Posts
    6
    I have netgear wg511u wlan card pcmcia and i want to use it under suse 10.1 with madwifi drivers.
    First i try to compile using make, then i got error message that madwifi cant find /lib/modules/2.6.16.13-4-smp/build/.config, something like that. Then i try to copy the .config file from /proc/config.gz into /lib/modules/2.6.16.13-4-smp/build ,but then i got error message like
    Checking requirements... ok.
    Checking kernel configuration... FAILED
    Only kernel versions 2.4.x and above are supported.
    You have .
    make: *** [configcheck] Error 1

    I've looking everywhere for the solution, but i just stuck until here.
    Any help? Thanks

  8. #8
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,212
    You might want to check this "madwifi" how-to, tailored for Suse 10.1 :
    http://linux.wordpress.com/2006/05/2...ed-wifi-cards/
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

  9. #9
    Just Joined!
    Join Date
    Jun 2006
    Posts
    6
    I try to follow the instructions on the link u gave to me, now here is the log files...

    punktde:/ # cd /usr/src/linux
    bash: cd: /usr/src/linux: No such file or directory
    punktde:/ # cd /usr/src
    punktde:/usr/src #
    punktde:/usr/src #
    punktde:/usr/src # dir
    total 0
    drwxr-xr-x 2 root root 128 Jul 6 00:39 ATI
    drwxr-xr-x 3 root root 72 Jul 6 13:08 kernel-modules
    drwxr-xr-x 3 root root 96 Jul 7 21:52 linux-2.6.16.13-4-obj
    drwxr-xr-x 7 root root 168 Jul 5 22:42 packages

    As u can see i didnt have linux folders but i have linux-2.6.16.13-4-obj folder, so...

    punktde:/usr/src # cd linux-2.6.16.13-4-obj
    punktde:/usr/src/linux-2.6.16.13-4-obj # make mrproper
    make: *** No rule to make target `mrproper'. Stop.
    punktde:/usr/src/linux-2.6.16.13-4-obj # make cloneconfig
    make: *** No rule to make target `cloneconfig'. Stop.
    punktde:/usr/src/linux-2.6.16.13-4-obj # make modules_prepare
    make: *** No rule to make target `modules_prepare'. Stop.

    Whats goin on here? Should i go with yast and reinstall the kernel which is about 52Mb big? Will my system crash if i delete the kernel and then install it again?

    Another question, whats the different between kernel and kernel-smp? Is kernel-smp for multiprocessor computer?, as my laptop have intel centrino duo.
    Thanks for the help

  10. #10
    Just Joined!
    Join Date
    Nov 2006
    Posts
    1

    Wireless card not working

    punktde:/ # cd /usr/src/linux
    bash: cd: /usr/src/linux: No such file or directory
    punktde:/ # cd /usr/src
    punktde:/usr/src #
    punktde:/usr/src #
    punktde:/usr/src # dir

    I'm having the same problem here bro with my pc, I have been trying to get this netgear wireless card (WG311T PCI) working for a week now with no luck, I'm very new at linux, if you can help with any thing I really appreciated, I'm using suse10.1 IBM Netvista Pentium 4, everything works great till this wireless thing.
    Thanks in advance

Page 1 of 2 1 2 LastLast

Posting Permissions

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