Find the answer to your Linux question:
Results 1 to 6 of 6
Hi all, I installed for the first time Debian linux (latest version) using the 3 DVD pack on my Dell latitude 110L laptop. I want first of all to be ...
  1. #1
    Just Joined!
    Join Date
    May 2007
    Posts
    2

    debian linux new user with lots of questions

    Hi all,
    I installed for the first time Debian linux (latest version) using the 3 DVD pack on my Dell latitude 110L laptop.
    I want first of all to be able to use my wireless connection.
    I figured out that I need the nsidwrapper. Got it and installed it.
    Here is where I'm stuck:
    Need the kernel source (and evidently some other packages) in order to recompile my kernel.
    apt-get command doesnt know where it is. I assume it was not installed.

    Where do I find the kernel source files package? how do I install it?

    thnx,

    Yaron

  2. #2
    Linux User
    Join Date
    Feb 2006
    Posts
    484
    you can install the kernel source with the following command

    apt-get install linux-source-`uname -a`

    maybe you will need the kernel tree

    apt-get install linux-tree-`uname -a`

    for ndiswrapper
    you need the windows driver for the wireless card. Read the ndiswrapper README and INSTALL file or the man page of ndiswrapper.

  3. #3
    Linux User netstrider's Avatar
    Join Date
    Jul 2005
    Location
    South Africa
    Posts
    474
    You might also require to install the kernel-headers package, I had to do this in order for it to actually find my kernel sources...I installed the tree too.

  4. #4
    Just Joined!
    Join Date
    May 2007
    Posts
    2

    still dont work

    thnx for the quick replay.
    I tried the following commands:
    apt-get install linux-source-2.6.18-4-686

    got the result:

    Reading package list... Done
    Building dependency tree... Done
    E: Couldn't find package linux-sourc-2.6.18-4-686

    and

    apt-get install linux-source-`uname -a`

    got the result:

    Reading package list... Done
    Building dependency tree... Done
    E: Couldn't find package linux-sourc-Linux

    WHERE IS MY LINUX SOURCE CODE PACKAGE?

    yaron

  5. #5
    Linux User
    Join Date
    Feb 2006
    Posts
    484
    Hi

    SORRY i gave you wrong instructions
    not "uname -a" it's "uname -r"
    Please forgive me this huge fault.
    so

    apt-get install linux-source-`uname -r` linux-tree-`uname -r`

    if doesn't work:
    try find your linux source package with
    apt-cache search linux-source*

    SORRY

  6. #6
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,212
    Quote Originally Posted by yaron View Post
    I want first of all to be able to use my wireless connection.
    I figured out that I need the nsidwrapper. Got it and installed it.
    Here is where I'm stuck:
    Need the kernel source (and evidently some other packages) in order to recompile my kernel.
    Unless you really want to, there is no need to either recompile your kernel or install the kernel source in order to make ndiswrapper work (Debian provides pre-build packages for ndiswrapper).

    And perhaps you don't even need ndiswrapper for your card? Can you post your exact wireless card model?
    "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

Posting Permissions

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