On Sun, 30 May 2004, Marco Beishuizen wrote: > > I used to have two ifconfig lines in my rc.conf: > ifconfig_dc0="DHCP" > ifconfig_dc0="media autoselect" > > The first to enable DHCP and the second to set my networkcard to 100BaseTX > full duplex. > > Now after an upgrade to 4.10-release this doesn't work anymore. When I put > both lines in rc.conf only the second line is effective and overrides the > first, but I want to use both DHCP and 100BaseTX. I need to use the "media > autoselect" because the networkcard defaults to 10BaseT but I want to use > 100Mbit. When I don't use DHCP the network is unreachable. Pinging then > gives a "no route to host".
There are two solutions: 1) (Untested by me) ifconfig_dc0="DHCP media 100baseTX" 2) put the media change in a separate shell script, and throw it unter /usr/local/etc/rc.d, so that it will be executed later on something like: >cat dc0-speedchange.sh #!/bin/sh ifconfig dc0 media 100baseTX HTH Olaf -- Olaf Hoyer [EMAIL PROTECTED] Fuerchterliche Erlebniss geben zu raten, ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist. (Nietzsche, Jenseits von Gut und Boese) _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"