Alternatively, follow the recipe at
http://www.tech-recipes.com/solaris_networking_tips785.html

You can either just copy&paste the script and use that with popen, or
you can reimplement it mostly in Python, calling the seperate programs.

The basica gist of this seems to be, figure out your IP address, dump
the ARP table and look for the IP address.

Andreas

Am Dienstag, den 11.03.2008, 10:56 +0000 schrieb Tim Golden:
> Henry Zhang wrote:
> > Hi there,
> > 
> > I am curious if there is any way in Python to get MAC address at
> > Solaris? I searched from google, didn't find a good idea.
> 
> Not tried it, but this looks hopeful at least:
> 
>    http://pypi.python.org/pypi/netifaces/0.4
> 
> TJG
> _______________________________________________
> Tutor maillist  -  Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to