nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

Suse Enterprise Linux server Set Network card (NIC) to Full duplex setting

This is a discussion on Suse Enterprise Linux server Set Network card (NIC) to Full duplex setting within the Networking, Firewalls and Security forums, part of the Mastering Servers category; Changing your Network Interface Speed, Duplex or Auto Negotiate settings on Suse Enterprise Linux server. 1 # Login as root ...


Go Back   nixCraft Linux Forum > Mastering Servers > Networking, Firewalls and Security

Register FAQ Members List Calendar Forgotten your password? Mark Forums Read
  #1 (permalink)  
Old 06-12-2007, 04:54 PM
raj raj is offline
Contributors
User
 
Join Date: Jun 2005
Location: Hyderabad
Posts: 151
Rep Power: 4
raj is on a distinguished road
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
Sponsored Links
  #2 (permalink)  
Old 03-20-2008, 04:33 PM
jan jan is offline
Junior Member
User
 
Join Date: Mar 2008
My distro: SUSE Linux Enterprise Server 10
Posts: 1
Rep Power: 0
jan is on a distinguished road
Default

Hello,

I want to configure my network-card to run in full-duplex mode. The description above from raj seems to work for me but I want to understand my settings (SUSE Linux Enterprise Server 10):

contents of /etc/sysconfig/network/ifcfg-eth-id-00:14:5e:cc:40:ee
Code:
BOOTPROTO='none'
ETHTOOL_OPTIONS='speed=100 duplex=full autoneg=off'
NAME='IBM NetXtreme II BCM5708 Gigabit Ethernet'
STARTMODE='off'
UNIQUE='rBUF.2uuZ5oJ5QB6'
USERCONTROL='no'
_nm_name='bus-pci-0000:03:00.0'
Here you see the ETHTOOL_OPTIONS-variable. But I can't figure out when the ethtool was called with these options.

A grep over my etc-directory (grep -ri ethtool .) shows me only the entries in ifcfg*-files.

And here another confusing message (from /var/log/boot.msg):
Code:
    eth0      device: Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet (rev 11)
    eth0      configuration: eth-id-00:14:5e:cc:40:ee
    eth0      Startmode is 'off'
skipped    eth1      device: Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet (rev 11)
    eth1      configuration: eth-id-00:14:5e:cc:40:f0
    eth1      Startmode is 'off'
skipped    bond0
"ethtool bond0 speed=100 duplex=full autoneg=off" failed.
    bond0     enslaving interfaces:  eth0 eth1
    bond0     IP address: 10.40.0.16/22   as bonding master
doneSetting up service network  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .done
It seems that the ethtool can't be executed successfully.

Who can help me?
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
How do I configure the network card from the command line? jerry Linux software 4 09-17-2007 04:52 PM
OpenBSD get or display network card IP address Subnet mask information rockdalinux Getting started tutorials 0 06-15-2007 11:06 PM
Migrate a web server to Red Hat Enterprise Linux 4 from 3 chimu Linux software 2 12-19-2006 01:08 AM
set or how to change dns setting ubuntu linux network chiku Linux software 1 07-17-2006 07:30 PM
network card not being recognized Linux software 1 01-28-2006 12:25 PM


All times are GMT +5.5. The time now is 02:16 AM.


Powered by vBulletin® Version 3.7.4 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36