Re: basic question about assigning ip address
- From: "Jacques B." <jjrboucher@xxxxxxxxx>
- Date: Sat, 29 Sep 2007 23:02:49 -0400
On 9/29/07, Peter Horst <phorst@xxxxxxxxxxxxx> 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.
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
- References:
- basic question about assigning ip address
- From: Peter Horst
- basic question about assigning ip address
- Prev by Date: Re: Recommendation for Fedora server?
- Next by Date: Re: Recommendation for Fedora server?
- Previous by thread: Re: basic question about assigning ip address
- Next by thread: Re: basic question about assigning ip address
- Index(es):
Relevant Pages
- Re: [SLE] Re: Network Up, Then Down with 9.2 -- more info
... To get around the problem I created an rc script to bring down fetchmail, postfix and
the network, then bring them up again. ... eth0 now has no ip address. ...
>> I tried rebooting and going into single user mode and then manually running ...
(SuSE) - Re: [Call for Testers] ACPI-CA 20071114
... FYI, ACPI-CA changes ... the script was being invoked from a Perl script
I was ... using to set a NIC's IP address on a network that doesn't seem to ...
have a DHCP server. ... (freebsd-current) - Re: basic question about assigning ip address
... 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 ...
your server, use it as your DHCP server, too. ... (Fedora) - Re: Modelling Complex Sentences
... re-inventing the network data model). ... If such as classifying node
does not exist, ... Since people complained that dbd's scripts were too long, ...
you typically use the CREATE/INSERT commands to ... (comp.databases.theory) - Re: Change IP related values due to WAN design change
... Unknown network, ... For the cost of testing a dangerous script in a
big ... > recurse your text file into an array. ... > var newSettings
= new NetworkSettings; ... (microsoft.public.windows.server.scripting)