You are not logged in.
I've followed this guide on the archlinux wiki (http://wiki.archlinux.org/index.php/Ins … _(via_PXE)) on how to install archlinux from network via PXE, bacuse I'm trying out all sorts of different stuff on my recently bought Soekris net5501-70. I've followed the guide two times - both times I got the same result: dhcp fails when I try to start the daemon. When I start it from the commandline I get this output:
# dhcpd
Internet Systems Consortium DHCP Server 4.1.0p1
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Wrote 0 leases to leases file.
No subnet declaration for eth0 (192.168.1.117).
** 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!
If you did not get this software from ftp.isc.org, please
get the latest from ftp.isc.org and install that before
requesting help.
If you did get this software from ftp.isc.org and have not
yet read the README, please read it before requesting help.
If you intend to request help from the dhcp-server@isc.org
mailing list, please read the section on the README about
submitting bug reports and requests for help.
Please do not under any circumstances send requests for
help directly to the authors of this software - please
send them to the appropriate mailing list as described in
the README file.
exiting.
#I remember reading somewhere that it's possible to specify DHCP_ARGS="-q eth0" in /etc/conf.d/dhcp, however I rememver also to have read somewhere else that this could be omitted, cause then the dhcp-server would listen on all interfaces.
I've also tried to use the configuration from here: http://people.freebsd.org/~alfred/pxe/e … dhcpd.conf, http://jdc.parodius.com/freebsd/pxeboot … all_8.html and one youtube howto for debian lenny - no real difference.
Don't know what to do next.
EDIT: Changed title from 'hmmm'
Last edited by rusma (2010-03-26 19:44:53)
Offline
Please edit your post and change the subject to something meaningful. Unless you don't care about people actually supporting you ;-)
-edit-
That's better!
-edit-
Show us your /etc/dhcpd.conf.
Last edited by lucke (2010-03-26 19:48:06)
Offline
My dhcp.conf is the same as in the article about pxeboot in the archwiki, here it goes:
# cat /etc/dhcpd.conf
# /etc/dhcpd.conf
option domain-name-servers 208.67.222.222, 208.67.220.220;
default-lease-time 86400;
max-lease-time 604800;
authoritative;
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.10 192.168.0.49;
filename "pxelinux.0"; # the PXELinux boot agent
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
}Offline
And what does ifconfig on the PC you want to run dhcpd on show?
Offline
$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:1E:C9:7C:6E:68
inet addr:192.168.1.117 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::21e:c9ff:fe7c:6e68/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:764985 errors:0 dropped:0 overruns:0 frame:0
TX packets:579498 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:958637516 (914.2 Mb) TX bytes:198389533 (189.1 Mb)
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:42 errors:0 dropped:0 overruns:0 frame:0
TX packets:42 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3204 (3.1 Kb) TX bytes:3204 (3.1 Kb)
$as you see I have only one ethernet card on this machine, and I'm using the internet for this.
I remember also to have read somewhere that it would be preferable to recompile the kernel to completely remove the ipv6 driver, but I have not done this yet.
Offline
You've configured 192.168.0.0/24 but your interface is on 192.168.1.0/24, so dhcpd doesn't find an interface to listen on.
Offline
You've configured 192.168.0.0/24 but your interface is on 192.168.1.0/24, so dhcpd doesn't find an interface to listen on.
Thanks for insighful answer
Although, it was really not what I was looking for. You see, dhcpd worked fine when altering the configuration slightly to look like this:
# /etc/dhcpd.conf
option domain-name-servers 208.67.222.222, 208.67.220.220;
default-lease-time 86400;
max-lease-time 604800;
authoritative;
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.10 192.168.1.49;
filename "pxelinux.0"; # the PXELinux boot agent
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option routers 192.168.1.1;
}but, does not appear to work when I unplug the network cable and plug it in one of the cold net5501's network interfaces. What is this due to?
Offline
I've manually assigned a static ip and netmask to the network interface now ([wiki]Configuring_Network#Manual_assignment[/wiki]), and dhcp started up without complaining, so I think the problem is solved for now ![]()
Offline