20 Jun
2012
20 Jun
'12
11:29 a.m.
On 20/06/12 09:49, Brett Parker wrote:
Surely, you mean... mac=$(</sys/class/net/eth0/address)
Thanks Brett and Adam, that's much nicer. Can I combine that with the removal of ":" characters in a single command?
That does rely on the sys filesystem though...
Is that ever likely to be an issue on a Debian-based install? The boxes I'm playing with are mostly ARM processors (my current tests are on a Pi) running Debian 6, although I'll need things to also work on Ubuntu Server installs too. Mark -- Mark Rogers // More Solutions Ltd (Peterborough Office) // 0844 251 1450 Registered in England (0456 0902) 21 Drakes Mews, Milton Keynes, MK8 0ER