Page 1 of 6 123 ... LastLast
Results 1 to 10 of 54

Thread: How to Blacklist iwl3945 driver correctly, and replace/whitelist it with ipwraw??

  1. #1
    Join Date
    Aug 2008
    Beans
    425
    Distro
    Ubuntu 12.10 Quantal Quetzal

    How to Blacklist iwl3945 driver correctly, and replace/whitelist it with ipwraw??

    Forgive me if i am not fully clear when i say whitelist.

    What i know for sure that I need to do is Blacklist this driver:

    iwl3945

    I also Need to make this driver the new replacement for the removed above driver: This is why i say whitelist (Opposite to blacklist):

    ipwraw

    I have managed to do it numerous times,
    BUT, each time I reboot ubuntu. Itseems to reset it back to it to the original driver???

    I am still pretty new to Ubuntu, So could somebody give me clear doncise step bt step instructions how I can Do the above??

    Thank-you

    scrypt

  2. #2
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    23,205
    Distro
    Ubuntu 17.04 Zesty Zapus

    Re: How to Blacklist iwl3945 driver correctly, and replace/whitelist it with ipwraw??

    You need to do what I asked you to do in the other thread. Did you?

    Why start a new thread?
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  3. #3
    Join Date
    Aug 2008
    Beans
    425
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: How to Blacklist iwl3945 driver correctly, and replace/whitelist it with ipwraw??

    I use this set of commands...But do they contradict themselves???

    Am I blacklisting the driver ipwraw
    and then loading it again a couple of commands later??

    Should I be blacklisting the iwl3945 driver instead?

    Is this why The drivers are loading the original iwl3945 driver??

    sudo apt-get install build-essential (get core files)
    sudo apt-get install libssl-dev (get supporting library)
    wget http://dl.aircrack-ng.org/drivers/ip...022008.tar.bz2 (downloads driver)
    tar -xjf ipwraw-ng* (extract the archive file)
    cd ipwraw-ng (go to the extracted folder)
    make (compile the source files into a binary)
    sudo make install (install the driver)
    sudo make install_ucode
    echo "blacklist ipwraw" | sudo tee /etc/modprobe.d/ipwraw (blacklist the default ipwraw)
    sudo depmod -ae (create a dependency file for the modules)
    sudo modprobe -r iwl3945 (unload driver that you do not need)
    sudo modprobe ipwraw (load the driver that you installed)
    sudo ifconfig wlan0 up (enable the network adapter)
    airmon-ng start wlan0 (put your interface into monitor mode)

    Can someone clear this up for me??

  4. #4
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    23,205
    Distro
    Ubuntu 17.04 Zesty Zapus

    Re: How to Blacklist iwl3945 driver correctly, and replace/whitelist it with ipwraw??

    Did I not answer that clearly enough in post #26 here? http://ubuntuforums.org/showthread.php?t=1108363&page=3

    Did you do as I suggested? I will be glad to go through it once again if you feel it's not clear.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  5. #5
    Join Date
    Aug 2008
    Beans
    425
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: How to Blacklist iwl3945 driver correctly, and replace/whitelist it with ipwraw??

    Hey chili.

    Yes i think you did mate.

    I can get my card running in monitor mode okay.

    that is until I reboo and my original driver is back as it was originally...

  6. #6
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    23,205
    Distro
    Ubuntu 17.04 Zesty Zapus

    Re: How to Blacklist iwl3945 driver correctly, and replace/whitelist it with ipwraw??

    Please post:
    Code:
    cat /etc/modprobe.d/blacklist
    cat /etc/modprobe.d/ipwraw
    cat /etc/modules
    Thanks.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  7. #7
    Join Date
    Aug 2008
    Beans
    425
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: How to Blacklist iwl3945 driver correctly, and replace/whitelist it with ipwraw??

    I would appreciate i if you would go throgh it again step by step and see if you can see where i am going wrong. I am having the same problem over and over.

    It resets the drivers as soon as i reboot??

  8. #8
    Join Date
    Aug 2008
    Beans
    425
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: How to Blacklist iwl3945 driver correctly, and replace/whitelist it with ipwraw??

    mark@ubuntu:~$ cat /etc/modprobe.d/blacklist
    # This file lists those modules which we don't want to be loaded by
    # alias expansion, usually so some other driver will be loaded for the
    # device instead.


    # evbug is a debug tool that should be loaded explicitly
    blacklist evbug

    # these drivers are very simple, the HID drivers are usually preferred
    blacklist usbmouse
    blacklist usbkbd

    # replaced by e100
    blacklist eepro100

    # replaced by tulip
    blacklist de4x5

    # causes no end of confusion by creating unexpected network interfaces
    blacklist eth1394

    # snd_intel8x0m can interfere with snd_intel8x0, doesn't seem to support much
    # hardware on its own (Ubuntu bug #2011, #6810)
    blacklist snd_intel8x0m

    # Conflicts with dvb driver (which is better for handling this device)
    blacklist snd_aw2

    # causes failure to suspend on HP compaq nc6000 (Ubuntu: #10306)
    blacklist i2c_i801

    # replaced by p54pci
    blacklist prism54

    # replaced by b43 and ssb.
    blacklist bcm43xx

    # most apps now use garmin usb driver directly (Ubuntu: #114565)
    blacklist garmin_gps

    # replaced by asus-laptop (Ubuntu: #184721)
    blacklist asus_acpi

    # low-quality, just noise when being used for sound playback, causes
    # hangs at desktop session start (Ubuntu: #246969)
    blacklist snd_pcsp

    blacklist iwl3945


    mark@ubuntu:~$ cat /etc/modprobe.d/ipwraw
    blacklist ipwraw
    mark@ubuntu:~$ cat /etc/modules

  9. #9
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    23,205
    Distro
    Ubuntu 17.04 Zesty Zapus

    Re: How to Blacklist iwl3945 driver correctly, and replace/whitelist it with ipwraw??

    My post on the other thread asks you to edit /etc/modprobe.d/ipwraw to change it to:
    Code:
    #blacklist ipwraw
    Please do so.

    I also asked you to amend /etc/modules to add:
    Code:
    ipwraw
    Please do so.

    Does this:
    mark@ubuntu:~$ cat /etc/modules
    tell me that you ran the command and nothing appeared? There is a lot of stuff that is supposed to be in there.

    After a reboot, run:
    Code:
    lsmod | grep iwl
    What happens?

    mark@ubuntu:~$ cat /etc/modprobe.d/blacklist
    This one is perfect!!!
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  10. #10
    Join Date
    Aug 2008
    Beans
    425
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: How to Blacklist iwl3945 driver correctly, and replace/whitelist it with ipwraw??

    how to I edit this: edit /etc/modprobe.d/ipwraw

    What do i use to edit this?

    Also how do I amend amend /etc/modules?



    Im a big newbie Chili (plz chil chili)

    im not really sure wha you mean by this, sorry,

    Please do so.

    Does this:
    Quote:
    mark@ubuntu:~$ cat /etc/modules
    tell me that you ran the command and nothing appeared? There is a lot of stuff that is supposed to be in there.

    After a reboot, run:
    Code:

    lsmod | grep iwl

    What happens?

    Quote:
    mark@ubuntu:~$ cat /etc/modprobe.d/blacklist
    This one is perfect!!!

Page 1 of 6 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
  •