Page 4 of 4 FirstFirst ... 234
Results 31 to 35 of 35

Thread: Installing appropriate driver for D-Link Dwa-140 RevB

  1. #31
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    26,047
    Distro
    Ubuntu Development Release

    Re: Installing appropriate driver for D-Link Dwa-140 RevB

    Here is a snip from the file I have. It may or may not agree with yours exactly. I've added notations:
    2> In Makefile
    set the "MODE = STA" in Makefile and chose the TARGET to Linux by set "TARGET = LINUX"
    define the linux kernel source include file path LINUX_SRC
    modify to meet your need.
    ++Probably already done, you can safely ignore++

    3> In os/linux/config.mk
    define the GCC and LD of the target machine
    define the compiler flags CFLAGS
    modify to meet your need.
    ++Probably already done, you can safely ignore++

    ** Build for being controlled by NetworkManager or wpa_supplicant wext functions
    Please set 'HAS_WPA_SUPPLICANT=y' and 'HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y'.
    ++Probably not done and needed. Please see below.++
    => #>cd wpa_supplicant-x.x
    => #>./wpa_supplicant -Dwext -ira0 -c wpa_supplicant.conf -d
    ** Build for being controlled by WpaSupplicant with Ralink Driver
    Please set 'HAS_WPA_SUPPLICANT=y' and 'HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n'.
    => #>cd wpa_supplicant-0.5.7
    => #>./wpa_supplicant -Dralink -ira0 -c wpa_supplicant.conf -d
    ++You can skip all this.++
    Please open os/linux/config.mk with any text editor and change as shown. All before and after is unchanged:
    # Support AP-Client function
    HAS_APCLI=n

    # Support Wpa_Supplicant
    HAS_WPA_SUPPLICANT=y


    # Support Native WpaSupplicant for Network Maganger
    HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y

    #Support Net interface block while Tx-Sw queue full
    HAS_BLOCK_NET_IF=n
    Proofread carefully, save and close the text editor.

    In the next post, we compile.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.

  2. #32
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    26,047
    Distro
    Ubuntu Development Release

    Re: Installing appropriate driver for D-Link Dwa-140 RevB

    Assuming the file you extracted is on your desktop, open a terminal and do:
    Code:
    cd Desktop/2011
    Press Tab and the rest will fill in automagically. Pretty cool, eh? Press Enter. Now do:
    Code:
    sudo su
    make
    make install
    modprobe rt5370sta
    exit
    Is your wireless working now?

    Mrs. Chili has informed me I am taking her out to lunch, so please succeed quickly!
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.

  3. #33
    Join Date
    Oct 2012
    Beans
    8

    Re: Installing appropriate driver for D-Link Dwa-140 RevB

    changed the os/linux/config.mk as shown, proofread twice.

  4. #34
    Join Date
    Oct 2012
    Beans
    8

    Re: Installing appropriate driver for D-Link Dwa-140 RevB

    it works!!!! :O it works!!!!! :O thank you so so much appreciate it! have fun and enjoy your meal!!

  5. #35
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    26,047
    Distro
    Ubuntu Development Release

    Re: Installing appropriate driver for D-Link Dwa-140 RevB

    Awesome! Glad it's working. When Update Manager installs a newer kernel, known in Ubuntu as linux-image, you'll need to rebuild the module for the newer kernel:
    Code:
    sudo su
    make clean
    make
    make install
    modprobe rt5370sta
    exit
    Please retain these instructions and the folder you extracted so you'll know what to do when the time comes.

    Have fun!
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.

Page 4 of 4 FirstFirst ... 234

Tags for this Thread

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
  •