Questions and
Answers
Amy Rich
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
Q I just tried upgrading from FreeBSD 5.1 to FreeBSD
5.2 by obtaining the source from CVS and building things from scratch. I followed
the documentation at:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
but it crashed during make installworld. It looks like things installed
ok, but obviously the crash should not have happened. Does the normal build procedure
not apply to FreeBSD 5 because it's not a STABLE release yet?
A When upgrading FreeBSD from source, always
be sure to read /usr/src/UPDATING.
|