Hi all
Maybe I was not so clear initially.
In answer to ahwkong questions 1. and 2.
I did this so i could post a question. WinXP box had windows OS drive removed. FC2 was used via a slide in carriage, ie. not dual boot.
I did not manually alter any .conf files making the static ip address changes. All of the things I manually changed were written down and all were changed back when I couldnt get statics to work. Obviously things I didnt back up AND did not change manualy were altered by the OS somehow.
Quote---
Actually, when you said, "/etc/dhcp(d?).conf is empty except for the # comments at the beginning.", doesn't it explain why the error message come up? You must define something such that dhcpd knows about the range of IPs that it has to distribute to.
/Quote---
the (d?) reference was due to the fact that i was not sure if it was dhcp.conf OR dhcpd.conf.from my falable memory.
If I knew the answer, I would not post here.
Does that make it clearer ahwkong?
-----------
Thanks DavidPhillips for your input so far.
Output of ifconfig is
----------------
[root@brellium dhcp]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:0C:6E:2B:C9:07
inet addr:10.1.1.101 Bcast:10.255.255.255 Mask:255.0.0.0
inet6 addr: fe80::20c:6eff:fe2b:c907/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:54 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:7182 (7.0 Kb)
Interrupt:10 Base address:0x9800
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2186 errors:0 dropped:0 overruns:0 frame:0
TX packets:2186 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2046040 (1.9 Mb) TX bytes:2046040 (1.9 Mb)
[root@brellium dhcp]#
----------------
Contents of dhcpd.conf is
----------------
ddns-update-style interim;
ignore client-updates;
subnet 239.252.197.0 netmask 255.255.255.0 {
range 239.252.197.10 239.252.197.250;
default-lease-time 600;
}
------------------
This was just the minimum that the man dhcpd.conf said may work.
I dont know where the 1st two lines came from, i didnt try to comment those out, now that i think about it..
I have read the section on dhcpd.leases and it said this
--------------------
When dhcpd is first installed, there is no lease database. However,
dhcpd requires that a lease database be present before it will start.
To make the initial lease database, just create an empty file called
/var/lib/dhcp/dhcpd.leases. You can do this with:
touch /var/lib/dhcp/dhcpd.leases
-------------------
I then did that. Contents of dhcpd.leases is
-------------------
# All times in this file are in UTC (GMT), not your local timezone. This is
# not a bug, so please don't ask about it. There is no portable way to
# store leases in the local timezone, so please don't request this as a
# feature. If this is inconvenient or confusing to you, we sincerely
# apologize. Seriously, though - don't ask.
# The format of this file is documented in the dhcpd.leases(5) manual page.
# This lease file was written by isc-dhcp-V3.0.1rc12
all comments, no meat at all.
---------------------
Error message when I try to start dhcp with services control tool at this point is now.
---------------------------
For more info, please visit
http://www.isc.org/products/DHCP
Wrote 0 leases to leases file.
No subnet declaration for eth0 (10.1.1.101).
** Ignoring requests on eth0. If this is not what
you want, please write a subnet declaration
in your dhcpd.conf file for the network segment
to which interface eth0 is attached. **
Not configured to listen on any interfaces!
-----------------------------
Now I am aware that the problem is at least partly here, my eth0 card has address of 10.1.1.101
and I have the default numbers
range 239.252.197.10 239.252.197.250;
I did try to change the range to 10.1.1.0 10.1.1.200
and matched the netmask to the output from ifconfig for that device. ie.255.0.0.0
Other various errors occured then, so I put it back to default settings suggested in man dhcp
and since I seem not to be able to grasp the concepts needed, and after some time spent I offer it up for your further suggestions.
Kindest regards
Allan