Re: What is the Debian way to set ethernet media
On Thu, 2006-11-02 at 03:30 -0800, Tyler MacDonald wrote:
> David Goodenough <email@example.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. :)
Be vewy vewy cahfuwl when putting scwipts in dose diwectowies.
Looping can easily be had when carelessly making scripts there.
/me speaks from (recent) experience here.
The technology that is
Stronger, better, faster: Linux