alzhaimer has asked for the wisdom of the Perl Monks concerning the following question:
is there an elegant way to ascertain the MAC address of a given network device and, if it's wireless, the MAC address of the access point where the NIC is logged in?
I want to run it locally on several Unices, including Linux and actually don't want to parse the different output printed by ifconfig,iwconfig,etc. The /proc FS isn't a solution either, because it is depricated in Unix. I thought Perl is a good choice because its platform independency.
I found some articles, but they did not cover the access point's MAC adress.
Thanks Niklas
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Getting MAC Adress from wireless device and access point
by zengargoyle (Deacon) on Nov 11, 2003 at 11:12 UTC | |
|
Re: Getting MAC Adress from wireless device and access point
by Abigail-II (Bishop) on Nov 11, 2003 at 11:06 UTC | |
|
Re: Getting MAC Adress from wireless device and access point
by Anonymous Monk on Nov 11, 2003 at 11:32 UTC | |
|
Re: Getting MAC Adress from wireless device and access point
by Anonymous Monk on Nov 11, 2003 at 11:14 UTC | |
|
Re: Getting MAC Adress from wireless device and access point
by Anonymous Monk on Nov 11, 2003 at 11:01 UTC |