Sponsored Content
Full Discussion: Change speed on network card
Operating Systems Solaris Change speed on network card Post 302126413 by hshapiro on Wednesday 11th of July 2007 11:13:41 AM
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
 

10 More Discussions You Might Find Interesting

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

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

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

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

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

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

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

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

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

10. 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
ndd(1M) 						  System Administration Commands						   ndd(1M)

NAME
ndd - get and set driver configuration parameters SYNOPSIS
ndd [-set] driver parameter [value] DESCRIPTION
ndd gets and sets selected configuration parameters in some kernel drivers. Currently, ndd only supports the drivers that implement the TCP/IP Internet protocol family. Each driver chooses which parameters to make visible using ndd. Since these parameters are usually tightly coupled to the implementation, they are likely to change from release to release. Some parameters may be read-only. If the -set option is omitted, ndd queries the named driver, retrieves the value associated with the specified parameter, and prints it. If the -set option is given, ndd passes value, which must be specified, down to the named driver which assigns it to the named parameter. By convention, drivers that support ndd also support a special read-only parameter named ``?'' which can be used to list the parameters supported by the driver. EXAMPLES
Example 1: Getting Parameters Supported By The TCP Driver To see which parameters are supported by the TCP driver, use the following command: example% ndd /dev/tcp ? The parameter name ``?'' may need to be escaped with a backslash to prevent its being interpreted as a shell meta character. The following command sets the value of the parameter ip_forwarding in the dual stack IP driver to zero. This disables IPv4 packet forward- ing. example% ndd -set /dev/ip ip_forwarding 0 Similarly, in order to disable IPv6 packet forwarding, the value of parameter ip6_forwarding example% ndd -set /dev/ip ip6_forwarding 0 To view the current IPv4 forwarding table, use the following command: example% ndd /dev/ip ipv4_ire_status To view the current IPv6 forwarding table, use the following command: example% ndd /dev/ip ipv6_ire_status ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
nca(1), ioctl(2), attributes(5), arp(7P), ip(7P), ip6(7P), tcp(7P), udp(7P) NOTES
The parameters supported by each driver may change from release to release. Like programs that read /dev/kmem, user programs or shell scripts that execute ndd should be prepared for parameter names to change. The ioctl() command that ndd uses to communicate with drivers is likely to change in a future release. User programs should avoid making dependencies on it. The meanings of many ndd parameters make sense only if you understand how the driver is implemented. SunOS 5.10 8 Nov 1999 ndd(1M)
All times are GMT -4. The time now is 07:04 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy