Find the answer to your Linux question:
Results 1 to 7 of 7
Would someone please tell me what I need to do to get my kernel source or headers or whatever I need to run make config installed? I have a 7 ...
  1. #1
    Just Joined!
    Join Date
    Sep 2005
    Posts
    7

    kernel source/headers help!

    Would someone please tell me what I need to do to get my kernel source or headers or whatever I need to run make config installed? I have a 7 disk set of debian-30r4-i386-binary I downloaded and burned the ISOs for and installed. I am attempting to run make config on a driver for a Gigafast WF741-UIC USB wireless network device, but I can't find the kernel source to reference to for make config. From reading the forums and from what very little experiance I have, I think apt-get can get this, but without the drivers that I need the source for, I can't get online to download the source! Is it available on my disks? If so, what command do I need to use with apt-get to get it where I need it and what disk do I need to have in? Please help!

    If there is an easier way to make config that driver, I'll happily take that answer too...

  2. #2
    Just Joined!
    Join Date
    Sep 2005
    Posts
    1

    Re: kernel source/headers help!

    [quote="shadarack"]Would someone please tell me what I need to do to get my kernel source or headers ...

    I did this as root:

    #apt-get install kernel-source-2.4.27

  3. #3
    Just Joined!
    Join Date
    Oct 2004
    Location
    Midwest
    Posts
    43
    first, you need to know what kernel version you are running

    you can do this by entering

    uname -r

    you can then use that to install your kernel headers/ source by typing

    apt-get install kernel-source-`uname -r`

    and apt-get install kernel-headers-`uname -r`

    you can type in the name of your kernel or just as I have written by using the uname -r command.


    also make sure you have gcc installed

    this should get your system ready to go to compile the proper driver

  4. #4
    Just Joined!
    Join Date
    Sep 2005
    Posts
    7
    Well. I couldn't figure out how to use apt-get except over the network, and since I couldn't get my USB network card working, I had to move my computer over by my router, install a network card and connect it to my router. But...I did get apt-get working! It gave me my kernel-source package in a .tar.bz format. So I run bunzip on it and end up with a .tar file. Okay, no problem, I run tar -xv on it - and it freezes up. I wait 10 minutes, still nothing. Did I do something wrong? Do I need to upgrade tar or something? Please help...

  5. #5
    Just Joined!
    Join Date
    Sep 2005
    Posts
    6
    That's weird. What file is it freezing on? (Same one every time? How much disk space is free?

  6. #6
    Just Joined!
    Join Date
    Sep 2005
    Posts
    7
    Ummmm. The file that tar is freezing on is usr/src/kernel-source-2.4.27.tar

    The original file was kernel-source-2.4.27.tar.bz, but I ran bzip on it and it supposedly unzipped the .bz portion and left me with kernel-source-2.4.27.tar - What I am doing is going to the usr/src folder and typing the command:

    tar -xv kernel-source-2.4.27.tar

    I also tried tar -t kernel-source-2.4.27.tar to see if it would list what files are in the tarfile, it froze on that as well.

    I have tried running tar as both root and my primary user, and it freezes both times.

    Please help!

  7. #7
    Just Joined!
    Join Date
    Sep 2005
    Posts
    7
    Nevermind, I got it figured out. I should not have run bzip on it at all, I should have used tar with different options. As it turns out, I don't need the driver after all. After fighting to get the driver to configure for 3 hours, I got impatient and simply purchased a 50 foot cat 5 cable and put my old network card back into my computer. Something I should have done a week ago when I started this project.

Posting Permissions

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