Results 1 to 6 of 6

Thread: How i got D-Link dwa-140 B2 (3071 chip) to work in lucid 10.04

  1. #1
    Join Date
    Jul 2010
    Beans
    4
    Distro
    Ubuntu 10.04 Lucid Lynx

    Smile How i got D-Link dwa-140 B2 (3071 chip) to work in lucid 10.04

    Note!: you might need to run sudo on most places in this tutorial

    Code:
    $ lsusb | grep D-L
    Bus 002 Device 005: ID 07d1:3c0a D-Link System
    Apparently it is based on 3071 chipset when searching on google

    1. Visit http://www.ralinktech.com/support.php?s=2 and download
    RT8070/RT3070USB(RT307x)

    2. Unpack and enter the directory

    3. Type make

    4. Copy the file os/linux/rt3070sta.ko in to the dir /lib/modules/2.6.32-23-generic/kernel/drivers/net/wireless folder

    4.5 also
    Code:
    $ cp RT2870STA.dat  /etc/Wireless/RT2870STA/RT2870STA.dat
    5. type
    Code:
    $ depmod -a
    6. type
    Code:
    $ modprobe rt3070sta
    7. Blacklist the existing 28xx drivers in /etc/modprobe.d/blacklist.conf by adding the following rows:
    Code:
    blacklist rt2800usb
    blacklist rt2x00usb
    blacklist rt2x00lib
    blacklist rt2870sta
    (make sure that they are not loaded by typing lsmod) (possible restart at this point?)

    8. insert the usb card (it should be working and you should see it in the network manager in gnome)

    9. To get it to load when booting you need to ad an entry in to /etc/modules
    Code:
    rt3070sta
    I also created a file called /etc/modprobe.d/rt3070sta.conf and inserted the row:
    Code:
    alias ra0 rt3070sta
    Note! : I followed the readme README_STA_usb in the driver directory. It is written for 28xx and redhat but most of it is useful
    Last edited by pure_x01; July 30th, 2010 at 10:04 PM.

  2. #2
    Join Date
    Aug 2010
    Beans
    1

    Re: How i got D-Link dwa-140 B2 (3071 chip) to work in lucid 10.04

    Hi

    It seems I installed driver after repeat your tutorial, but i cant connect to my network.

    Code:
    lsusb | grep D-L
    Bus 001 Device 004: ID 07d1:3c0a D-Link System
    Code:
    iwconfig ra0
    ra0       Ralink STA  ESSID:"11n-AP"  Nickname:"RT2870STA"
              Mode:Auto  Frequency=2.412 GHz  Access Point: Not-Associated
              Bit Rate:1 Mb/s
              RTS thr:off   Fragment thr:off
              Link Quality=100/100  Signal level:-41 dBm  Noise level:-91 dBm
              Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
              Tx excessive retries:0  Invalid misc:0   Missed beacon:0
    Code:
    lsmod | grep ^rt
    rt3070sta             640902  1
    Any solutions?

    Thanks

  3. #3
    Join Date
    May 2008
    Location
    Sunnyvale
    Beans
    2
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: How i got D-Link dwa-140 B2 (3071 chip) to work in lucid 10.04

    There's another way. Go to D-Link.com and download the linux driver.

    These are the instructions
    Driver Install:
    Please use following command
    > sudo tar xvf 2010_0413_RT3070_Linux_STA_v2.1.3.0.tar.gz
    > cd 2010_0413_RT3070_Linux_STA_v2.1.3.0
    > sudo make
    > sudo make install
    #plugin the DWA-140(USB device) then the driver should be loadup by system.
    # now user may use "networkmanager" to site survey and connect to AP.

    Worked flawlessly. It was remarkably easy. My 11 year old felt he could do it.

    Still works on 10.10 rc.

  4. #4
    Join Date
    Oct 2007
    Beans
    6

    Re: How i got D-Link dwa-140 B2 (3071 chip) to work in lucid 10.04

    On 2.6.35 kernels need to patch Ralink linux drivers RT2870USB(RT2870/RT2770) 07/09/2010 2.4.0.1 for compile without errors.

    So, download official driver RT2870USB(RT2870/RT2770)...
    then
    Code:
    tar xvf 2010_0709_RT2870_Linux_STA_v2.4.0.1.tar.bz2
    cd 2010_0709_RT2870_Linux_STA_v2.4.0.1/
    wget -qO- http://www.linuxcrew.de/wp-content/uploads/2010/10/rt2870sta_usb_kernel2635.patch | patch -ul -p0
    make
    sudo make install
    More info here.

  5. #5
    Join Date
    Oct 2007
    Beans
    6

    Re: How i got D-Link dwa-140 B2 (3071 chip) to work in lucid 10.04

    Update... (previous don't work normally with H/W Ver.: B2 ID 07d1:3c0a )
    Need to download RT8070/RT3070/RT3370 USB 08/31/2010 2.5.0.1
    for D-Link DWA-140 H/W Ver.: B2 ID 07d1:3c0a (looks like D-Link 3072 chip).
    Add MODULE_LICENSE("GPL"); into the os/linux/usb_main_dev.c for normal compile. (and maybe sudo mkdir /tftpboot can help too).
    Set up in os/linux/config.mk :
    HAS_WPA_SUPPLICANT=y
    HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y

    Code:
    cp RT2870STA.dat  /etc/Wireless/RT2870STA/RT2870STA.dat
    make
    sudo insmod os/linux/rt3070sta.ko
    Working good with 130M connection speed (real 85/65 speedtest speed).
    Last edited by DJArty; February 8th, 2011 at 11:13 AM.

  6. #6
    Join Date
    Jan 2009
    Beans
    136
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: How i got D-Link dwa-140 B2 (3071 chip) to work in lucid 10.04

    Quote Originally Posted by rathodsa View Post
    There's another way. Go to D-Link.com and download the linux driver.

    These are the instructions
    Driver Install:
    Please use following command
    > sudo tar xvf 2010_0413_RT3070_Linux_STA_v2.1.3.0.tar.gz
    > cd 2010_0413_RT3070_Linux_STA_v2.1.3.0
    > sudo make
    > sudo make install
    #plugin the DWA-140(USB device) then the driver should be loadup by system.
    # now user may use "networkmanager" to site survey and connect to AP.

    Worked flawlessly. It was remarkably easy. My 11 year old felt he could do it.

    Still works on 10.10 rc.
    Not sure if I see the place to download any drivers on D-Link (

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
  •