dlink-dwa-125; no errors but no offer of ip address either

i'm using dlink dwa-125

$ lsusb

Bus 001 Device 008: ID 07d1:3c16 D-Link System DWA-125 Wireless N 150 Adapter(rev.A2) [Ralink RT2870]

$ ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 1c:bd:b9:32:d0:4a
           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)

$ iwconfig
lo no wireless extensions.

wlan0 IEEE 802.11bgn ESSID:"2wire185"
           Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm
           Retry long limit:7 RTS thr:off Fragment thr:off
           Power Management:on

i configure my device:

  sudo iwconfig wlan0 essid 2wire185 key 0704575771

no errors, so i presume the driver is loaded

next i start dhclient

  $ sudo dhclient wlan0 -v -d
  Internet Systems Consortium DHCP Client 4.1.1-P1
  Copyright 2004-2010 Internet Systems Consortium.
  All rights reserved.
  For info, please visit https://www.isc.org/software/dhcp/

  Listening on LPF/wlan0/1c:bd:b9:32:d0:4a
  Sending on LPF/wlan0/1c:bd:b9:32:d0:4a
  Sending on Socket/fallback
  DHCPDISCOVER on wlan0 to port 67 interval 3
  DHCPDISCOVER on wlan0 to port 67 interval 4
  DHCPDISCOVER on wlan0 to port 67 interval 6


this is for ubuntu on a bbxm

any ideas?

Can you configure the AP in no encryption and try to associate again?

Not with this one, but I could try with a spare AP tomorrow. Good tip - thanks!

Is encryption a weak point?

I have used this adapter on my beagle bone. Are you using WPA supplicant? Is there any chance of conflict with connmand, network manager, or something else?

Another good idea. Yes, I'm using WPA supplicant, and I did not remove the others. I suspect Ubuntu comes with network manager.

Is connmand a typo or simply something with which I'm not familiar?

Hi, u could try this way:

auto wlan0
iface wlan0 inet dhcp
wpa-driver wext
wpa-ssid NAME_OF_AP
wpa-ap-scan 1
wpa-proto RSN
wpa-pairwise CCMP
wpa-group CCMP
wpa-key-mgmt WPA-PSK

Just add this to /etc/network/interfaces
To get XXXXX hex key use:
wpa_passphrase NAME_OF_AP ASCII_KEY

U will get:


Use psk and replace XXXXX

This should work, must restart network or reboot beagle.

U can see tutorial

and also another way of connect

Hope this helps

Another thing if u use sudo iwconfig wlan0 essid 2wire185 key
This is for a wep encryptation key.
Probably u not have wep but wap or wpa2 key.
WEP is no longuer considered secure link..


yes! that's exactly so. so all the stuff with wpa is totally wrong for me.

i'm not going to change my entire household wireless to wpa right now, although i should.

i need to take your previous email and figure out how to make that work with wep.


It’s used in angstrom with systemd (and Meego if you roll that way).