View Single Post
  #1 (permalink)  
Old 12-06-2007, 03:54 PM
raj's Avatar
raj raj is offline
Senior Member
User
 
Join Date: Jun 2005
Location: Hyderabad
OS: Fedora, Debian Linux
Posts: 307
Thanks: 42
Thanked 8 Times in 8 Posts
Rep Power: 6
raj will become famous soon enough raj will become famous soon enough
Talking Suse Enterprise Linux server Set Network card (NIC) to Full duplex setting

Changing your Network Interface Speed, Duplex or Auto Negotiate settings on Suse Enterprise Linux server.

1 # Login as root user

2 # Change directory to /etc/sysconfig/network/scripts
Code:
cd /etc/sysconfig/network/scripts
3 # Create a file called eth0-setup
Code:
vi eth0-setup
4 # Set eth0 to 100 duplex full, add following config line:
Code:
#!/bin/sh
/usr/sbin/ethtool -s eth0 speed 100 duplex full autoneg off
5 # Softlink /etc/sysconfig/network/scripts/eth0-setup to /etc/sysconfig/network/if-up.d
Code:
ln -s /etc/sysconfig/network/scripts/eth0-setup /etc/sysconfig/network/if-up.d
6 # More information - read man page
Code:
man ethtool
Also chk out : Linux add ethtool duplex settings to a network card permanently | nixCraft
__________________
Raj
Linux rulz.
I have never turned back in my life ; I shall not do so today.. haha
Reply With Quote