Hi Franz,
Looks like I have some error messages:
- ndd /dev/ce1 link_speed
"couldn't push module 'ce1', No such device or address"
- ndd /dev/qfe0 link_speed
"couldn't push module 'qfe0', No such device or address"
- ndd -get /dev/hme0 link_speed
couldn't push module 'hme0', No such device or address
What are the commands "ndd -set instance 0" and "ndd -set instance 1" doing?,
and should I run the 1st set of "ndd -set instance 0" before I run the "ndd -set instance 1" set of commands ?
You can't use the indexed interface (/dev/hme0 /dev/ce1), only the driver name (/dev/hme /dev/ce). You have to select the interface via the instance variable ("ndd -set /dev/hme instance 1" for hme1, "ndd -set /dev/ce instance 2" for ce2). All subsequent ndd commands to the same driver go to the selected instance.
Thanks,
I understand now.
However, I still have problems here !
From my server configuration:
MyServer$ ifconfig -a
lo0: flags=xxxxxxxxxxxxxxxxx
ce1: flags=xxxxxxxxxxxxxxxxx
qfe0: flags=xxxxxxxxxxxxxxxx
MyServer$ ndd -set /dev/qfe0 instance 0
couldn't push module 'qfe0', No such device or address
-ndd -set /dev/ce1 instance 1
couldn't push module 'ce1', No such device or address
I see many descriptions such as "link_up", "link_speed", which one is telling me the "auto" setup and which one is manually set to "100MBits/s" ?
Thanks for your help.
Thanks huebs,
I think you have typo in the command (I repost your post: "The ndd issue: use "ndd -set /dev/ce instance 1" and NOT "ndd -dev /dev/ce1 instance 1", again: it's "ce", not "ce1".).
I use "ndd -set /dev/ce1 instance 1", but not
"ndd -dev[/red] /dev/ce1 instance 1".
Infact, I still have error when using without a number.
- ndd -set /dev/ce instance 1
couldn't push module 'ce', No such device or address
Thanks anyway, it works for me with "netstat" command.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.