Reply
Thread Tools
Posts: 214 | Thanked: 140 times | Joined on Aug 2010
#1
Hi, I must be blind...

I've found no way to (from python code) know the id of what WIFI network I'm currently connected to. I've found some samples using conic (and dbus) to list the available access points or those in range... but I only want to know which one I'm actually connected to. This seems somewhat elusive, and all my google-fu has failed me

Help me, "Obi-Wan-TMO, you're my only hope?"

/Z
 
Posts: 235 | Thanked: 339 times | Joined on Nov 2010
#2
 

The Following User Says Thank You to jstokes For This Useful Post:
Posts: 214 | Thanked: 140 times | Joined on Aug 2010
#3
Pretty much - thanks. I found something very similar to this independently (naturally 30 seconds after posting the above question, as always, sigh) but I was missing the "automatic-connection-events" which was key for this to be usable in my case.

However I'm a bit surprised there isn't a more "procedural" way to get this, than this event driven stuff. To me, testing the current state of something is different from waiting for events for changes.

But hey, this seems to work - thanks!

/Z
 

The Following User Says Thank You to MasterZap For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 10:05.