Page 1 of 5 123 ... LastLast
Results 1 to 10 of 43

Thread: HOWTO: Compile new ndiswrapper from the source

  1. #1
    Join Date
    Apr 2005
    Beans
    1,395
    THIS TOPIC IS OUTDATED
    The version in the repositories is 1.1 which is a bit outdated. So I decided to update it to a current version. I hope it may help someone. This HOWTO is based on ndiswrapper Wiki Page

    1. Install kernel headers:
    Code:
    sudo apt-get install linux-headers-$(uname -r)
    and dependencies:
    Code:
    sudo apt-get install dh-make fakeroot gcc-3.4 build-essential
    2. Download the current version of ndiswrapper from here

    3. Untar
    Code:
    tar xvfz ndiswrapper-[current version].tar.gz
    cd ndiswrapper-[current version]
    4. Build deb packages:
    Code:
    fakeroot debian/rules binary-modules
    fakeroot debian/rules binary-utils
    cd ..
    5. Install
    Code:
    sudo dpkg -i ndiswrapper-modules-[your kernel]_[current version]-1_i386.deb ndiswrapper-utils_[current version]-1_i386.deb
    That's it. I installed it over an old version available from repositories but if you want to do a clean install then uninstall the previous version and remove old dirs:
    Code:
    sudo rmmod ndiswrapper
    sudo apt-get remove ndiswrapper-utils
    sudo rm -r /etc/ndiswrapper/
    sudo rm -r /etc/modprobe.d/ndiswrapper
    Taken from ihavenoname's post here

    I may have left some dependencies, since I did not have a fresh Breezy installation.

    THIS TOPIC IS OUTDATED
    Last edited by foxy123; December 12th, 2009 at 05:59 PM.

  2. #2
    Join Date
    Oct 2005
    Beans
    40

    Re: HOWTO: Compile new ndiswrapper from the source

    Hi, thanks for this HOWTO.

    I have a question before I try .. will this work with custom compiled kernels?

    In this case would I change the line:

    linux-headers-$(uname -r)

    to linux -headers-$ and then the kernel on which my custom one is based?

    Thanks for this.

  3. #3

    Re: HOWTO: Compile new ndiswrapper from the source

    If you compiled the kernel your self, the headers are already there.
    You can build seperate kernel headers if you want though...

  4. #4
    Join Date
    Jun 2005
    Location
    Ashland Virginia (usa)
    Beans
    Hidden!

    Re: HOWTO: Compile new ndiswrapper from the source

    You may want to add to your instructions all the packages needed to complete this howto.

    dh_make
    fakeroot
    gcc-3.4
    build-essential

  5. #5
    Join Date
    Sep 2005
    Location
    Hat Yai, Thailand
    Beans
    91
    Distro
    Kubuntu Breezy 5.10

    Re: HOWTO: Compile new ndiswrapper from the source

    Quote Originally Posted by Lambert
    You may want to add to your instructions all the packages needed to complete this howto.

    dh_make
    fakeroot
    gcc-3.4
    build-essential
    Hey Lambert,

    Just wondering; aren't the kernel-tree package needed here?? I always thought they did but I am not sure...
    "The concern for man and his destiny must always be the chief interest of all technical effort. Never forget it between your diagrams and equations." -AE

    HOWTO:basic ethernet troubleshooting
    Learn how to work the shell-Up to date repositories

  6. #6
    Join Date
    Apr 2005
    Beans
    1,395

    Re: HOWTO: Compile new ndiswrapper from the source

    Quote Originally Posted by Lambert
    You may want to add to your instructions all the packages needed to complete this howto.

    dh_make
    fakeroot
    gcc-3.4
    build-essential
    thanks a lot, done...

  7. #7
    Join Date
    Apr 2005
    Beans
    1,395

    Re: HOWTO: Compile new ndiswrapper from the source

    Quote Originally Posted by greenway
    Hey Lambert,

    Just wondering; aren't the kernel-tree package needed here?? I always thought they did but I am not sure...
    I do not think it is required... I have not got it installed on my box and still I did not have any problems with compiling ndiswrapper...

  8. #8
    Join Date
    Sep 2005
    Location
    Hat Yai, Thailand
    Beans
    91
    Distro
    Kubuntu Breezy 5.10

    Re: HOWTO: Compile new ndiswrapper from the source

    Quote Originally Posted by foxy123
    I do not think it is required... I have not got it installed on my box and still I did not have any problems with compiling ndiswrapper...
    Yeah, you might well be right there. I always made sure I the packages were installed because I was taught so, never checked without them though... Anyway, nice howto!

    grtz

    -mattijs
    "The concern for man and his destiny must always be the chief interest of all technical effort. Never forget it between your diagrams and equations." -AE

    HOWTO:basic ethernet troubleshooting
    Learn how to work the shell-Up to date repositories

  9. #9
    Join Date
    Jun 2005
    Location
    Ashland Virginia (usa)
    Beans
    Hidden!

    Re: HOWTO: Compile new ndiswrapper from the source

    I'm not that knowledge here but this is how I understand the linux-tree. Anybody who knows better can correct me.

    This meta package is used as a build-time dependency of prepackaged
    Ubuntu linux-image packages. Its dependencies are structured so that a
    complete kernel tree with Ubuntu patches applied will be available after
    this package is installed
    Kernel tree is just source of the kernel it's self. With the linux-tree package installed, it's only used when building a new kernel so there is a kernel tree of the new image with any patches.

  10. #10
    Join Date
    Sep 2005
    Location
    Hat Yai, Thailand
    Beans
    91
    Distro
    Kubuntu Breezy 5.10

    Re: HOWTO: Compile new ndiswrapper from the source

    Quote Originally Posted by Lambert
    I'm not that knowledge here but this is how I understand the linux-tree. Anybody who knows better can correct me.



    Kernel tree is just source of the kernel it's self. With the linux-tree package installed, it's only used when building a new kernel so there is a kernel tree of the new image with any patches.
    Tnx for clearing that up and a merry christmas to you all!
    "The concern for man and his destiny must always be the chief interest of all technical effort. Never forget it between your diagrams and equations." -AE

    HOWTO:basic ethernet troubleshooting
    Learn how to work the shell-Up to date repositories

Page 1 of 5 123 ... LastLast

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
  •