04-22-2008
on solaris 10:
dladm show-dev
dladm show-link
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
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
2. HP-UX
using sam i have tryed to configure the nic, however when i try to do so i get an error saying i couldn't as i was using BIND ? (0 Replies)
Discussion started by: bobstar01
0 Replies
3. Linux
Hi PPL!
I have P-IV processor, with on-board NIC card.
I have added one more NIC card for domestic use.
My kudzu does not recognise the newly added PCMCIA NIC card.
How to go about this one?
Suggest
PEnguin (0 Replies)
Discussion started by: chakri.penguin
0 Replies
4. HP-UX
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
5. Solaris
Hi friends i have problem with my home pc, i installed solaris 10 but my lan drivers are not installed, if i want to install drivers manually from where to download and how to install. I have Realtech lan card. when i type ifconfig -a it shows only localhost 127.0.0.0 Lo0 cannot see other than... (5 Replies)
Discussion started by: kurva
5 Replies
6. Solaris
I have configure 2 NIC in ipmp group1 .Similarly other 2 NIC in ipmp group2
When I connect both NIC to 2 different switch , which is connect to one L3 switch as trunk. Both the NIC failover to each other continously.
Following are the message log.
ifmsdb1 in.mpathd: NIC failure detected... (0 Replies)
Discussion started by: abhaymittal003
0 Replies
7. Linux
I have a linux box with 2 nic cards on it one for prod and one for backup.
My question is while the backup are happening how do I determine which nic is used for backups . I would like to run a command so that that I can see the usage in a dynamic fashion. (7 Replies)
Discussion started by: new2prog
7 Replies
8. AIX
Hi All,
How can I find out which is ETH5 on my AIX P5 system. I have about seven different NIC card on this. I did move the cable to each one but still I was not able to see the link light up when I did netstat -v
Any idea?
Thanks. (2 Replies)
Discussion started by: samnyc
2 Replies
9. HP-UX
Hi,
Someone asked me the below.
If the box has multiple NIC cards, try to run a test with interface address specified as shown below
$ java utils.MulticastTest -N server100 -A 237.155.155.1 -i <interfaceaddress>
How can I now find out if my box has multiple NIC cards and how can I... (5 Replies)
Discussion started by: mohtashims
5 Replies
10. Red Hat
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
LEARN ABOUT OPENSOLARIS
di_walk_minor
di_walk_minor(3DEVINFO) Device Information Library Functions di_walk_minor(3DEVINFO)
NAME
di_walk_minor - traverse libdevinfo minor nodes
SYNOPSIS
cc [ flag... ] file... -ldevinfo [ library... ]
#include <libdevinfo.h>
int di_walk_minor(di_node_t root, const char *minor_nodetype,
uint_t flag, void *arg, int (*minor_callback)(di_node_t node,
di_minor_t minor, void *arg));
PARAMETERS
arg Pointer to caller- specific user data.
flag Specify 0. Reserved for future use.
minor The minor node visited.
minor_nodetype A character string specifying the minor data type, which may be one of the types defined by the Solaris DDI framework,
for example, DDI_NT_BLOCK. NULL matches all minor_node types. See ddi_create_minor_node(9F).
node The device node with which to the minor node is associated.
root Root of subtree to visit.
DESCRIPTION
The di_walk_minor() function visits all minor nodes attached to device nodes in a subtree rooted at root. For each minor node that matches
minor_nodetype, the caller-supplied function minor_callback() is invoked. The walk terminates immediately when minor_callback() returns
DI_WALK_TERMINATE.
RETURN VALUES
Upon successful completion, di_walk_minor() returns 0. Otherwise, -1 is returned and errno is set to indicate the error.
The minor_callback() function returns one of the following:
DI_WALK_CONTINUE Continue to visit subsequent minor data nodes.
DI_WALK_TERMINATE Terminate the walk immediately.
ERRORS
The di_walk_minor() function will fail if:
EINVAL Invalid argument.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Committed |
+-----------------------------+-----------------------------+
|MT-Level |Safe |
+-----------------------------+-----------------------------+
SEE ALSO
dladm(1M), di_minor_nodetype(3DEVINFO), dlpi_walk(3DLPI), libdevinfo(3LIB), attributes(5), filesystem(5), ddi_create_minor_node(9F)
Writing Device Drivers
NOTES
The di_walk_minor() function is no longer an accurate method for walking network datalink interfaces on the system. Applications should use
dlpi_walk(3DLPI) instead. It has been common for applications to use di_walk_minor() to walk networking devices by passing in a minor_node-
type of DDI_NT_NET, in most cases to discover the set of DLPI devices on the system. Solaris now makes a layering distinction between net-
working devices (the objects displayed in the DEVICE field by dladm show-phys) and network datalink interfaces (the objects displayed by
dladm show-link). Datalink interfaces are represented as the set of DLPI device nodes that applications can open by using dlpi_open(3DLPI)
or by opening DLPI nodes out of the /dev/net filesystem (see filesystem(5)). The dlpi_walk(3DLPI) function is the proper function to walk
these nodes.
SunOS 5.11 14 Jan 2009 di_walk_minor(3DEVINFO)