Posted on 06-18-2013 11:32 AM
There doesn't seem to be a previous post or thread regarding EA for checking duplex of en0 and/or en1.
Of course I didn't scroll past the first results page, since we're waiting for JAMF to fix the search sort issue.
<wink><wink>
Anyone have an EA for displaying duplex setting on the ports?
TIA
Don
Posted on 06-18-2013 03:05 PM
this is messy, but it should get you started
#!/bin/bash
EN0_Result=`ifconfig en0 | grep media | sed 's/.*(//;s/).*//'`
EN1_Result=`ifconfig en1 | grep media | sed 's/.*(//;s/).*//'`
echo -ne "<result>en0: $EN0_Result
en1: $EN1_Result</result>"