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... |