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 > 2001 > January 2001
Questions and Answers

Jim McKinstry and Amy Rich

Q: Does AIX have support for IP aliasing through SMIT?

A: Prior to AIX 4.3, the answer was no and you had to use ifconfig commands in /etc/rc.net:

ifconfig <iface> <ipaddr> netmask <mask> [alias|delete]

With 4.3, though, you can use the following fastpath:

smitty mkinet4al

which executes the command:

chdev -l <iface> -a alias4=<ipaddr>[,<netmask>]

Removal can also be done through smit with:

 smitty rminet4al

which does:

chdev -l <iface> -a delalias4=<ipaddr>[,<netmask>]
Q: How do I find out which package is associated with a particular file on a Solaris machine?

A: All of the package installation information is stored in /var/sadm/install/contents. If you want to find a particular file, you can do:

grep FILE /var/sadm/install/contents
The last field will tell you what package FILE belongs to.

Q: I heard there was a program called hid that changes the MAC address of a Solaris 2.6 machine. This doesn't appear to work on a 2.7 machine. Do you know of any utility that will perform the same function for 2.7?

A: If you look at the Web page where change-sun-hostid (aka hid) is maintained, you'll find a 64-bit Solaris 7-compatible version called hid2.

http://www.squirrel.com/squirrel/sun-stuff.html

Q: I just upgraded my machine from FreeBSD 4.0 to 4.1.1. I was running a custom-installed Sendmail, version 8.11.1. I had "NO_SENDMAIL= yes" in /etc/make.conf. After the upgrade, Sendmail wouldn't start because it said my cf file version was too new for my binary version, 8.9




MarketPlace

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

Villanova University Six Sigma & IT Certificate Programs
100% Online programs in Six Sigma, IS Security, CISSP Prep, Business Analysis, Proj. Mgmt. and more!

Learn Embedded Linux, $349
Hands-on kit teaches fundamentals of embedded Linux development on real target hardware. ARM9 SBC.

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

Wanna see your ad here?