Results 1 to 3 of 3

Thread: Removing Ndiswrapper, compiled from source?

  1. #1
    Join Date
    Apr 2007
    Location
    Behind my Lappie
    Beans
    114
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Removing Ndiswrapper, compiled from source?

    EDIT
    Okay, so I managed to get it working
    But every time I reboot i have to

    Code:
    sudo modprobe ath_pci
    sudo modprobe wlan_scan_sta
    Any way to avoid this?
    I'm using feisty with Fluxbox

    Hello

    Some time ago I compiled Ndiswrapper from source via this guide:
    http://ubuntuforums.org/showthread.p...ghlight=ar5007

    Now I'd like to use Madwifi instead:
    http://www.ubuntugeek.com/atheros-50...-platform.html

    But how do I remove ndiswrapper when it's compiled from source?

    Thanks in advance
    Last edited by Eax.exe; May 10th, 2008 at 11:17 AM.
    "Freedom is an illusion"

  2. #2
    Join Date
    Mar 2007
    Location
    Denver, CO
    Beans
    7,958
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: Removing Ndiswrapper, compiled from source?

    If you remove ndiswrapper from /etc/modules and add the ath_pci and wlan_scan_sta to the /etc/modules file then everything will work how you want it. If you want to remove ndiswrapper:

    sudo aptitude purge ndiswrapper
    sudo rm /etc/modprobe.d/ndiswrapper
    sudo sh -c "sed '/^ndiswrapper$/d' /etc/modules > /etc/modules.temp.rm; mv /etc/modules.temp.rm /etc/modules"
    sudo rmmod ndiswrapper
    sudo /lib/modules/`uname -r`/kernel/ubuntu/misc/ndiswrapper/ndiswrapper.ko
    sudo rm -rf /etc/ndiswrapper
    sudo rm /usr/sbin/ndiswrapper
    sudo rm /sbin/loadndisdriver
    sudo rm /lib/modules/`uname -r`/misc/ndiswrapper.ko

  3. #3
    Join Date
    Apr 2007
    Location
    Behind my Lappie
    Beans
    114
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Removing Ndiswrapper, compiled from source?

    Quote Originally Posted by kevdog View Post
    If you remove ndiswrapper from /etc/modules and add the ath_pci and wlan_scan_sta to the /etc/modules file then everything will work how you want it. If you want to remove ndiswrapper:

    sudo aptitude purge ndiswrapper
    sudo rm /etc/modprobe.d/ndiswrapper
    sudo sh -c "sed '/^ndiswrapper$/d' /etc/modules > /etc/modules.temp.rm; mv /etc/modules.temp.rm /etc/modules"
    sudo rmmod ndiswrapper
    sudo /lib/modules/`uname -r`/kernel/ubuntu/misc/ndiswrapper/ndiswrapper.ko
    sudo rm -rf /etc/ndiswrapper
    sudo rm /usr/sbin/ndiswrapper
    sudo rm /sbin/loadndisdriver
    sudo rm /lib/modules/`uname -r`/misc/ndiswrapper.ko
    Thanks a lot
    "Freedom is an illusion"

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
  •