We're looking for where LINUX stores it's IP address.
Our initial thinking was that /etc/sysconfig/network is sourced at boot time
by /etc/rc.d/init.d/inet which uses the value of $HOSTNAME to do a lookup in
/etc/hosts to establish the IP address.
This has proven to be false.
From further investigation I'm concluding that LINUX is similar to AIX in
that via SMIT on AIX, one adds or changes the IP address and this change is
reflected in /etc/hosts & written to the ODM. Whereas on LINUX, one updates
the IP address via linuxconf and this change is written to some binary
somewhere but not reflected in /etc/hosts (feature in linuxconf-1.16r10-2
Any pointers on which file linuxconf writes to?
Phil Ryan @ FISC-Ireland Ltd. / Fidelity Investments, Operations group.
Email : Philip.Ryan at fid-intl.com
FISC - Ireland Ltd., .registered in Ireland no. 245656. Registered office:
FISC Ireland LTD / Fidelity Investments Hardwicke House Upper Hatch Street
Dublin 2 Rep of Ireland. Telephone +353-1-6145400. Any comments or
statements made are not necessarily those of Fidelity Investments, its
subsidiaries, or affiliates
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!