Red Hat Networking - Re: Host Name

This is Interesting: Free IT Magazines  
Home > Archive > Red Hat Networking > January 2004 > Re: Host Name





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: Host Name
Alexander Dalloz

2004-01-23, 7:32 pm

William <william@procomsys.com> wrote:
quote:

> I need to change the hostname on a machine. I can reset it with hostname
> name OK, but I need to change the value that is supplied at boot time. I
> thought that the value was stored in /etc/hostname, but that file does
> not exist, and I can't find an equivalent file anywhere else.
>
> So where does /bin/hostname look for the value it returns during the
> boot sequence?
>
> TIA



edit

/etc/hosts

and

/etc/sysconfig/network

Alexander


--
Alexander Dalloz | Enger, Germany
PGP key valid: made 13.07.1999
PGP fingerprint: 2307 88FD 2D41 038E 7416 14CD E197 6E88 ED69 5653
William

2004-01-23, 7:32 pm

Got it. Thanks

Alexander Dalloz wrote:
quote:

> William <william@procomsys.com> wrote:
>
>
>
>
> edit
>
> /etc/hosts
>
> and
>
> /etc/sysconfig/network
>
> Alexander
>
>




--
/* ========================================
======================= */

I know you believe you understand what you think I said, but I am not
sure you realize that what you heard was not what I meant.

William E Colls President
Tel 613 591 0079 PROComputer Systems
Fax 613 591 3924 67 Willow Glen Dr.
www.procomsys.com Kanata Ontario K2M 1T1

Specialists in Progress Database systems since 1986

Alexander Dalloz

2004-01-23, 7:32 pm

William <william@procomsys.com> wrote:
quote:

> I need to change the hostname on a machine. I can reset it with hostname
> name OK, but I need to change the value that is supplied at boot time. I
> thought that the value was stored in /etc/hostname, but that file does
> not exist, and I can't find an equivalent file anywhere else.
>
> So where does /bin/hostname look for the value it returns during the
> boot sequence?
>
> TIA



edit

/etc/hosts

and

/etc/sysconfig/network

Alexander


--
Alexander Dalloz | Enger, Germany
PGP key valid: made 13.07.1999
PGP fingerprint: 2307 88FD 2D41 038E 7416 14CD E197 6E88 ED69 5653
William

2004-01-23, 7:32 pm

Got it. Thanks

Alexander Dalloz wrote:
quote:

> William <william@procomsys.com> wrote:
>
>
>
>
> edit
>
> /etc/hosts
>
> and
>
> /etc/sysconfig/network
>
> Alexander
>
>




--
/* ========================================
======================= */

I know you believe you understand what you think I said, but I am not
sure you realize that what you heard was not what I meant.

William E Colls President
Tel 613 591 0079 PROComputer Systems
Fax 613 591 3924 67 Willow Glen Dr.
www.procomsys.com Kanata Ontario K2M 1T1

Specialists in Progress Database systems since 1986

Alexander Dalloz

2004-01-23, 7:32 pm

William <william@procomsys.com> wrote:
quote:

> I need to change the hostname on a machine. I can reset it with hostname
> name OK, but I need to change the value that is supplied at boot time. I
> thought that the value was stored in /etc/hostname, but that file does
> not exist, and I can't find an equivalent file anywhere else.
>
> So where does /bin/hostname look for the value it returns during the
> boot sequence?
>
> TIA



edit

/etc/hosts

and

/etc/sysconfig/network

Alexander


--
Alexander Dalloz | Enger, Germany
PGP key valid: made 13.07.1999
PGP fingerprint: 2307 88FD 2D41 038E 7416 14CD E197 6E88 ED69 5653
William

2004-01-23, 7:32 pm

Got it. Thanks

Alexander Dalloz wrote:
quote:

> William <william@procomsys.com> wrote:
>
>
>
>
> edit
>
> /etc/hosts
>
> and
>
> /etc/sysconfig/network
>
> Alexander
>
>




--
/* ========================================
======================= */

I know you believe you understand what you think I said, but I am not
sure you realize that what you heard was not what I meant.

William E Colls President
Tel 613 591 0079 PROComputer Systems
Fax 613 591 3924 67 Willow Glen Dr.
www.procomsys.com Kanata Ontario K2M 1T1

Specialists in Progress Database systems since 1986

Alexander Dalloz

2004-01-23, 7:32 pm

William <william@procomsys.com> wrote:
quote:

> I need to change the hostname on a machine. I can reset it with hostname
> name OK, but I need to change the value that is supplied at boot time. I
> thought that the value was stored in /etc/hostname, but that file does
> not exist, and I can't find an equivalent file anywhere else.
>
> So where does /bin/hostname look for the value it returns during the
> boot sequence?
>
> TIA



edit

/etc/hosts

and

/etc/sysconfig/network

Alexander


--
Alexander Dalloz | Enger, Germany
PGP key valid: made 13.07.1999
PGP fingerprint: 2307 88FD 2D41 038E 7416 14CD E197 6E88 ED69 5653
William

2004-01-23, 7:32 pm

Got it. Thanks

Alexander Dalloz wrote:
quote:

> William <william@procomsys.com> wrote:
>
>
>
>
> edit
>
> /etc/hosts
>
> and
>
> /etc/sysconfig/network
>
> Alexander
>
>




--
/* ========================================
======================= */

I know you believe you understand what you think I said, but I am not
sure you realize that what you heard was not what I meant.

William E Colls President
Tel 613 591 0079 PROComputer Systems
Fax 613 591 3924 67 Willow Glen Dr.
www.procomsys.com Kanata Ontario K2M 1T1

Specialists in Progress Database systems since 1986

Alexander Dalloz

2004-01-23, 7:33 pm

William <william@procomsys.com> wrote:
quote:

> I need to change the hostname on a machine. I can reset it with hostname
> name OK, but I need to change the value that is supplied at boot time. I
> thought that the value was stored in /etc/hostname, but that file does
> not exist, and I can't find an equivalent file anywhere else.
>
> So where does /bin/hostname look for the value it returns during the
> boot sequence?
>
> TIA



edit

/etc/hosts

and

/etc/sysconfig/network

Alexander


--
Alexander Dalloz | Enger, Germany
PGP key valid: made 13.07.1999
PGP fingerprint: 2307 88FD 2D41 038E 7416 14CD E197 6E88 ED69 5653
William

2004-01-23, 7:33 pm

Got it. Thanks

Alexander Dalloz wrote:
quote:

> William <william@procomsys.com> wrote:
>
>
>
>
> edit
>
> /etc/hosts
>
> and
>
> /etc/sysconfig/network
>
> Alexander
>
>




--
/* ========================================
======================= */

I know you believe you understand what you think I said, but I am not
sure you realize that what you heard was not what I meant.

William E Colls President
Tel 613 591 0079 PROComputer Systems
Fax 613 591 3924 67 Willow Glen Dr.
www.procomsys.com Kanata Ontario K2M 1T1

Specialists in Progress Database systems since 1986

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com