Results 1 to 10 of 27

Thread: D-Link DWA-140 B3 and Ubuntu 11.10

Hybrid View

  1. #1
    Join Date
    Jan 2012
    Beans
    7

    D-Link DWA-140 B3 and Ubuntu 11.10

    Hi All,

    I'm quite new to Ubuntu and having problems with my new hardware a D-Link DWA-140 B3.
    It works fine on Win 7.

    I hope you can help me getting the adapter working - The B3 version of the adapter seems to be quite difficult getting to work with the Ubuntu 11.10.

    I've downloaded the driver from Ralink - rt5370sta according to:
    https://help.ubuntu.com/community/Ha...workCardsDlink

    But I need an easy step by step guide.

    I have tried looking for help - but it seems that the B3 version needs special skills.

    An update from lsusb:

    anonym@anonym:~$ lsusb
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 002 Device 002: ID 1058:0910 Western Digital Technologies, Inc. MyBook Essential External HDD
    Bus 004 Device 002: ID 0763:2012 Midiman M-Audio Fast Track Pro
    Bus 004 Device 003: ID 046d:c01e Logitech, Inc. MX518 Optical Mouse
    Bus 005 Device 002: ID 046d:c30f Logitech, Inc. Logicool HID-Compliant Keyboard (106 key)
    Bus 001 Device 005: ID 2001:3c15 D-Link Corp.

    And iwconfig:

    anonym@anonym:~$ iwconfig
    lo no wireless extensions.

    eth0 no wireless extensions.

    eth1 no wireless extensions.

    Thanks for you help!

    Kind regards

    Hans

  2. #2
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    21,462
    Distro
    Ubuntu 15.04 Vivid Vervet

    Re: D-Link DWA-140 B3 and Ubuntu 11.10

    I've downloaded the driver from Ralink - rt5370sta according to:
    Which version? I have version 2.5.0.2 and it doesn't support your device:
    chili@LAPTOP60:~$ modinfo Desktop/Forum/ubuntu_stuff/2011_0407_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.2_DPO/os/linux/rt5370sta.ko | grep 3C15
    chili@LAPTOP60:~$
    Which is to say, no match. Did you download a later version?

    I have a few ideas that may or may not work.
    Bus 001 Device 005: ID 2001:3c15 D-Link Corp.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  3. #3
    Join Date
    Jan 2012
    Beans
    7

    Re: D-Link DWA-140 B3 and Ubuntu 11.10

    I have downloaded this version:
    2011_0225_RT5370_RT5372_Linux_STA_V2.5.0.1_DPO
    But I don't know what to do then...

  4. #4
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    21,462
    Distro
    Ubuntu 15.04 Vivid Vervet

    Re: D-Link DWA-140 B3 and Ubuntu 11.10

    Quote Originally Posted by hmln-dk View Post
    I have downloaded this version:
    2011_0225_RT5370_RT5372_Linux_STA_V2.5.0.1_DPO
    But I don't know what to do then...
    That version isn't going to support your device either. I could teach you to compile it and it would do nothing.

    If you are ready to step off into experimental territory, let's get started with the special skills. Remove the device and in a terminal, do:
    Code:
    sudo gedit /etc/udev/rules.d/network_drivers.rules
    Add one long line:
    Code:
    ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="2001", ATTR{idProduct}=="3c15", RUN+="/sbin/modprobe -qba rt2800usb"
    Caps, brackets, punctuation, etc. are crucial. Proofread twice, save and close gedit.
    Code:
    sudo gedit /etc/modprobe.d/network_drivers.conf
    Add one long single line:
    Code:
    install rt2800usb /sbin/modprobe --ignore-install rt2800usb $CMDLINE_OPTS; /bin/echo "2001 3c15" > /sys/bus/usb/drivers/rt2800/new_id
    Proofread twice, save and close gedit.

    Now download the newer firmware file I've attached to your desktop. Right-click it and select Extract Here. Now, back to the terminal and do:
    Code:
    sudo mv /lib/firmware/rt2870.bin /lib/firmware/rt2870.old
    sudo cp Desktop/RT2870_Firmware_V22/rt2870.bin /lib/firmware
    Insert the device. If it doesn't start immediately, you might have to do:
    Code:
    sudo modprobe rt2800usb
    Please post back with your report.
    Attached Files Attached Files
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  5. #5
    Join Date
    Jan 2012
    Beans
    7

    Re: D-Link DWA-140 B3 and Ubuntu 11.10

    Hello again,

    Thanks for your help!

    Before trying your guidelines - I've found a newer driver!!!
    2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2 .5.0.3_DPO

    It's working - but sometimes disconnects to my network - Would you suggest that I follow your advice anyway? Or could you cure the "disconnect-sickness" ?

    Enclosed details:

    anonym@anonym:~$ lsusb
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 001 Device 004: ID 2001:3c15 D-Link Corp.
    Bus 002 Device 002: ID 1058:0910 Western Digital Technologies, Inc. MyBook Essential External HDD
    Bus 004 Device 002: ID 0763:2012 Midiman M-Audio Fast Track Pro
    Bus 004 Device 003: ID 046d:c01e Logitech, Inc. MX518 Optical Mouse
    Bus 005 Device 002: ID 046d:c30f Logitech, Inc. Logicool HID-Compliant Keyboard (106 key)
    anonym@anonym:~$ sudo ifconfig
    [sudo] password for anonym:
    eth0 Link encap:Ethernet HWaddr 00:1d:7d:0c:d8:1f
    UP BROADCAST MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
    Interrupt:44 Base address:0xc000

    eth1 Link encap:Ethernet HWaddr 00:1d:7d:0c:c2:ff
    UP BROADCAST MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
    Interrupt:45 Base address:0xa000

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:8813 errors:0 dropped:0 overruns:0 frame:0
    TX packets:8813 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:361240 (361.2 KB) TX bytes:361240 (361.2 KB)

    ra0 Link encap:Ethernet HWaddr b8:a3:86:00:f6:21
    inet addr:192.168.1.11 Bcast:192.168.1.255 Mask:255.255.255.0
    inet6 addr: fe80::baa3:86ff:fe00:f621/64 Scope:Link
    UP BROADCAST NOTRAILERS RUNNING PROMISC ALLMULTI MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:709929044 (709.9 MB) TX bytes:18789135 (18.7 MB)

    anonym@anonym:~$ iwconfig
    lo no wireless extensions.

    eth0 no wireless extensions.

    eth1 no wireless extensions.

    ra0 Ralink STA ESSID:"ingen adgang" Nickname:"RT2870STA"
    Mode:Managed Frequency=2.437 GHz Access Point: 00:19:70:66:F1:23
    Bit Rate=130 Mb/s
    RTS thrff Fragment thrff
    Link Quality=73/100 Signal level:-68 dBm Noise level:-83 dBm
    Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
    Tx excessive retries:0 Invalid misc:0 Missed beacon:0

    anonym@anonym:~$

    Kind regards

    Hans

  6. #6
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    21,462
    Distro
    Ubuntu 15.04 Vivid Vervet

    Re: D-Link DWA-140 B3 and Ubuntu 11.10

    Would you suggest that I follow your advice anyway?
    Not yet. If you have a working driver, and at N speeds, I'd try to refine it first. Are there any clues here?
    Code:
    dmesg | grep -e ra0 -e rt5
    sudo cat /var/log/syslog | grep etwork | tail -n20
    We will get the best information if you run these right after a disconnect.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

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
  •