setting nic to auto (detect speed)

jim barnes j10152 at gmail.com
Fri May 12 11:43:37 UTC 2006


On Friday 12 May 2006 03:21, Mike Kenny wrote:
> Using Ubuntu 5.10
>
> I am using a 100Mb NIC and my local network is not great. The network
> guys have had a look and say that they have set the switch to auto and
> that if I change my NIC from 100Mb to auto I should see considerable
> improvements. The man page and help for ifconfig indicate that
> changing this setting is supported. But no matter waht sequence of
> options and paramters I provide on the command line it seems to
> interpreting the text media and/or auto as hostnames, with the
> expected results.
>
> Can anybody tell me how to change this setting?
>

ethtool is the command.

sudo ethtool  -s ethx should repurt current settings
sudo ethtool  -s ethx autoneg on should turn on autonegotiation

man ethtool for reference

-- 
Jim Barnes
--
Certainly the game is rigged. Don't let that stop you; 
if you don't bet, you can't win.            -Lazarus Long 
--
Linux 2.6.15-22-386




More information about the ubuntu-users mailing list