|
On 18.03.2010 13:38, Luiz Henrique de Figueiredo wrote: >> one way to do it is to parse the result of: >> >> os.execute("ifconfig") > > So, use io.popen instead. Or use nixio library: http://dev.luci.cyranjo.org/nixio/doc/modules/nixio.html#nixio.getifaddrs Regards, miko