Change speed on network card


 
Thread Tools Search this Thread
Operating Systems Solaris Change speed on network card
# 1  
Old 07-10-2007
Change speed on network card

I recently learned that Sun Solaris network cards (ce devices) have problems with ndd -get commands. I did some searching and found out about the netstat -k command to show me the link speed. What is the best way to change the link speed (both one time and permanently)?

I am running Solaris 9

thank you
# 2  
Old 07-10-2007
ndd commands work fine on ce nics....
use this script for permanent settings:
http://docs.cirkva.net/Sun/Solaris/Eis/S68net-tune
# 3  
Old 07-11-2007
Ndd

Thank you for the script. The ndd -get command on the CE device had difficulties. I got an "invalid argument" error.
I did: ndd -get /dev/ce link_speed
# 4  
Old 07-11-2007
Quote:
Originally Posted by hshapiro
Thank you for the script. The ndd -get command on the CE device had difficulties. I got an "invalid argument" error.
I did: ndd -get /dev/ce link_speed
you have to enter the instance number....
# 5  
Old 07-11-2007
Ndd

I tried:
ndd -get /dev/ce0 link_ststaus
failed: No such file or directory
ndd -get /dev/ce link_status
Invalid argument

There is no /dev/ce0. The device is definitely ce0 though.

There are numerous articles about ndd not working with ce devices. here is one that I found:
Q We're installing a number of Solaris 8 boxes on our LAN, and we want to verify that the speed and duplex on the switch match that of the Sun network interfaces during auto-negotiation. If we have to, we'll explicitly set both sides and turn off auto-negotiation. These machines have ce0 interfaces, but ndd doesn't seem to be useful here. I tried:


ndd /dev/ce link_status
ndd /dev/ce link_mode
ndd /dev/ce link_speed

The link_speed shows up as 0. That doesn't seem to be meaningful, since it only seems to have a value of 0 or 1, and there are more than two speeds available. Is there another variable I should be looking at with ndd, or does link_speed have more than a 0/1 setting?
A The ndd command doesn't work with ce interfaces. Use the -k switch to netstat to obtain the information you're looking for:


netstat -k ce0 | egrep 'link_speed|link_status|link_duplex'

The output has the following meaning:

link_up - 0 down, 1 up
link_speed - speed in Mbit/s
link_duplex - 1 half duplex, 2 full duplex, 0 down
# 6  
Old 12-26-2007
hmm

i tried running netstat -k on a blade 150 running sol10 08/07 and error said illegal option...any thoughts?
# 7  
Old 12-26-2007
I haven't got a system to hand, but before doing
ndd -get /dev/ce link_status
you have to do
ndd -set /dev/ce instance 0

(I hope I've got the syntax right!)

You can also use a ? instead of an option, to list all og the available options, eg.
ndd -get /dev/ce ?

In the good old Solaris way, some cards allow you to set things via the system file, but others don't.
So I think that the ndd route is the only consistent one.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Local Network Speed

Dear All, I have an intel NUC running CentOS 7 and physically connected to my Netgear CBVG834G router. They both have Gigabit Ethernet cards and supposedly a top notch network cable connecting the two devices. But when I run ethtool the connection is only running at 100Mbit/s What can I do... (3 Replies)
Discussion started by: freddie50
3 Replies

2. 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

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. Linux

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 (3 Replies)
Discussion started by: manoj.solaris
3 Replies

5. Solaris

network speed

i have first server (sun solaris 5.10) for example X(172.x.x.x) and i have second server (sun solaris 5.10) for example Y(192.x.x.x) also we have 3 clients PC (windows XP)(172.x.x.x) the X server connect to Y server and to clients PC * who to know the network speed between X and Y * who to... (1 Reply)
Discussion started by: anwar
1 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. 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

8. HP-UX

Network speed on HPUX

Hello, can anyone tell me how to change network speed or duplex speed...don't understand the concept why that is imp when the server comes back up to check up on it. Basically have to make sure that the setting from the orginial speed. (2 Replies)
Discussion started by: catwomen
2 Replies

9. UNIX for Advanced & Expert Users

network speed is slow

Hello, everyone: i encounter a problem these days , pls help me ,thanks in advance. my env: machine: ES40 A ES40 B os: true64 Unix 4.0f note: src.tar 8M network card speed 100M my problem: ... (3 Replies)
Discussion started by: q30
3 Replies

10. UNIX for Advanced & Expert Users

Speed of network link

Sorry to keep bothering you guys like this with all these boring, related questions. But here's one that should be more readily answerable. What command or file should i use to get the speed/data rate of a network link? This is the capacity speed for instance 10Mbps or 100 Mbps in the case of the... (2 Replies)
Discussion started by: mint1981
2 Replies
Login or Register to Ask a Question