O problema é diferente, mas a solução é a mesma.
Start with 10Mbps, half duplex and work upwards to 10Mbps FD, 100Mbps HD, ... until the problem starts. Then go down one notch and leave it at that speed.
First, install ethtool (if already installed you will just get a warning that the latest version is already installed)
sudo apt-get install ethtool
Now:
Type the following command (and test them one by one)
sudo ethtool --change eth0 speed xxx duplex yyy autoneg off
where
xxx = 10, 100
or1000
andyyy = half
orfull
.So start with
10 half
,10 full
,100 half
, ...Do an
ifconfig
to check whether you got an IP address.Go back to 1 until it stops working and use the previous values that still worked to:
To make the change permanent, execute the following command:
sudo nano /etc/network/interfaces
and type at the
pre-up
section:
pre-up /usr/sbin/ethtool --change eth0 speed xxx duplex yyy autoneg off
Anote a entrada completa postada por OP:
auto eth0
iface eth0 inet dhcp
pre-up ifconfig $IFACE up
pre-up ethtool -s $IFACE speed 100 duplex full autoneg off