Getting a Sun Ray DTU MAC address

Handy little script to output the MAC address of your Sun Ray DTU. Based on Chris Gerhard’s Sun Ray firmware version blog post from a week or two ago:

$ /opt/SUNWut/bin/utwho -c | nawk '$3 == ENVIRON["LOGNAME"] {print substr($5,4)}'
0003ba4ea9dd

Tags: ,

Leave a Reply