- % su
- # pciconf -lv
- # ifconfig
- # ifconfig -m re0
- # ifconfig re0 media 1000baseTX mediaopt full-duplex
- # vim /etc/rc.conf
- ifconfig_re0="inet 192.168.1.3 netmask 255.255.255.0 media 1000baseTX mediaopt full-duplex"
Steps 2, 3 and 4 help you determine where the card is (in my case re0) and collect more info on it.
On step 5 use ifconfig to apply the new setting and test the card out. If everything is ok add the ifconfig setting to /etc/rc.conf (steps 6 and 7) so that the next time you boot the next settings are applied.
Sources:
man 4 re
man 8 ifconfig
No comments:
Post a Comment