Re: [gentoo-user] ethernet link speed

2006-06-07 Thread Ghaith Hachem
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 [EMAIL PROTECTED] wrote:
On 6/6/06, Joshua Schmidlkofer [EMAIL PROTECTED] 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 onhubs, switches, and NICs.In most cases this can lead to all sorts ofstrange problems.Especially regard duplex issues.--
gentoo-user@gentoo.org mailing list-- Ghaith HachemTristMoon StaffTristMoon.com


Re: [gentoo-user] ethernet link speed

2006-06-06 Thread Joshua Schmidlkofer

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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] wrote:
 Why isn't it auto-detecting the link speed?





--

Ghaith Hachem
TristMoon Staff
TristMoon.com

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ethernet link speed

2006-06-06 Thread Joshua Schmidlkofer

On 6/6/06, Joshua Schmidlkofer [EMAIL PROTECTED] 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



[gentoo-user] ethernet link speed

2006-06-05 Thread Ghaith Hachem
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 HachemTristMoon StaffTristMoon.com


Re: [gentoo-user] ethernet link speed

2006-06-05 Thread Neil Bothwick
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...


signature.asc
Description: PGP signature


Re: [gentoo-user] ethernet link speed

2006-06-05 Thread Ghaith Hachem
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 [EMAIL PROTECTED] wrote:
Why isn't it auto-detecting the link speed?-- Ghaith HachemTristMoon StaffTristMoon.com