Thanks, this code works perfectly in ubuntu 10.04.
one question though, is dbus usually implemented in other distribution of
linux?
On Mon, May 16, 2011 at 12:57 PM, Anssi Saari a...@sci.fi wrote:
Neal Becker ndbeck...@gmail.com writes:
One possible solution in Linux is asking NetworkManager,
Thanks for the tip, it is really helpful!
however the class of Win32_NetworkAdapterConfiguration doesn't include the
interface type (you can NOT tell if it is a wifi interface), so I change the
code a bit like following:
import wmi
wlan_int_id=None
for nic in wmi.WMI().Win32_NetworkAdapter():
On Sun, May 15, 2011 at 2:14 PM, Andrew Berg bahamutzero8...@gmail.comwrote:
One thing I found out about Win32_NetworkAdapterConfiguration is that it
only contains /current/ information and not the stored info that it uses
when making an initial connection (you can see and edit this info in
Thanks, is there any other way without using external command?
On Fri, May 13, 2011 at 10:41 PM, Ishwor Gurung ishwor.gur...@gmail.comwrote:
Hi.
On 14 May 2011 14:46, Far.Runner far.run...@gmail.com wrote:
Hi Python Experts:
There are two network interfaces on my laptop, one is
100M
Hi python experts:
There are two network interfaces on my laptop, one is 100M Ethernet, the
other is wifi, both are connected and have IP addresses.
The question is: how to get the ip address of WIFI interface without parsing
the output of a shell command like ipconfig or ifconfig?
OS: Windows or