- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Ethtool - dynamic?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2005 08:02 AM
тАО05-27-2005 08:02 AM
ethtool -s eth0 speed 100 duplex full autoneg off
Are these settings not written to a file? It looks like the settings are dynamic - ie like with HPUX you can ifconfig to change the settings and then after a reboot they will go back to what they were unless they are changed statically in netconfig file. Is there a file in linux where all the above is hardcoded?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2005 11:17 AM
тАО05-27-2005 11:17 AM
SolutionYou either need to put the 'ethtool -s ...' command in a start-up file ('/etc/rc.d/rc.local' for instance), or use the driver settings to set them when the interface starts up (possibly an '/etc/modules.conf' post-install line).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2005 09:20 PM
тАО05-27-2005 09:20 PM
Re: Ethtool - dynamic?
ethtool changes will be active till you stop the eth0 interface.
to make it permanent, either you can put it in /etc/rc.d/rc.local file so that every reboot will call ethtool
or hack the /etc/init.d/network script and at the end of the start function add ethtool line so that every /etc/init.d/network start will call this.
Regards,
Gopi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2005 09:49 PM
тАО06-21-2005 09:49 PM
Re: Ethtool - dynamic?
I had troubles with this recently.
I found out the switchport had to be configured as auto/auto.
When the switchport was configured as 100F, the machine rebooted as 100H.
All the other machines (M$) prefer a fixed port.
So, with auto on the switch, I do not have to worry about configuring the networkport on the machine.
HTH
Donald
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2005 02:33 AM
тАО06-22-2005 02:33 AM
Re: Ethtool - dynamic?
I strongly agree with Donald. Linux works fine if you leave the nic module as default (auto negotiation) and set the switch port as auto also.
That's the way we do here with a very heterogeneus server hardware environment and cisco switches.
regards,
xyko
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2005 03:26 AM
тАО06-22-2005 03:26 AM
Re: Ethtool - dynamic?
In essence you can write them to some degree.
Example:
/etc/sysconfig/network-scripts/ifcfg-eth0
Last line is
ETHTOOL_OPTS="speed 1000 duplex full autoneg off"
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com