I am trying to use my D-Link wireless dongle (DWA-140) to connect to my wireless network. After some searching I found out that I needed the RT2870 wireless lan Linux driver. The installation of this driver succeeded without any problems and after that I could use my hardware, because:
iwconfig lo no wireless extensions. eth0 no wireless extensions. pan0 no wireless extensions. ra0 Ralink STA ESSID:"" Nickname:"RT2870STA" Mode:Auto Frequency=2.412 GHz Bit Rate=1 Mb/s RTS thr:off Fragment thr:off Link Quality=10/100 Signal level:0 dBm Noise level:0 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0
And when I scanned for the available networks I got:
iwlist ra0 scan ra0 Scan completed : Cell 01 - Address: 00:22:3F:91:15:89 Protocol:802.11b/g/n ESSID:"tackwlan" Mode:Managed Frequency:2.412 GHz (Channel 1) Quality:50/100 Signal level:-70 dBm Noise level:-92 dBm Encryption key:on Bit Rates:54 Mb/s IE: Unknown: DD0E0050F204104A0001101044000102
After submitting the command
sudo iwconfig ra0 essid "networkname" key "networkkey"
I assumed everything should be OK, but I still have access to the internet (I made sure that the name and key were correct). When I open NetworkManager, it only shows the wired connections (which are not available).
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 07d1:3c09 D-Link System DWA-140 802.11n Adapter [ralink rt2870]
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
lsb_release -d Description: Ubuntu 8.10