wraith-wireless / PyRIC

Python wireless library for Linux
http://wraith-wireless.github.io/PyRIC
Other
93 stars 51 forks source link

iw connect not connecting #21

Closed wraith-wireless closed 7 years ago

wraith-wireless commented 7 years ago

iw connect (on open network) returns status of successful connect but there is no connection

Able to replicate this in pyw, getting a status of SUCCESS but no connection is made.

?> sudo iw dev alfa0 connect -w ******net d8:c7:c8:**:**:** 
    alfa0 (phy #1): connected to d8:c7:c8:**:**:**
?>
?> iwconfig
      alfa0     IEEE 802.11bgn  ESSID:off/any  
      Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm   
      Retry short limit:7   RTS thr:off   Fragment thr:off
      Power Management:
wraith-wireless commented 7 years ago

Addendum 1: if wpa_supplicant is disabled

sudo service wpa_supplicant stop

connection will work via iw but not via my code