07-29-2004
It might matter on the version of the OS, but the ndd command should work.
This line sets the device to look at to hme0
# ndd set /dev/hme instance 0
This line gets the status of the line. If it returns 0 it is down - if it returns 1 it is up.
# ndd get /dev/hme link_status
Also, if there is no cable plugged in, your system should be pushing a bunch of Link Down - cable problem? messages out to either console or /var/adm/messages.
Last edited by RTM; 07-29-2004 at 12:02 PM..
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
The infomation: Sun Ultra10 (SPARC),OS Solaris 8
I finished installed Solaris8 on my workstation, i want configure the net. When i run ,'ifconfig -a ' ,i did't find my familiar 'hme0,hme1' network interface,my interface is good and the reticle is connected correctly.
Pls help me, tell me how... (2 Replies)
Discussion started by: q30
2 Replies
2. Solaris
I have a machine that has developed a strange network problem. Anytime it sends an FTP file somewherwe, no problem. When it is the target machine, extremely slow. I checked the /var/adm/messages file and found a few of these:
SUNW,hme0 : No response from Ethernet network : Link down -- cable... (2 Replies)
Discussion started by: hshapiro
2 Replies
3. Solaris
I have a solaris x86 box that ive been having trouble getting on my network, anyone know a good guide that can take me through it step by step? (1 Reply)
Discussion started by: xtremepancakez
1 Replies
4. Solaris
Hi gurus,
I need book to learn about network in Solaris 9
Thanks (2 Replies)
Discussion started by: mass1123
2 Replies
5. Solaris
I have installed solaris x86 on a standalone PC. Now I have connected a LAN cable to it. What do I do next for further configuration or to access internet from that solaris machine? (16 Replies)
Discussion started by: panchpan
16 Replies
6. Solaris
hi all,
how do i change the routing info and make sure i will be able to connect remotely?
any ideas please?
thanks in advance. (5 Replies)
Discussion started by: itik
5 Replies
7. Solaris
Hi,
i have installed solaris on virtual box in my desktop, i wanted to know how to make it network enabled(nated network). Nated network means it will use same IP as of my windows right? so is it possible that using the same IP i can enable the network on this virtual box.
Thanks in advance. (3 Replies)
Discussion started by: amult
3 Replies
8. Solaris
Hi,
I'm very new to Solaris world and istarted my learnign with a Blade T6320 Server.
I was trying to install Solaris 10.8 from a DVD image over the network.
But from the client(the machine which i want to install Solaris) when i tried boot net , i am getting a message like " cannto find... (5 Replies)
Discussion started by: jerinvjose
5 Replies
9. Solaris
Hi all,
I got a Fujitsu P650 server running on Solaris 9 and we are going to re-install Solaris 10 . W have a build server in a different IP segment. So we setup a boot server and /etc/ethers and /etc/bootparams are all updated. When I issue
boot net -install,
I'm getting the following... (3 Replies)
Discussion started by: mohzub
3 Replies
10. Solaris
Dear All,
I have a solaris Server in which I have 4 network interfaces , out of which only one is used . So all the applications are using this interface .
The interface speed is 1000Mbps . I find no hardware issue or packets g being dropped.
But i find that no of Input and Output... (4 Replies)
Discussion started by: jegaraman
4 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)