Current Issue


Table of contents

CD-ROM

Sys Admin and The Perl Journal CD-ROM version 12.0

Version 12.0 delivers every issue of Sys Admin from 1992 through 2006 and every
issue of The Perl Journal from 1996-2002 in one convenient CD-ROM!

Order now!

Sys Admin Magazine > Archives > 2004 > May 2004

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.




MarketPlace

Build IT Knowledge with Current & Trusted Content
Helps Employees Develop & Hone New Technical Programming Skills. Sign Up & Get Full Access.

Six Sigma Certification
100% Online-Six Sigma Certificate from Villanova - Find Out More Now.

Workflow Enabled Help Desk & IT Service Management
Automate service desk activities and integrate processes across IT. Learn more here.

WinDev 11 - Powerful IDE
Develop 10 times faster ! ALM, IDE, .Net, RAD, 5GL, Database, 5GL, 64-bit, etc. Free Express version

Wanna see your ad here?