|
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
|