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

Re: What is the Debian way to set ethernet media



On Thursday 02 November 2006 11:30, Tyler MacDonald wrote:
> David Goodenough <david.goodenough@btconnect.com> wrote:
> > > > If I issue a mii-tool -F 100baseTx-FD eth1 manually it seems to
> > > > accept the FD, but if I put it in the /etc/network/interfaces file in
> > > > a pre-up or up I end up with HD.
> > >
> > > I think maybe post-up would be more appropriate here.
> >
> > Unfortunately post-up does not help, it is still marked as HD after an
> > ifup.
>
> If we can figure out the exact position this works for you, it would be
> possible to add a script to net-tools in /etc/network/if-whatever.d to make
> these standard interfaces options (mii-force-media or something). *then*
> there would be a "Debian way" to set ethernet media. :)
>
> 	- Tyler
Well my experience suggests it needs to be well after post-up.  My assumption 
it was only the driver that set the media (other than mii-tool) but I would
have thought that post-up happened after the driver was loaded so I do not
understand why post-up does not work, but maybe I misunderstood something.

David



Reply to: