Configuring Ethernet Media for BSD/m0n0wall

Problem: you have a BSD box, like a m0n0wall and you need to force the ethernet media type. There’s no convenient GUI to do it.

Solution: get a command prompt (like /exec.php on m0n0wall) and do:

ifconfig $ADAPTER media $SPEED mediaopt $DUPLEX

for example:

ifconfig xl0 media 100baseTX mediaopt full-duplex

The actual syntax varies slightly on some drivers, so Google for ‘bsd man $DRIVERNAME’, e.g. xl.

Photo: View from the cheap seats at Dartmouth Women’s Basketball