This post will show you how to configure the D-Link DWA-125 wireless USB adapter in managed mode.
From the menu Preferences, open the Network Connections tool.
Using the button Add, create one entry for the interface. There are two entries in this example, Wireless connection 1 and 2.
Under the tab Wireless, enter the SSID of your network. The Infrastructure mode must be selected. You also need to enter the MAC address of the adapter (can be obtained from the label on the back of the adapter or using the Linux command ifconfig).
Under the tab IPv4 Settings, select the Automatic (DHCP) Method.
Under the tab Wireless Security, select the security protocol and enter the parameters specific to your network.
Several security protocols are available, as shown below.
Click the button Apply at the end. If everything goes well, the OS posts the following feedback to the user:
The Linux command iwconfig should return a result similar to this.
ra0 Ralink STA ESSID:”useay” Nickname:”RT2870STA”
Mode:Managed Frequency=2.462 GHz Access Point: 00:90:96:9F:26:BB
Bit Rate=54 Mb/s
RTS thr:off Fragment thr:off
Encryption key:XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XX
Link Quality=100/100 Signal level:-53 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
Note that the WEP key is posted in clear and has been erased in this example.






Posted by ve3emb