Ubuntu – 14.04 wifi ndisgtk drivers and getting card working

14.04wireless

i am completely new to ubuntu. I think i was successful in installing ndisgtk and using the gui to install drivers for my wireless network card. i get a rt2860 hardware present and tried to configure my network. I am at a loss at this point as i am unable to connect with wireless.

any help or walk through in command prompts to see what I did wrong would be wonderful.

Best Answer

  • First, I suggest you remove the incorrect ndiswrapper driver:

    sudo ndiswrapper -e rt2860
    

    Next, with a temporary internet connection, by ethernet or whatever neans possible, do:

    sudo apt-get install build-essential linux-headers-generic git
    cd ~
    git clone https://github.com/mareksuscak/asus-pce-n53-linux.git
    cd asus-pce-n53-linux
    sudo make
    sudo make install
    sudo modprobe rt5592sta  
    

    Let us know your result as we will probably have one additional step.

    If you run into trouble, backtrack and run these exact steps in order:

    sudo apt-get update && sudo apt-get dist-upgrade
    

    Reboot and then:

    cd ~/asus-pce-n53-linux
    sudo make clean
    sudo make
    sudo make install
    

    Please be certain that you don't see any errors. If you do, stop and ask. sudo make install should include, at the very end:

    install -m 644 -c rt5592sta.ko /lib/modules/4.0.1-040001-generic/kernel/drivers/net/wireless/ /sbin/depmod -a 4.0.1-040001-generic make[1]: Leaving directory '/home/chili/asus-pce-n53-linux/os/linux'

    If so, load the driver:

    sudo modprobe rt5592sta
    

    It is not ndiswrapper that needs to be added to /etc/modules but rt5592sta. Please do:

    gksudo gedit /etc/modules
    

    Use nano or kate or leafpad if you don't have the text editor gedit. Remove the line ndiswrapper; add a new line rt5592sta. Proofread carefully, save and close the text editor.

    Reboot. Is your wireless working as expected?

    You have compiled the driver for your currently running kernel version only. When Update Manager installs a later kernel, also known as linux-image, you must recompile after the requested reboot:

    cd ~/asus-pce-n53-linux
    sudo make clean
    sudo make
    sudo make install
    sudo modprobe rt5592sta
    

    Please retain the file and these instructions for that time.