Guessing that you have two NICs in the server and that eth0 is the interface to the outside world, you need to tell DHCP to only listen to eth1.
Under Debian this is done in /etc/defaults/dhcp by adding eth1 to the INTERFACES="" line
Pete -- http://www.elbnet.com ELB Internet Service, Inc. Web Design, Computer Consulting, Internet Hosting
Adam Bogacki wrote:
Thanks. It makes sense ... < netstat -anp | grep ":67 "> gives me nothing.
203.79.110.81 is my DNS. I've replaced it by 192.168.0.1 -
and also two missing lines to the root-path, but I'm now getting the error message
No subnet declaration for eth0 (203.79.110.81). Please write a subnet declaration in your dhcpd.conf file for the network segment to which interface eth0 is attached. exiting.
Should I delete 203.79.110.81 rather than commenting it out ? I've discovered the #ltsp IRC channel on irc.freenode.net. I did not use pxelinux but rather the eb-5.2.5-rtl8139.zdsk ROM with CONFIG_PCI_DIRECT option. My current /etc/dhcpd.conf is below.
Adam Bogacki [EMAIL PROTECTED]
default-lease-time 21600; max-lease-time 21600;
option subnet-mask 255.255.255.0;
#option broadcast-address 203.79.110.255;
option routers 192.168.0.1;
option domain-name-servers 192.168.0.1;
option domain-name "paradise.net.nz"; # <--Fix this domain name
option root-path "192.168.0.1:/opt/ltsp/i386";
filename "/lts/2.4.24-ltsp-4/pxelinux.0";
option log-servers 192.168.0.1;
subnet 192.168.0.0 netmask 255.255.255.0 { range dynamic-bootp 192.168.0.1 192.168.0.253; }
##subnet 203.79.110.0 netmask 255.255.255.192 { ## use-host-decl-names on; ## option log-servers 203.79.110.81;
Jim McQuillan wrote:
On Sun, 21 Nov 2004, Adam Bogacki wrote:
Hi, I've eliminated most of the possibilities preventing recognition of DHCP
by ws001 mentioned in LTSP documentation, and at one stage
ps aux | grep dhcpd
was giving me three lines, the middle one containing '- vi dhcpd.conf'
which I assume was the problem.
That's not a problem. It just shows that you are editing the dhcpd.conf file. Which is Ok. What other lines did you see in the output of the ps command?
According to the LTSP doc, if the workstation gets a valid reply from the DHCP
server it gives a response containing
Me: 192.168.0.1, Server: 192.168.0.254, Gateway 192.168.0.254
suggesting these are three key ingredients. They seem to be lacking in my
/etc/dhcpd.conf (below). I really don't care if IP is statically or
dynamically
allocated (my ISP uses static) ... as long as it works. I've tried both
options
without success. DHCPD starts at boot - can anything be fixed in the config
below ?
Does dhcpd really start at boot? Try this to be sure:
netstat -anp | grep ":67 "
How many nics do you have in your server?
Do you really own the 203.79.110.0 class-c ? or just some portion of it?
If that 203.79.110.0 network is exposed to the internet, you REALLY don't want to be serving up NFS, DHCP, TFTP and XDMCP on that net. That's a huge security problem.
Also, you might try popping into the #ltsp IRC channel on irc.freenode.net, where we can help you interactively.
Jim McQuillan [EMAIL PROTECTED]
Adam Bogacki, [EMAIL PROTECTED]
default-lease-time 21600; max-lease-time 21600;
option subnet-mask 255.255.255.0; option broadcast-address 203.79.110.255; option routers 203.79.110.81; option domain-name-servers 203.79.110.81; option domain-name "paradise.net.nz"; # <--Fix this domain name option root-path "203.79.110.81:/opt/ltsp/i386";
subnet 192.168.0.0 netmask 255.255.255.0 { range dynamic-bootp 192.168.0.1 192.168.0.253; }
subnet 203.79.110.0 netmask 255.255.255.192 { use-host-decl-names on; option log-servers 203.79.110.81;
##
## If you want to use static IP address for your workstations, then
un-comment
"/etc/dhcpd.conf" 58L, 2000C 1,1
Top
## the following section and modify to suit your network.
## Then, duplicate this section for each workstation that needs a static
## IP address.
##
host ws001 { <----- Fix this
hostname
hardware ethernet 00:0B:2B:03:D2:57; <-- Fix this MAC
addr
fixed-address 192.168.0.2; <-- Fix this IP
addr
filename "/lts/vmlinuz-2.4.26-ltsp-1";
# }
## # If you want to use a dynamic pool of addresses, then un-comment the following # lines and modify to match your network. # # subnet 192.168.0.0 netmask 255.255.255.192 { # range dynamic-bootp 192.168.0.1 192.168.0.253; # } ##
}
------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _____________________________________________________________________ Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: https://lists.sourceforge.net/lists/listinfo/ltsp-discuss For additional LTSP help, try #ltsp channel on irc.freenode.net
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_____________________________________________________________________
Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto:
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_____________________________________________________________________
Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto:
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net
