[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: basic question about assigning ip address
- From: "Jacques B." <jjrboucher gmail com>
- To: "For users of Fedora" <fedora-list redhat com>
- Subject: Re: basic question about assigning ip address
- Date: Sat, 29 Sep 2007 23:02:49 -0400
On 9/29/07, Peter Horst <phorst speakeasy net> wrote:
> I have a Fedora machine I'm using as a home server, without a keyboard
> or monitor. I'd like to set it up such that upon rebooting it first
> checks to see if there is a DHCP server on the network, and if so, grabs
> an ip address from it. But if there isn't one, it assigns itself a
> static address. Is this doable?
>
> Thank you.
You could run a script at the end of the re-boot to check the IP. If
no IP has been assigned then the script could assign a static one via
the ifconfig command.
Jacques B.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]