Posted By

fontanon on 10/29/08


Tagged

python wifi


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

denver320
vkolev
Priestd09


WiFi signal monitor in 6 source lines of code


 / Published in: Python
 

Rudimentary python wifi signal level monitor using pythonwifi library. $ easyinstall pythonwifi

  1. import time
  2. from pythonwifi.iwlibs import Wireless
  3.  
  4. wifi = Wireless('eth1')
  5.  
  6. while True:
  7. print wifi.getStatistics()[1].getSignallevel()
  8. time.sleep(1)

Report this snippet  

You need to login to post a comment.