In Darwin, when typing "ifconfig en0 media 10baseT/UTP mediaopt half-duplex" I recieve the error message "ifconfig: SIOCSIFMEDIA: Operation not permitted". The same thing occurs when I sudo the command. Any suggestions?
Thanks...
In Darwin, when typing "ifconfig en0 media 10baseT/UTP mediaopt half-duplex" I recieve the error message "ifconfig: SIOCSIFMEDIA: Operation not permitted". The same thing occurs when I sudo the command. Any suggestions?
Thanks...
Try changing "ifconfig en0 media 10baseT/UTP mediaopt half-duplex" to "ifconfig en0 media 10baseT mediaopt half-duplex".
According to the man page - media type:
Set the media type of the interface to type. Some interfaces support the mutually exclusive use of one of several different physical media connectors. For example, a 10Mb/s Ethernet interface might support the use of either AUI or twisted pair connectors. Setting the media type to ``10base5'' or ``AUI'' would change the currently active connector to the AUI port. Setting it to "10baseT" or "UTP" would activate twisted pair. Refer to the interfaces' driver specific man page for a complete list of the available types, or use ifconfig -m interface for a listing of choices.