Manually set Speed/Duplex of NIC

listerthrawn

New Member
Jan 14, 2010
19
1
1
Manchester, UK
Hi,

Is there any way to manually set the speed/duplex of a NIC in a straight-off-the-cd proxmox install?

I know how to do it via ethtool but it's not installed by default and my machine doesn't have net access.

Thanks

Chris
 
Hi,

Is there any way to manually set the speed/duplex of a NIC in a straight-off-the-cd proxmox install?

I know how to do it via ethtool but it's not installed by default and my machine doesn't have net access.

Thanks

Chris

Hi,
you need the file ethtool_6+20080913-1_amd64.deb (usb-stick) to install manualy and edit the /etc/network/interfaces like this:
Code:
iface eth0 inet static
pre-up /usr/sbin/ethtool -s $IFACE 10 duplex half

To get the file:
Code:
wget http://ftp.de.debian.org/debian/pool/main/e/ethtool/ethtool_6+20080913-1_amd64.deb

Udo