public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] ethernet link speed
@ 2006-06-05 19:14 Ghaith Hachem
  2006-06-05 20:18 ` Neil Bothwick
  2006-06-05 21:50 ` Joshua Schmidlkofer
  0 siblings, 2 replies; 7+ messages in thread
From: Ghaith Hachem @ 2006-06-05 19:14 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 453 bytes --]

hello,
i need to get my ethernet link speed to 10Mbits full duplex i'm using
mii-tool to do it but is there a way to do it before net.eth0 starts at
boot, maybe some line to add in /etc/conf.d/net i added the normal command
i'm usign though it didn't seem to work, i then added it to
/etc/init.d/net.eth0 i think it should work there i havn't tested yet but is
there any better way to do that
thank you.

-- 
Ghaith Hachem
TristMoon Staff
TristMoon.com

[-- Attachment #2: Type: text/html, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] ethernet link speed
  2006-06-05 19:14 [gentoo-user] ethernet link speed Ghaith Hachem
@ 2006-06-05 20:18 ` Neil Bothwick
  2006-06-05 21:50 ` Joshua Schmidlkofer
  1 sibling, 0 replies; 7+ messages in thread
From: Neil Bothwick @ 2006-06-05 20:18 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 696 bytes --]

On Mon, 5 Jun 2006 22:14:34 +0300, Ghaith Hachem wrote:

> i need to get my ethernet link speed to 10Mbits full duplex i'm using
> mii-tool to do it but is there a way to do it before net.eth0 starts at
> boot, maybe some line to add in /etc/conf.d/net i added the normal
> command i'm usign though it didn't seem to work, i then added it to
> /etc/init.d/net.eth0 i think it should work there i havn't tested yet
> but is there any better way to do that

Add it to the preup(0 or postup(0 section of /etc/conf.d/net

if [ "${IFACE}" == "eth0" ]; then
	mii-tool -blah...
fi

ISTR reading somewhere that ethtool is preferred over mii-tool.


-- 
Neil Bothwick

...context...

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] ethernet link speed
  2006-06-05 19:14 [gentoo-user] ethernet link speed Ghaith Hachem
  2006-06-05 20:18 ` Neil Bothwick
@ 2006-06-05 21:50 ` Joshua Schmidlkofer
  2006-06-06  3:01   ` Ghaith Hachem
  1 sibling, 1 reply; 7+ messages in thread
From: Joshua Schmidlkofer @ 2006-06-05 21:50 UTC (permalink / raw
  To: gentoo-user

Why isn't it auto-detecting the link speed?


On 6/5/06, Ghaith Hachem <blacksadness@gmail.com> wrote:
> hello,
> i need to get my ethernet link speed to 10Mbits full duplex i'm using
> mii-tool to do it but is there a way to do it before net.eth0 starts at
> boot, maybe some line to add in /etc/conf.d/net i added the normal command
> i'm usign though it didn't seem to work, i then added it to
> /etc/init.d/net.eth0 i think it should work there i havn't tested yet but is
> there any better way to do that
> thank you.
>
> --
> Ghaith Hachem
> TristMoon Staff
> TristMoon.com
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] ethernet link speed
  2006-06-05 21:50 ` Joshua Schmidlkofer
@ 2006-06-06  3:01   ` Ghaith Hachem
  2006-06-06 17:41     ` Joshua Schmidlkofer
  0 siblings, 1 reply; 7+ messages in thread
From: Ghaith Hachem @ 2006-06-06  3:01 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 323 bytes --]

well actually it can function on 100 mbps but it would be extremly slow for
some reason (really long cable) so the isp just told me to keep the link at
10 mbps.

On 6/6/06, Joshua Schmidlkofer <joshland@gmail.com> wrote:
>
> Why isn't it auto-detecting the link speed?
>
>


-- 
Ghaith Hachem
TristMoon Staff
TristMoon.com

[-- Attachment #2: Type: text/html, Size: 624 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] ethernet link speed
  2006-06-06  3:01   ` Ghaith Hachem
@ 2006-06-06 17:41     ` Joshua Schmidlkofer
  2006-06-06 17:42       ` Joshua Schmidlkofer
  0 siblings, 1 reply; 7+ messages in thread
From: Joshua Schmidlkofer @ 2006-06-06 17:41 UTC (permalink / raw
  To: gentoo-user

Ghaith,

  I think that you shouldn't do this this way, but so be it.  It's
generally spekaing to 'force' a specific setting.  In most cards and
switches this disables all negotiation, and can lead to all sorts of
strange problems.  Especially regard duplex issues.


put this in /etc/conf.d/net

 pre(){
    if [ ${IFACE} == "eth0" ]; then
       mii-tool -F 10baseT-FD eth0
    fi
    sleep .3
 }

That ought to work.  If that doesn't work, then emerge sync and update
baselayout.


thanks,
  Joshua



On 6/5/06, Ghaith Hachem <blacksadness@gmail.com> wrote:
> well actually it can function on 100 mbps but it would be extremly slow for
> some reason (really long cable) so the isp just told me to keep the link at
> 10 mbps.
>
>
> On 6/6/06, Joshua Schmidlkofer <joshland@gmail.com> wrote:
> > Why isn't it auto-detecting the link speed?
> >
> >
>
>
>
> --
>
> Ghaith Hachem
> TristMoon Staff
> TristMoon.com
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] ethernet link speed
  2006-06-06 17:41     ` Joshua Schmidlkofer
@ 2006-06-06 17:42       ` Joshua Schmidlkofer
  2006-06-07  6:19         ` Ghaith Hachem
  0 siblings, 1 reply; 7+ messages in thread
From: Joshua Schmidlkofer @ 2006-06-06 17:42 UTC (permalink / raw
  To: gentoo-user

On 6/6/06, Joshua Schmidlkofer <joshland@gmail.com> wrote:
> Ghaith,
>
>   I think that you shouldn't do this this way, but so be it.  It's
> generally spekaing to 'force' a specific setting.  In most cards and
> switches this disables all negotiation, and can lead to all sorts of
> strange problems.  Especially regard duplex issues.

Wow, a little latency when typing goes a long way.  Please let me clarify that.

Generally speaking it's a bad thing to force a specific setting on
hubs, switches, and NICs.  In most cases this can lead to all sorts of
strange problems.  Especially regard duplex issues.
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] ethernet link speed
  2006-06-06 17:42       ` Joshua Schmidlkofer
@ 2006-06-07  6:19         ` Ghaith Hachem
  0 siblings, 0 replies; 7+ messages in thread
From: Ghaith Hachem @ 2006-06-07  6:19 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1189 bytes --]

thank you for your reply,
i will try that setup when i get home, but for now the network seems
functioning on 100mbps though sometimes it disconnects unexpectedly however
it has been stable for 2 days,anyway i was trying to force that setting as
instructed from the ISP, though i never had to do that before, so i guess if
i'm still going to face problem with the 100 mbps i'll have to force it.

On 6/6/06, Joshua Schmidlkofer <joshland@gmail.com> wrote:
>
> On 6/6/06, Joshua Schmidlkofer <joshland@gmail.com> wrote:
> > Ghaith,
> >
> >   I think that you shouldn't do this this way, but so be it.  It's
> > generally spekaing to 'force' a specific setting.  In most cards and
> > switches this disables all negotiation, and can lead to all sorts of
> > strange problems.  Especially regard duplex issues.
>
> Wow, a little latency when typing goes a long way.  Please let me clarify
> that.
>
> Generally speaking it's a bad thing to force a specific setting on
> hubs, switches, and NICs.  In most cases this can lead to all sorts of
> strange problems.  Especially regard duplex issues.
> --
> gentoo-user@gentoo.org mailing list
>
>


-- 
Ghaith Hachem
TristMoon Staff
TristMoon.com

[-- Attachment #2: Type: text/html, Size: 1688 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-06-07  6:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-05 19:14 [gentoo-user] ethernet link speed Ghaith Hachem
2006-06-05 20:18 ` Neil Bothwick
2006-06-05 21:50 ` Joshua Schmidlkofer
2006-06-06  3:01   ` Ghaith Hachem
2006-06-06 17:41     ` Joshua Schmidlkofer
2006-06-06 17:42       ` Joshua Schmidlkofer
2006-06-07  6:19         ` Ghaith Hachem

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox