Re: Calling network ioctl using alien
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Calling network ioctl using alien
- From: "jonsmirl@..." <jonsmirl@...>
- Date: 2011年2月13日 15:32:07 -0500
I came up with an easy solution...
io.input("/sys/class/net/eth0/address")
t = io.read("*all")
print(t)
These are embedded Linux devices so the network is always eth0.
--
Jon Smirl
jonsmirl@gmail.com