Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] still having host problems....

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Andrew <afrayedknot AT thefrayedknot.armory.com>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] still having host problems....
  • Date: Tue, 8 Oct 2002 11:43:35 -0700

this may help or it may not, when i was on a dhcp network, i had to add
-DH to the dhcpcd command line, that automatically took care of setting my
hostname everytime. so in reality dont really need to run hostname at all.
`
On Tue, Oct 08, 2002 at 02:00:47PM -0500, Jeremy Kolb wrote:
> thanks. but how do i change the behavior? i think it's kind of unfair
> that it just ignores /etc/hostname, then what's the point of having a
> hostname file at all (if you are using dhcp this is, not static).
>
> Jeremy
>
> Eric Sandall wrote:
>
> >>i've inserted echo statements into the /etc/init.d/hostname.sh file, and
> >>i have determined that hostname is run before the network scripts. i
> >>think that this is the source of my problems with the hostname being
> >>reset everytime i boot. is there a way to change the order here? and why
> >>am i the only one with this problem?
> >>
> >>Jeremy
> >>
> >>PS I use dhcp
> >>
> >>
> >
> >Mine also changes names when I'm on my Univ.'s network, but at home (where
> >_I_ control the DHCP server ;)) it stays the same. It used always be the
> >same, no matter where I was, but now the script uses whatever DHCP
> >returns, rather than what I told it to use in /etc/hostname
> >
> >-One of Four
> >a.k.a. sandalle
> >
> >
> >
>
>
>
> _______________________________________________
> SM-Discuss mailing list
> SM-Discuss AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-discuss




Archive powered by MHonArc 2.6.24.

Top of Page