[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Startup network scripts
- From: Ajit Warrier <unixajit yahoo com>
- To: redhat-install-list redhat com
- Subject: Re: Startup network scripts
- Date: Tue, 13 May 2003 10:55:58 -0700 (PDT)
I have set dhclient so that it now does send the name
to the DHCP server and consequently gets registered in
the DNS server as well. Now when I run dhclient from
the terminal, it does everything correctly as
described. So that's a success!
However, when I restart the RHL9 unit, it once again
does not register the name. Once it has rebooted, if I
run dhclient from the terminal, it registers the name
with the servers.
My guess if that either dhclient is not being used by
my RHL9 client while booting up (it is a standard
"everything" install and I have changed nothing) or
the partitions the files are on, are not accessible at
the time dhclient is starting up. So my questions are
-
1. How can I check to see what DHCP client is being
used during startup - dhclient or dhcpcd?
2. Is there a way to run dhclient after startup
explicitly? Is this a good idea?
Thanks for any help.
Ajit
--- Rick Stevens <rstevens vitalstream com> wrote:
> Ajit Warrier wrote:
> > I am sorry, Rick. I must have missed your reply.
> >
> > What I am trying to do is this - when my RHL9
> client
> > starts up, I want it to call a dhcp client daemon
> > which is at a certain location, instead of the
> default
> > daemon. That is, at startup, after eth0 is up, I
> want
> > it to execute /root/Downloads/udhcp/udcpc -H
> > hostname.domain.com instead of the default DHCP
> client
> > that comes with RHL9. How can I get this to
> happen?
>
> You need to change the
> /etc/sysconfig/network-scripts/ifup script and
> add code to look for your specific port. When your
> port is found, then
> have it invoke your special program.
>
> > Why do I want to do this? - For some reason the
> DHCP
> > client that came with RHL9 does not seem to be
> sending
> > the hostname to the DHCP server. Is there a way to
> > find out if it is indeed sening it? Like a tcpdump
> > from the time the computer boots up?
>
> I don't have an RH9 box handy to check this. My
> guess is that RH9 uses
> dhclient, so check the "/etc/dhclient.conf" file for
> info about which
> options are used to set it up.
>
> Also "man -k dhcp" and check the man pages for all
> the dhclient-related
> stuff.
>
----------------------------------------------------------------------
> - Rick Stevens, Senior Systems Engineer
> rstevens vitalstream com -
> - VitalStream, Inc.
> http://www.vitalstream.com -
> -
> -
> - Denial. It ain't just a river in Egypt
> anymore! -
>
----------------------------------------------------------------------
>
>
>
> _______________________________________________
> Redhat-install-list mailing list
> Redhat-install-list redhat com
>
https://listman.redhat.com/mailman/listinfo/redhat-install-list
> To Unsubscribe Go To ABOVE URL or send a message to:
> redhat-install-list-request redhat com
> Subject: unsubscribe
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]