Results 1 to 7 of 7

Thread: D-link dwa 140 on 17.04

  1. #1
    Join Date
    Apr 2017
    Beans
    4

    D-link dwa 140 on 17.04

    So I've seen many posts about this but from years ago. I am trying to use a d-link usb wifi adapter but when trying to connect to wifi, it hangs in the "connecting" stage then immediately disconnects.

    Has anyone found a solution or have solved this on their own?

  2. #2
    Join Date
    Feb 2008
    Location
    Texas
    Beans
    22,911
    Distro
    Ubuntu 17.10 Artful Aardvark

    Re: D-link dwa 140 on 17.04

    Click on the wireless script in my signature and follow the directions for running it and posting the link created to pastebin here.

  3. #3
    Join Date
    Apr 2017
    Beans
    4

    Re: D-link dwa 140 on 17.04

    Sorry it took me so long got busy. Here's the link https://pastebin.com/beBdU3EH

  4. #4
    Join Date
    Feb 2008
    Location
    Texas
    Beans
    22,911
    Distro
    Ubuntu 17.10 Artful Aardvark

    Re: D-link dwa 140 on 17.04

    Please do:
    Code:
    echo "options rt2800usb nohwcrypt=y" | sudo tee /etc/modprobe.d/rt2800usb.conf 
    sudo modprobe -rfv rt2800usb 
    sudo modprobe -v rt2800usb
    Then:
    Code:
    sudo sed -i 's/wifi.powersave = 3/wifi.powersave = 2/' /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf
    Then open the file with your text editor, if you need more directions just ask:
    Code:
    sudo -H gedit /etc/NetworkManager/NetworkManager.conf
    add lines
    Code:
    [device]
    wifi.scan-rand-mac-address=0
    Save and close file then reboot.

    Unplug your wired connection.

  5. #5
    Join Date
    Apr 2017
    Beans
    4

    Re: D-link dwa 140 on 17.04

    Worked flawlessly. Thank you so much, I'm trying to save an old custom PC and there is no wifi card.

  6. #6
    Join Date
    Feb 2008
    Location
    Texas
    Beans
    22,911
    Distro
    Ubuntu 17.10 Artful Aardvark

    Re: D-link dwa 140 on 17.04

    Another computer?

  7. #7
    Join Date
    Feb 2008
    Location
    Texas
    Beans
    22,911
    Distro
    Ubuntu 17.10 Artful Aardvark

    Re: D-link dwa 140 on 17.04

    Your welcome! please go to the top of the page and use thread tools to mark this thread solved.
    Enjoy!

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
  •