Page 4 of 5 FirstFirst ... 2345 LastLast
Results 31 to 40 of 50

Thread: D-Link DWA 140 USB on v9.10

  1. #31
    Join Date
    Jan 2010
    Location
    Sweden
    Beans
    1
    Distro
    Ubuntu

    Re: D-Link DWA 140 USB on v9.10

    i had to use the 3070 driver from the ralink page to get my dwa 140 rev.b to work. give it a try
    this
    Last edited by traxi; January 3rd, 2010 at 03:27 AM.

  2. #32
    Join Date
    Sep 2009
    Beans
    4

    Re: D-Link DWA 140 USB on v9.10

    ubuntu.fr has an excellent how-to:

    http://translate.google.com/translat...3c0a%26hl%3Den

  3. #33
    Join Date
    Sep 2009
    Beans
    9
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: D-Link DWA 140 USB on v9.10

    Hey guys!

    Just tried the guide provided here: http://translate.googleusercontent.c...ink_dwa-140_b2

    And i still cant get it to work

    My syslog says this after pluging the adapter in:

    Code:
    Jan  3 18:01:38 ra-ws kernel: [  368.982578] usb 1-1: USB disconnect, address 6
    Jan  3 18:01:38 ra-ws kernel: [  368.982696] rtusb_disconnect: unregister usbnet usb-0000:00:1d.7-1
    Jan  3 18:01:38 ra-ws kernel: [  368.982701] RtmpOSNetDevDetach(): RtmpOSNetDeviceDetach(), dev->name=ra0!
    Jan  3 18:01:38 ra-ws NetworkManager: <info>  (ra0): now unmanaged
    Jan  3 18:01:38 ra-ws NetworkManager: <info>  (ra0): device state change: 2 -> 1 (reason 36)
    Jan  3 18:01:38 ra-ws NetworkManager:    SCPlugin-Ifupdown: devices removed (path: /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-1/net/ra0, iface: ra0)
    Jan  3 18:01:38 ra-ws kernel: [  369.050086]  RTUSB disconnect successfully
    Jan  3 18:01:42 ra-ws kernel: [  373.030026] usb 1-1: new high speed USB device using ehci_hcd and address 7
    Jan  3 18:01:43 ra-ws kernel: [  373.195531] usb 1-1: configuration #1 chosen from 1 choice
    Jan  3 18:01:43 ra-ws kernel: [  373.196225] 
    Jan  3 18:01:43 ra-ws kernel: [  373.196226] 
    Jan  3 18:01:43 ra-ws kernel: [  373.196227] === pAd = ffffc900076fc000, size = 502624 ===
    Jan  3 18:01:43 ra-ws kernel: [  373.196228] 
    Jan  3 18:01:43 ra-ws kernel: [  373.196231] <-- RTMPAllocAdapterBlock, Status=0
    Jan  3 18:01:43 ra-ws NetworkManager:    SCPlugin-Ifupdown: devices added (path: /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-1/net/ra0, iface: ra0)
    Jan  3 18:01:43 ra-ws NetworkManager:    SCPlugin-Ifupdown: device added (path: /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-1/net/ra0, iface: ra0): no ifupdown configuration found.
    Jan  3 18:01:43 ra-ws NetworkManager: <info>  (ra0): driver does not support SSID scans (scan_capa 0x00).
    Jan  3 18:01:43 ra-ws NetworkManager: <info>  (ra0): new 802.11 WiFi device (driver: 'usb')
    Jan  3 18:01:43 ra-ws NetworkManager: <info>  (ra0): exported as /org/freedesktop/NetworkManager/Devices/5
    Jan  3 18:01:43 ra-ws NetworkManager: <info>  (ra0): now managed
    Jan  3 18:01:43 ra-ws NetworkManager: <info>  (ra0): device state change: 1 -> 2 (reason 2)
    Jan  3 18:01:43 ra-ws NetworkManager: <info>  (ra0): bringing up device.
    Jan  3 18:01:43 ra-ws kernel: [  373.210058] #
    Jan  3 18:01:43 ra-ws kernel: [  373.230067] #
    Jan  3 18:01:43 ra-ws kernel: [  373.250075] #
    Jan  3 18:01:43 ra-ws kernel: [  373.260177] #
    Jan  3 18:01:43 ra-ws kernel: [  373.270086] #
    Jan  3 18:01:43 ra-ws kernel: [  373.280089] #
    Jan  3 18:01:43 ra-ws kernel: [  373.290094] #
    Jan  3 18:01:43 ra-ws kernel: [  373.310103] #
    Jan  3 18:01:43 ra-ws kernel: [  373.320107] #
    Jan  3 18:01:43 ra-ws kernel: [  373.330112] #
    Jan  3 18:01:43 ra-ws kernel: [  373.340116] #
    Jan  3 18:01:43 ra-ws kernel: [  373.350121] #
    Jan  3 18:01:43 ra-ws kernel: [  373.360126] #
    Jan  3 18:01:43 ra-ws kernel: [  373.410148] #
    Jan  3 18:01:43 ra-ws kernel: [  373.430032] #
    Jan  3 18:01:43 ra-ws kernel: [  373.450041] #
    Jan  3 18:01:43 ra-ws kernel: [  373.470050] #
    Jan  3 18:01:43 ra-ws kernel: [  373.490059] #
    Jan  3 18:01:43 ra-ws kernel: [  373.500062] #
    Jan  3 18:01:43 ra-ws kernel: [  373.510069] #
    Jan  3 18:01:43 ra-ws kernel: [  373.520073] #
    Jan  3 18:01:43 ra-ws kernel: [  373.530077] #
    Jan  3 18:01:43 ra-ws kernel: [  373.540083] #
    Jan  3 18:01:43 ra-ws kernel: [  373.550087] #
    Jan  3 18:01:43 ra-ws kernel: [  373.560092] #
    Jan  3 18:01:43 ra-ws kernel: [  373.570096] #
    Jan  3 18:01:43 ra-ws kernel: [  373.580100] #
    Jan  3 18:01:43 ra-ws kernel: [  373.590105] #
    Jan  3 18:01:43 ra-ws kernel: [  373.600110] #
    Jan  3 18:01:43 ra-ws kernel: [  373.610114] #
    Jan  3 18:01:43 ra-ws kernel: [  373.628669] <-- RTMPAllocTxRxRingMemory, Status=0
    Jan  3 18:01:43 ra-ws kernel: [  373.630124] #
    Jan  3 18:01:43 ra-ws kernel: [  373.635375] -->RTUSBVenderReset
    Jan  3 18:01:43 ra-ws kernel: [  373.635500] <--RTUSBVenderReset
    Jan  3 18:01:43 ra-ws kernel: [  373.690026] #
    Jan  3 18:01:43 ra-ws kernel: [  373.710035] #
    Jan  3 18:01:43 ra-ws kernel: [  373.730044] #
    Jan  3 18:01:43 ra-ws kernel: [  373.750052] #
    Jan  3 18:01:43 ra-ws kernel: [  373.770062] #
    Jan  3 18:01:43 ra-ws kernel: [  373.780066] #
    Jan  3 18:01:43 ra-ws kernel: [  373.790072] #
    Jan  3 18:01:43 ra-ws kernel: [  373.800076] #
    Jan  3 18:01:43 ra-ws kernel: [  373.810081] #
    Jan  3 18:01:43 ra-ws kernel: [  373.820085] #
    Jan  3 18:01:43 ra-ws kernel: [  373.830089] #
    Jan  3 18:01:43 ra-ws kernel: [  373.840094] #
    Jan  3 18:01:43 ra-ws kernel: [  373.850098] #
    Jan  3 18:01:43 ra-ws kernel: [  373.860103] #
    Jan  3 18:01:43 ra-ws kernel: [  373.870108] #
    Jan  3 18:01:43 ra-ws kernel: [  373.880112] #
    Jan  3 18:01:43 ra-ws kernel: [  373.890117] #
    Jan  3 18:01:43 ra-ws kernel: [  373.900121] #
    Jan  3 18:01:43 ra-ws kernel: [  373.910126] #
    Jan  3 18:01:43 ra-ws kernel: [  373.970028] #
    Jan  3 18:01:43 ra-ws kernel: [  373.990037] #
    Jan  3 18:01:43 ra-ws kernel: [  374.010046] #
    Jan  3 18:01:43 ra-ws kernel: [  374.027940] RtmpOSFileOpen(): Error 2 opening /etc/Wireless/RT2870STA/RT2870STA.dat
    Jan  3 18:01:43 ra-ws kernel: [  374.027943] Open file "/etc/Wireless/RT2870STA/RT2870STA.dat" failed!
    Jan  3 18:01:43 ra-ws kernel: [  374.027946] 1. Phy Mode = 0
    Jan  3 18:01:43 ra-ws kernel: [  374.027948] ERROR!!! NICReadRegParameters failed, Status[=0x00000001]
    Jan  3 18:01:43 ra-ws NetworkManager: <info>  (ra0): deactivating device (reason: 2).
    Jan  3 18:01:43 ra-ws kernel: [  374.034309] ---> RTMPFreeTxRxRingMemory
    Jan  3 18:01:43 ra-ws kernel: [  374.034336] <--- RTMPFreeTxRxRingMemory
    Jan  3 18:01:43 ra-ws kernel: [  374.034339] !!! rt28xx Initialized fail !!!
    Jan  3 18:01:43 ra-ws kernel: [  374.040062] #
    Jan  3 18:01:43 ra-ws kernel: [  374.050064] #
    Jan  3 18:01:43 ra-ws kernel: [  374.060070] #
    Jan  3 18:01:44 ra-ws kernel: [  374.070075] #
    Jan  3 18:01:44 ra-ws kernel: [  374.191379] #
    Jan  3 18:01:44 ra-ws kernel: [  374.240151] #
    Jan  3 18:01:44 ra-ws kernel: [  374.260035] #
    Jan  3 18:01:44 ra-ws kernel: [  374.280044] #
    Jan  3 18:01:44 ra-ws kernel: [  374.310058] #
    Jan  3 18:01:44 ra-ws kernel: [  374.330067] #
    Jan  3 18:01:44 ra-ws kernel: [  374.340143] #
    Jan  3 18:01:44 ra-ws kernel: [  374.350076] #
    Jan  3 18:01:44 ra-ws kernel: [  374.360081] #
    Jan  3 18:01:44 ra-ws kernel: [  374.376997] <-- RTMPAllocTxRxRingMemory, Status=0
    Jan  3 18:01:44 ra-ws kernel: [  374.378588] -->RTUSBVenderReset
    Jan  3 18:01:44 ra-ws kernel: [  374.378714] <--RTUSBVenderReset
    Jan  3 18:01:44 ra-ws kernel: [  374.380218] #
    Jan  3 18:01:44 ra-ws kernel: [  374.390094] #
    Jan  3 18:01:44 ra-ws kernel: [  374.400100] #
    Jan  3 18:01:44 ra-ws kernel: [  374.410104] #
    Jan  3 18:01:44 ra-ws kernel: [  374.420108] #
    Jan  3 18:01:44 ra-ws kernel: [  374.430112] #
    Jan  3 18:01:44 ra-ws kernel: [  374.440117] #
    Jan  3 18:01:44 ra-ws kernel: [  374.450121] #
    Jan  3 18:01:44 ra-ws kernel: [  374.460126] #
    Jan  3 18:01:44 ra-ws kernel: [  374.520028] #
    Jan  3 18:01:44 ra-ws kernel: [  374.540037] #
    Jan  3 18:01:44 ra-ws kernel: [  374.560047] #
    Jan  3 18:01:44 ra-ws kernel: [  374.580056] #
    Jan  3 18:01:44 ra-ws kernel: [  374.590062] #
    Jan  3 18:01:44 ra-ws kernel: [  374.600065] #
    Jan  3 18:01:44 ra-ws kernel: [  374.610070] #
    Jan  3 18:01:44 ra-ws kernel: [  374.620074] #
    Jan  3 18:01:44 ra-ws kernel: [  374.630078] #
    Jan  3 18:01:44 ra-ws kernel: [  374.640083] #
    Jan  3 18:01:44 ra-ws kernel: [  374.650110] #
    Jan  3 18:01:44 ra-ws kernel: [  374.660108] #
    Jan  3 18:01:44 ra-ws kernel: [  374.670097] #
    Jan  3 18:01:44 ra-ws kernel: [  374.680109] #
    Jan  3 18:01:44 ra-ws kernel: [  374.690106] #
    Jan  3 18:01:44 ra-ws kernel: [  374.700112] #
    Jan  3 18:01:44 ra-ws kernel: [  374.710114] #
    Jan  3 18:01:44 ra-ws kernel: [  374.720121] #
    Jan  3 18:01:44 ra-ws kernel: [  374.730124] #
    Jan  3 18:01:44 ra-ws kernel: [  374.800030] #
    Jan  3 18:01:44 ra-ws kernel: [  374.807045] RtmpOSFileOpen(): Error 2 opening /etc/Wireless/RT2870STA/RT2870STA.dat
    Jan  3 18:01:44 ra-ws kernel: [  374.807048] Open file "/etc/Wireless/RT2870STA/RT2870STA.dat" failed!
    Jan  3 18:01:44 ra-ws kernel: [  374.807051] 1. Phy Mode = 0
    Jan  3 18:01:44 ra-ws kernel: [  374.807053] ERROR!!! NICReadRegParameters failed, Status[=0x00000001]
    Jan  3 18:01:44 ra-ws wpa_supplicant[1115]: Could not set interface 'ra0' UP
    Jan  3 18:01:44 ra-ws wpa_supplicant[1115]: Failed to initialize driver interface
    Jan  3 18:01:44 ra-ws NetworkManager: <WARN>  nm_supplicant_interface_add_cb(): Unexpected supplicant error getting interface: wpa_supplicant couldn't grab this interface.
    Jan  3 18:01:44 ra-ws kernel: [  374.813411] ---> RTMPFreeTxRxRingMemory
    Jan  3 18:01:44 ra-ws kernel: [  374.813438] <--- RTMPFreeTxRxRingMemory
    Jan  3 18:01:44 ra-ws kernel: [  374.813441] !!! rt28xx Initialized fail !!!
    The networkmanager applet says that there is a wireless card but says "Device not ready" ofc.

    Anyone that knows what could have happened?

    I have a DWA-140 B2. Ubuntu 9.10 with kernel 2.6.31-14-generic

    Thanks in advance.

    /RD

  4. #34
    Join Date
    Sep 2009
    Beans
    9
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: D-Link DWA 140 USB on v9.10

    Im a newbe so please correct me if im wrong, but it shouldnt even try to load the rt2870sta driver like the syslog says, right?

    Really dont know what went wrong here... a cut out from the blacklist file looks like this btw:

    Code:
    # Wifi issue
    blacklist rt2800usb
    blacklist rt2870sta
    blacklist rt2x00usb
    blacklist rt2x00lib
    all according to the the guide.

    br,

    RD

  5. #35
    Join Date
    Sep 2009
    Beans
    9
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: D-Link DWA 140 USB on v9.10

    Ok, so it was a quite simple error when all came around.
    It tried to open "/etc/Wireless/RT2870STA/RT2870STA.dat", but the driver installation only created that file in a folder called 3070. So when moved, all worked.

    However, i do find that the speed and the stabillity is really low on this wifi dongle. anyone else that feels the same or is it just my setup perhaps.

    br,

    RD

  6. #36
    Join Date
    Sep 2009
    Beans
    4

    Re: D-Link DWA 140 USB on v9.10

    i found some speed and stability problems here but i overcame most of them when i removed windows from the mix.

    i was using this as an smb file transfer conduit and found that
    1/ windows slowed this thing down to ~2MB/s w/ frequent dropouts
    2/ even w/out windows in the mix (running between 2 linux boxes only) the speed was ~3-4MB/s w/ frequent dropouts

    i tested by running some file transfers over sftp and between the 2 linux machines my speed increased to ~10MB/s (this is with a t100 ethernet in the mix). basically saturated the t100 line.

    so i replaced samba with nfs and now it is able to maintain the 10MB/s speed over time, so basically i am happy.

    not sure what windows' issues are. won't be testing.

    proctor

  7. #37
    Join Date
    Jun 2008
    Beans
    503

    Re: D-Link DWA 140 USB on v9.10

    I got mine working again with linux-backports-modules-2.6.31.

    However, can't get it to connect at anything but 54g. So no N mode. Any ideas?

  8. #38
    Join Date
    Sep 2009
    Beans
    4

    Re: D-Link DWA 140 USB on v9.10

    Quote Originally Posted by proctor-the-doctor View Post
    i found some speed and stability problems here but i overcame most of them when i removed windows from the mix.
    the speed was ~3-4MB/s w/ frequent dropouts

    i tested by running some file transfers over sftp and between the 2 linux machines my speed increased to ~10MB/s (this is with a t100 ethernet in the mix). basically saturated the t100 line.

    so i replaced samba with nfs and now it is able to maintain the 10MB/s speed over time, so basically i am happy.

    not sure what windows' issues are. won't be testing.

    proctor
    update:
    i tried with a gigabit cable and was not able to get much faster than 13MB/s. so not as fast as i had hoped. not sure what the bottleneck is at this point.

    proctor

  9. #39
    Join Date
    Jan 2008
    Location
    Australia
    Beans
    24
    Distro
    Xubuntu 9.10 Karmic Koala

    Re: D-Link DWA 140 USB on v9.10

    Quote Originally Posted by ktuomain View Post
    Could you run lsusb command and check if the device id is 07d1:3c09? For example my DWA-140 shows the following information when I run lsusb:

    Bus 001 Device 002: ID 07d1:3c09 D-Link System DWA-140 802.11n Adapter [ralink rt2870]

    Sometimes device manufacturers use same model number even when they change the chipset that is used. That could explain why that blacklist trick doesn't work, but all of this is just speculation as I don't know whether you have the same chipset or not.
    Quote Originally Posted by bkratz View Post
    I just looked at the D-Link website and there are two versions available;

    The original DWA-140 uses the Ralink rt2870 drivers (has a Linux driver available) and the DWA-140 Rev B which doesn't use the Ralink driver and has only Windows drivers listed which would require ndiswrapper. The version is listed on the stick-on label. Unfortunately you can't see this when purchasing.
    Quote Originally Posted by graabein View Post
    Installed ndiswrapper and ndisgtk from Karmic Koala package repository. Installed driver from included CD, DWA-140 ver 1.31(E).

    Upon launching ndisgtk I get an error message "Unable to see if harware is present". Click OK. Then it says "Currently installed Windows Drivers: drt2870 hardware present."

    $ lsusb
    Bus 002 Device 004: ID 058f:6362 Alcor Micro Corp. Hi-Speed 21-in-1 Flash Card Reader/Writer (Internal/External)
    Bus 002 Device 002: ID 07d1:3c0a D-Link System
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 004 Device 002: ID 046d:c05a Logitech, Inc.
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 001 Device 002: ID 1b1c:0b29
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Hi. When I first tried this adapter with a Karmic live cd a few weeks ago, it didn't work for me either. It worked out of the box with Jaunty, so I didn't install. A little bit of investigation today and I managed to get it working with a live Karmic cd (I'm posting from it right now)

    It's labeled H/W Ver.:B1 F/W Ver.:1.40 and lsusb shows it's Device ID as ID 07d1:3c09 D-Link System DWA-140 802.11n Adapter [ralink rt2870]

    In Jaunty lsmod shows the kernel module rt2870sta is loaded and not rt2800usb. In Karmic, lsmod shows both rt2870sta & rt2800usb are loaded (as well as rt2x00usb and rt2x00lib)

    Blacklisting just rt2800usb didn't work for me but blacklisting all three of these modules did, as explained in the blacklisting section of this tutorial....

    It worked on two different machines, and all I did was boot the live cd without the adapter plugged in, edit (with sudo) /etc/modprobe.d/blacklist.conf to show

    blacklist rt2800usb
    blacklist rt2x00usb
    blacklist rt2x00lib

    then plugged in the adapter. Lights came on and it connected with internet access. On one machine I had to issue
    sudo /etc/init.d/network-manager restart
    to get the nm-applet to connect...

    If you've being trying with ndiswrapper you should also add...

    blacklist ndiswrapper

    On a side note, to get the same adapter working in Debian on my laptop, I had to follow the same method as Oblio, building the rt2870sta module from the source tarball on the D-Link website, and swap it with the Debian kernel module, but try the blacklist method first...

    I'm thinking I might install Karmic now. Will post back when it's finished....
    Last edited by Ginsly; January 21st, 2010 at 04:05 PM.

  10. #40
    Join Date
    Aug 2008
    Beans
    2

    Re: D-Link DWA 140 USB on v9.10

    I'm using a D-Link DWA-140 B1 wireless USB adapter with Ubuntu 9.10. I could see my wireless router and many others, but my password was being rejected.

    Blacklisting rt2800usb and rebooting worked for me. Now, if you'll excuse me, I'm going to go perform a rain dance on the front lawn.

    Thanks, ktuomain!

Page 4 of 5 FirstFirst ... 2345 LastLast

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
  •