Visit Our UNIX and Linux User Community


changing speed of NIC Card in linux


 
Thread Tools Search this Thread
Operating Systems Linux changing speed of NIC Card in linux
# 1  
Old 11-03-2009
Question changing speed of NIC Card in linux

Hi,

I would like to know how to change the speed of ethernet card in linux? as it is showing auto-neg using mii-tool -v eth0

and my requirement is 100mbps full duplex.

Regards,

Manoj
# 2  
Old 11-03-2009
If you have it, you can see a lot of information using ethtool, eg
Code:
#  ethtool eth0
Settings for eth0:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 100Mb/s
        Duplex: Full
        Port: Twisted Pair
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: umbg
        Wake-on: g
        Current message level: 0x00000007 (7)
        Link detected: yes

Now change that to 10MBit half duplex, no autonegotiation:
Code:
# ethtool -s eth0 autoneg off duplex half speed 10
# ethtool eth0
Settings for eth0:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  Not reported
        Advertised auto-negotiation: No
        Speed: 10Mb/s
        Duplex: Half
        Port: Twisted Pair
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: off
        Supports Wake-on: umbg
        Wake-on: g
        Current message level: 0x00000007 (7)
        Link detected: yes

# 3  
Old 11-03-2009
If not, you might have mii-tool: Manpage of MII-TOOL
# 4  
Old 11-04-2009
Quote:
Originally Posted by manoj.solaris
I would like to know how to change the speed of ethernet card in linux? as it is showing auto-neg using mii-tool -v eth0

and my requirement is 100mbps full duplex.
Is there anything wrong with the speeds you're getting? Auto-negotiation is capable of negotiating automatically to 100mbps full duplex when both transceivers are capable of it without manual intervention(and, occasionally, when they're not).

Previous Thread | Next Thread
Test Your Knowledge in Computers #258
Difficulty: Medium
Iannis Xenakis wrote programs in the FORTRAN language that generated numeric data that he transcribed into scores to be played by traditional musical instruments.
True or False?

10 More Discussions You Might Find Interesting

1. Red Hat

Finding speed of NIC Card

Hi, I would like to know how to find out ACTUAL speed of NIC Card. I have used the command ethtool eth0, it is showing supported modes, but what is acutal speed ? how to find out? (4 Replies)
Discussion started by: manoj.solaris
4 Replies

2. Solaris

Supporting NIC speed

Hi, I have few Solaris (9 and 10) servers, whose consoles are running on 10 MBPs. Now, Network team is changing their switch, which doesn't support 10 MBPs and we need to check if console all of those servers will support 100MBPs or more. Is there any way to check supported (or maximum supported)... (7 Replies)
Discussion started by: solaris_1977
7 Replies

3. UNIX for Advanced & Expert Users

Determine the ethernet (NIC) card speed.

Hi, Does anyone know how can I determine the maximum capable speed on a network interface card for different OS like HP, Sun, AIX and Linux. I am aware of the tool "ethtool" which can be used for Linux. Are there any handly commands or /proc files where I can get this info depending on the OS.... (3 Replies)
Discussion started by: devtakh
3 Replies

4. Solaris

change NIC speed

how can we change the nic card speed please explain through commands & steps ???? and i want to change NIC speed 100 --1000Mbps and what is full & half duplex gives thanks in advance (6 Replies)
Discussion started by: wkbn86
6 Replies

5. HP-UX

how can I determine which NIC card is virtual NIC Card

how can I determine which NIC card is virtual NIC Card which condition can make a decision Does HP UX have Virtual Network Adapter Concept if ,it has where I can Find if I Install Virutal Network Adapter or which command that i can get it or which software can generate thanks (2 Replies)
Discussion started by: alert0919
2 Replies

6. UNIX for Dummies Questions & Answers

how can i see ethernet card speed in solars

hai this is nagesh when i was doing practical , i find some dought. iam using solaris 9. how can i see the ethernet card speed , wheather it is halfduplex or full duplex.any body please help me (4 Replies)
Discussion started by: nag.mi2000
4 Replies

7. IP Networking

NIC speed 100M/full duplex problem

I have a TOSHIBA AS7000 B150 Sun Box I wanted to run it with 100M/full duplex I had added this to the /etc/system file to make to setting permenant So it would be set correctly on reboot. set eri:eri_adv_100fdx_cap=1 set eri:eri_adv_100hdx_cap=0 set eri:eri_adv_autoneg_cap=0 But when I... (4 Replies)
Discussion started by: AirWalker83
4 Replies

8. Solaris

Sun box's NIC speed setting

Is there a way to check if my Sun box's network interface card is set to 10 or 100 Mbps? Thanks! (1 Reply)
Discussion started by: FredSmith
1 Replies

9. Solaris

How to check Virtual NIC card speed on solaris

Hi, We have a 4 port Sun gigaswift NIC card on our sun fire server. If the card is a physical one I know how to check the settings/speed. But since this is a virtual card with 4 ports , I am not sure as how we can check the settings. Details ----------- root:/> ifconfig -a lo0:... (3 Replies)
Discussion started by: pray44u
3 Replies

10. UNIX for Advanced & Expert Users

No NIC Card?

Hello Everyone, While trying to configure my network interface card on my system which runs mandrake 7, I have faced many problems. I used commands like netconf, drakconf, ifconfig etc to configure my NIC but of no use. There is no output for dmesg|grep eth. Does that mean that mandrake... (2 Replies)
Discussion started by: cyno
2 Replies

Featured Tech Videos