View previous topic :: View next topic |
Author |
Message |
gml Guest
|
Posted: Thu Sep 02, 2004 14:02 Post subject: dhcp error |
|
|
during the server start, dhcpd3 said that it's impossible to run.
I read the /etc/dhcp3/dhcp.conf it's the default file of configuration.
Where is the file generated by installation ?
I use the last stable and developpement version and I've same problem with two. an idea ? |
|
Back to top |
|
|
gml Guest
|
Posted: Thu Sep 02, 2004 14:55 Post subject: info |
|
|
the dhcpd conf file is : /etc/dhcp3/dhcpd.conf
during the installation, a message says that rm don't remove dhcpd.conf because the file doesn't exist.
help me please |
|
Back to top |
|
|
Hauke
Joined: 02 Mar 2003 Posts: 1072
|
Posted: Thu Sep 02, 2004 16:13 Post subject: |
|
|
If you start a newly installed m23 server there are no managed clients and no entries in the dhcpd.conf. The dhcp server doesn't start without a client in the config file.
After the first client is added with m23 administration interface the client values are written to dhcpd.conf and the dhcp server is (re)started.
You can ignore the dhcp error message. It doesn't look nice, but doesn't matter too. _________________ Hauke Goos-Habermann
- project leader m23 (http://m23.sf.net) -
Jabber: dodgerm23@jabber.org
Schulung, Entwicklung und Support zu m23 und anderen OpenSource-Produkten: www.goos-habermann.de
Auch DU kannst etwas gegen Softwarepatente tun! www.patentfrei.de |
|
Back to top |
|
|
gml Guest
|
Posted: Fri Sep 03, 2004 21:07 Post subject: thanks |
|
|
thanks your response.
Maybe you write this explanation on the end of m23 installation because for me, I really think that I miss the installation |
|
Back to top |
|
|
tyllermills Guest
|
Posted: Wed May 11, 2005 7:59 Post subject: |
|
|
Hy,
I have a problem with PXE/ DHCP :
-I've installed server correctly. (DHCP is not started : In the syslog i see : "not subnet declaration for eth0 (192.168.0.123) ...")
-I've create a client with PXE like this :
If the client is OFF, it don't boot automatiquely ....
and if I boot the client, PXE search DHCP ..../ et stop after timeout.
PS : it the same error with etherboot.
I think is normal, because DHCP server don't work ...
how configure it ? |
|
Back to top |
|
|
tyllermills Guest
|
Posted: Wed May 11, 2005 8:17 Post subject: |
|
|
I have configured DCHP server and start it manually.
When the client PXE boot, the error message is :
PXE-E53 - "No boot filename received" |
|
Back to top |
|
|
tyllermills Guest
|
Posted: Wed May 11, 2005 8:27 Post subject: |
|
|
in my dhcp.conf ...
Code: | subnet 192.168.0.0 netmask 255.255.255.0 {
range dynamic-bootp 192.168.0.60 192.168.0.70;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
} |
and in /var/log/message i have :
Code: | May 11 12:21:03 serverM23 dhcpd: DHCPDISCOVER from 00:b0:d0:18:8b:9b via eth0
May 11 12:21:03 serverM23 dhcpd: DHCPOFFER on 192.168.0.70 to 00:b0:d0:18:8b:9b via eth0 |
The DCHP work but, don't send the "filename" to the client.
Where is the boot image to the server ? for add line like
" filename "/tftpboot/pxelinux.0";"
in dhcpd.conf
thx |
|
Back to top |
|
|
Hauke
Joined: 02 Mar 2003 Posts: 1072
|
Posted: Wed May 11, 2005 9:15 Post subject: |
|
|
Quote: | -I've installed server correctly. (DHCP is not started : In the syslog i see : "not subnet declaration for eth0 (192.168.0.123) ...") |
That's normal if there is no client that should be booted over the network.
Quote: | I have configured DCHP server and start it manually. |
You must not edit the dhcpd.conf by hand this will lead to serious troubles.
Remove all lines that you have added by hand, delete your client (in the werbinterface) and add it again.
Then you should check,
- if there are firewalls in your network that make network booting impossible.
- if the dhcpd server is running (ps -A | grep dhcpd)
- if the client was added in /m23/dhcp/dhcpd.conf
Please post the generated dhcpd.conf, if it still doesn't work.
What kind of netboot are you really needing? PXE (bootrom), Etherboot (bootrom, bootfloppy), boot CD? _________________ Hauke Goos-Habermann
- project leader m23 (http://m23.sf.net) -
Jabber: dodgerm23@jabber.org
Schulung, Entwicklung und Support zu m23 und anderen OpenSource-Produkten: www.goos-habermann.de
Auch DU kannst etwas gegen Softwarepatente tun! www.patentfrei.de |
|
Back to top |
|
|
tyllermills Guest
|
Posted: Wed May 11, 2005 11:51 Post subject: |
|
|
I'm sorry, I haven't manip correctly. (I had remove and reinstall dhcp3-server)
I have reinstalled m23, and now it's works.
The client is added in /m23/dhcp/dhcpd.conf.
now I have other pb... describ here :
http://m23.sourceforge.net/phpBB2/viewtopic.php?t=101 |
|
Back to top |
|
|
|