lua-users home
lua-l archive

[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