Mailinglist Archive: opensuse (3107 mails)
| < Previous | Next > |
[opensuse] Grabbing MAC address of interface
- From: Jan Engelhardt <jengelh@xxxxxxxxxxxxxxx>
- Date: Fri, 16 Feb 2007 14:33:12 +0100 (MET)
- Message-id: <Pine.LNX.4.61.0702161425570.2353@xxxxxxxxxxxxxxx>
Hello,
now the question may seem simple ("how to grab the MAC address of a
given interface"), but what is actually a "portable" way that does not
potentially break when upgrading to a newer openSUSE?
I could fiddle with `hwinfo --network` or try parse `ip l sh dev br0`
output, but what's actually best? [Using sh.]
Jan
--
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
now the question may seem simple ("how to grab the MAC address of a
given interface"), but what is actually a "portable" way that does not
potentially break when upgrading to a newer openSUSE?
I could fiddle with `hwinfo --network` or try parse `ip l sh dev br0`
output, but what's actually best? [Using sh.]
Jan
--
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |