Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] ethernet link speed
Date: Mon, 05 Jun 2006 20:26:34
Message-Id: 20060605211800.0a1d0d08@hactar.digimed.co.uk
In Reply to: [gentoo-user] ethernet link speed by Ghaith Hachem
1 On Mon, 5 Jun 2006 22:14:34 +0300, Ghaith Hachem wrote:
2
3 > i need to get my ethernet link speed to 10Mbits full duplex i'm using
4 > mii-tool to do it but is there a way to do it before net.eth0 starts at
5 > boot, maybe some line to add in /etc/conf.d/net i added the normal
6 > command i'm usign though it didn't seem to work, i then added it to
7 > /etc/init.d/net.eth0 i think it should work there i havn't tested yet
8 > but is there any better way to do that
9
10 Add it to the preup(0 or postup(0 section of /etc/conf.d/net
11
12 if [ "${IFACE}" == "eth0" ]; then
13 mii-tool -blah...
14 fi
15
16 ISTR reading somewhere that ethtool is preferred over mii-tool.
17
18
19 --
20 Neil Bothwick
21
22 ...context...

Attachments

File name MIME type
signature.asc application/pgp-signature