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: Adam Clark <adamsgl AT dhbit.ca>
  • To: Casey Harkins <charkins AT upl.cs.wisc.edu>
  • Cc: afrayedknot AT thefrayedknot.armory.com, sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] still having host problems....
  • Date: Wed, 9 Oct 2002 13:22:07 -0700

Somehow this "-H" flag crept into the networking.sh file recently. I've
submitting a bug regarding it, as I doubt anyone here wants this flag by
default.


On Tue, 8 Oct 2002 16:57:24 -0500 (CDT)
Casey Harkins <charkins AT upl.cs.wisc.edu> wrote:

> This is right on, except he wants the opposite behavior. Edit
> /etc/init.d/networking.sh and look for the line in start():
>
> loadproc dhcpcd $DEVICE -H
>
> and remove the -H. This should prevent your hostname from being changed
> via dhcp. IIRC, someone else brought this up and I think this may be
> changed in the init.d spell, or at least be specified as an option.
>
> -casey
>
>
>
> On Tue, 8 Oct 2002, Andrew wrote:
>
> > 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
> > _______________________________________________
> > SM-Discuss mailing list
> > SM-Discuss AT lists.ibiblio.org
> > http://lists.ibiblio.org/mailman/listinfo/sm-discuss
> >
>
> _______________________________________________
> SM-Discuss mailing list
> SM-Discuss AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-discuss


--
Adam Clark, Chat Section Maintainer, ISO Forger
Grimoire Gurus Cardholding Member
a.k.a. Kinetix on #sourcemage, #grimoire-gurus
http://grimoire-gurus.org

Attachment: pgpHvD8FmjcB9.pgp
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page