On Mon, 27 Nov 2006, Ken Tossell wrote:

Hi,

In /etc/network/interfaces, add the following 'post-up' line to your
ethX block:

***
auto eth0
iface eth0 inet static
   address 1.2.3.4
   netmask 255.255.255.0
   post-up mii-tool -F 100baseTx-FD eth0

I'd say that should be a pre-up, especially if you use dhcp and the interface won't work until you manually set the speed. Also, mii-tool is obsolete, you should probably use:

ethtool -s eth0 speed 100 duplex full autoneg off

                        Alexey

Reply via email to