chenhaiq / mt7610u_wifi_sta_v3002_dpo_20130916

Modified usb wifi driver for TP_link TL-WDN5200
MIT License
132 stars 116 forks source link

Can't get an IP with DHCP client #12

Closed 0katz closed 8 years ago

0katz commented 8 years ago

I'm trying to assign an ip address to my wireless card with TP-Link T2UH with dhclient ra0 but it's not working does anyone know an alternative way of assigning an ip to my wireless card or what I'm doing wrong? I wrote in terminal

ifconfig ra0 up
sudo iwpriv ra0 set SiteSurvey=1
sudo iwpriv ra0 get_site_survey

`iwpriv ra0 set NetworkType=Infra iwpriv ra0 set AuthMode=WPA2PSK iwpriv ra0 set EncrypType=AES iwpriv ra0 set SSID="AP's SSID" iwpriv ra0 set WPAPSK="Test" iwpriv ra0 set SSID="AP's SSID

iwconfig ra0

output

Ralink STA ESSID:"11n-AP\x0D" Nickname:"MT7610U_STA" Mode:Auto Frequency=2.412 GHz Access Point: Not-Associated
Bit Rate:1 Mb/s
RTS thr:off Fragment thr:off Encryption key: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 "` I don't really understand what link quality means but I know I should have an AP MAC and encryption key. And mine doesn't which means my AP is not connected. I'm following the instructions from the tp-link pdf provided on their website for linux for this specific driver and no luck any suggestions?