[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: (Repeat) Incessant Random Eth Disconnect/Reconnect



On Sat, 30 Jan 2016 19:31:51 +0200
David Baron <d_baron@012.net.il> wrote:

> > 	Hi.
> > 
> > On Fri, Jan 29, 2016 at 10:30:26AM +0200, David Baron wrote:
> > > Note: The reported dmesg sequence is on start up, not on expiry problem.
> > > 
> > > ~$ sudo ethtool eth0
> > 
> > > Settings for eth0:
> > <skip>
> > 
> > >         Link partner advertised auto-negotiation: Yes
> > 
> > <skip>
> > 
> > > ~$ sudo ethtool eth1
> > 
> > > Settings for eth1:
> > <skip>
> > 
> > > Attempts to set values get "cannot advertise ..."
> > 
> > This is to be expected. You cannot force speed or duplex on a NIC unless
> > you turn auto-negotiation off first.
> > 
> > So start with "ethtool -s eth0 autoneg off" first.
> > 
> > And you *did* try using a different cable, do you?
> > 
> > Reco
> 
> Cable was tried.
> I have set autoneg off, see what happens.
> How do I make such a setting persistant?

/usr/share/doc/ethtool/README.Debian contains a fine example of such setting:

iface eth0 inet dhcp
    link-speed 100
    link-duplex full
    ethernet-autoneg off

Reco


Reply to: