On Jan 6, 2008, at 5:40 PM, Snarkout wrote:
On Sunday 06 January 2008, Chuck Remes wrote:
A service provider has forced all of their switch ports to 100/ full. I need to do the same on a box running archlinux x86_64 w/kernel 2.6.22- ARCH and the Intel e1000 driver.
I edited /etc/modprobe.conf to contain these lines:
e1000 Speed=100,100,100,100 e1000 Duplex=2,2,2,2
However, the messages in /var/log/kernel.log indicate the interfaces are still coming up as 100/half which implies they are still attempting to autonegotiate and failing therefore defaulting to 100 (which can be sensed) and half-duplex (which can't be sensed, so this is the default).
What's the best way to force the driver into 100/full on boot?
I think you want this in modprobe.conf:
alias eth0 e1000 options e1000 Speed=100 Duplex=2
This works for me, but you can check it with ethtool afterwards.
I have multiple interfaces so I skipped using the 'alias' line. Otherwise, your suggestion worked. Looks like I need to say 'options' first which I hadn't realized was required. Thank you!