lua-users home
lua-l archive

Re: Calling network ioctl using alien

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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

AltStyle によって変換されたページ (->オリジナル) /