Configuring DHCP.
Daniel Carrera
daniel.carrera at zmsl.com
Thu Aug 25 11:23:32 UTC 2005
Hello,
I seem to have made progress. I edited /etc/network/interfaces:
- auto lo
+ auto lo eth0 eth1
I don't really know what that's supposed to do, but now the DHCP server
starts. Indeed, when I boot the thin client, it successfully receives an
address from the DHCP server.
The client still doesn't boot up. The last message I see is:
Searching for server (DHCP)......
Me: 192.168.0.250, DHCP: 192.168.0.1, TFTP: 192.168.0.1, Gateway 192.168.0.1
Loading 192.168.0.1:/ltsp/pxelinux.0
And then it just hangs there.
I checked, and the server does /not/ have a file with the path
/ltsp/pxelinux.0 and indeed, 'locate pxelinux' does not return anything.
I have followed the instructions in:
http://www.edubuntu.org/EdubuntuTesting
And I've rebooted the computer since.
So I suspect that the thin client is not receiving a kernel from the
server. But it's hard to imagine that a kernel just isn't available.
Incidentally, I did restart portmap and nfs-kernel-server like the
instructions say, without error.
Again, any help would be much appreciated.
Cheers,
Daniel.
Daniel Carrera wrote:
> Hello,
>
> I'm having problems configuring the DHCP server (it won't start - need
> help with dhcpd.conf).
>
> 1) This is my current setup:
>
> * eth0 points to the internet.
> * eth1 points to the thin clients.
> * I did 'sudo dpkg-reconfigure dhcp3-server' and told it to serve DHCP
> requests on eth1.
> * I did copy /etc/ltsp/dhcpd.conf to /etc/dhcp3
> * I edited /etc/network/interfaces to contain:
>
> iface eth0 inet dhcp
> iface eth1 inet static
> address 192.168.0.1
> netmask 255.255.255.0
> up flush-mail
>
> 2) This is the error:
>
> When I type 'sudo /etc/init.d/dhcp3-server start' I get the message
> "dhcpd3 failed to start" and the following error in syslog:
>
> <quote>
> No subnet declaration for eth1 (0.0.0.0).
> ** Ignoring requests on eth1. If this is not what
> you want, please write a subnet declaration
> in your dhcpd.conf file for the network segment
> to which interface eth1 is attached. **
>
> Not configured to listen on any interfaces!
> </quote>
>
> The contents of dhcpd.conf are unmodified from the default
> /etc/ltsp/dhcpd.conf. That is:
>
> <full-contents>
> authoritative;
>
> subnet 192.168.0.0 netmask 255.255.255.0 {
> range 192.168.0.20 192.168.0.250;
> option domain-name "example.com";
> option domain-name-servers 192.168.0.1;
> option broadcast-address 192.168.0.255;
> option routers 192.168.0.1;
> option subnet-mask 255.255.255.0;
>
> filename "/ltsp/pxelinux.0";
> option root-path "/opt/ltsp/i386";
> }
> </full-contents>
>
>
> I am now at a loss. I don't know what to do here. I was hoping that
> someone here could guide me a little. Any help would be very much
> appreciated.
>
> Cheers,
> Daniel.
--
/\/`) Leave your mark at OpenOffice.org
/\/_/ http://oooauthors.org
/\/_/
\/_/ "The pedant keep things in order, the genius
/ rules the chaos" -- Sigrid Kronenberger
More information about the edubuntu-devel
mailing list