[mythtv-users] howto: Setting up a fixed hostname on rh9 boxusing
Jarod C. Wilson
jcw at wilsonet.com
Mon May 3 02:33:55 EDT 2004
-----BEGIN PGP SIGNED MESSAGE-----
On Sunday 02 May 2004 16:45, Gerald Schepens wrote:
> Live & learn. Though this more complicated solution does isolate the
> machine from future dhcp-initiated IP address changes.
Well, it gives you a secondary IP on the box, but your primary, routable one
still changes... But I can do that with a subinterface. eth0 as dhcp, eth0:0
as static, no need for the dummy interface. However, I keep all my boxes
behind a dedicated firewall, so it isn't an issue for me.
> So typically people would set their preferred hostname in
> /etc/sysconfig/network and thus avoid losing their system settings
For a Red Hat system, yes. There are similar facilities for other distros, but
in slightly different locations.
> Johnny Lee wrote:
> >I was about to say the same thing...
> >Johnny Lee
> >-----Original Message-----
> >From: Jarod C. Wilson
> >On Sunday 02 May 2004 03:33, Gerald Schepens wrote:
> >>My ISP has a bad habit of changing my hostname every few days. When
> >>this happens, there go all my myth settings, including my capture card.
> >>Very annoying.
> >>In order to stop this from happening, I cooked up the following
> >>workaround, which others more knowledgeable than me may find objections
> >>with, and your mileage may vary.
> >I only object, because there is a MUCH easier way to get a static host
> > name.
> >Add "HOSTNAME=your.host.name" to /etc/sysconfig/network.
Jarod C. Wilson, RHCE
Got a question? Read this first...
MythTV, Fedora Core & ATrpms documentation:
MythTV Searchable Mailing List Archive
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
-----END PGP SIGNATURE-----
More information about the mythtv-users