On Mon, Oct 29, 2007 at 10:08:33AM -0700, Craig White wrote:
>
> > 5) Finally, if I have mixed clients (powerPC and i386) will I need to
> > tie MAC addresses to entries in dhcpd to specify the root-path?
> ----
> yes...here's a snippet from my dhcpd.conf
Hi Craig,
Could you explain some of the options below in your dhcpd.conf? One
thing that I'm curious about is why the filename is
"/lts/pxe/pxelinux.0" for the i386 clients but just "yaboot" for the
mac clients (i.e. not a full path).
I still have not given up on the Mac clients yet, and was (finally!)
able to get a G4 iBook to boot from the Xubuntu powerpc Live CD and
installed the ltsp powerpc client on the server.
Now I can't get the Macs to boot over the network.
I updated my dhcpd.conf to offer a different root-path and filename
for the powerpc macs.
Here's my dhcpd.conf file:
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;
option root-path "/opt/ltsp/i386";
if substring( option vendor-class-identifier, 0, 9 ) = "PXEClient" {
filename "/ltsp/i386/pxelinux.0";
} else {
filename "/ltsp/i386/nbi.img";
}
}
group {
option root-path "/opt/ltsp/powerpc";
filename "/ltsp/powerpc/yaboot";
# Define powerpc machines by their MAC address.
host ibook {
hardware ethernet 00:14:51:32:BA:44;
fixed-address 192.168.0.15;
}
host mac1 {
hardware ethernet 00:30:65:f3:50:58;
}
}
Indeed, the ibook does get assigned 192.168.0.15. I boot it holding
down "N" and I get the flashing network boot icon (the globe) on the
iBook display.
Now, when I boot an i386 client I see this in the logs:
Nov 3 18:01:25 ltsps0 nbdrootd[6170]: connect from 192.168.0.250
(192.168.0.250)
Nov 3 18:01:25 ltsps0 nbd_server[6171]: connect from 192.168.0.250, assigned
file is /opt/ltsp/images/i386.img
Nov 3 18:01:25 ltsps0 nbd_server[6171]: Size of exported file/device is
143855616
Nov 3 18:01:31 ltsps0 ldminfod[6173]: connect from 192.168.0.250
(192.168.0.250)
But when booting the iBook I only see the IP get assigned by DHCP but
nothing from nbdrootd that might indicate the image is being sent.
Is the iBook not requesting the network boot? Or is my dhcpd.conf
file incorrect?
Thanks,
>
> # PXE-Install
> group linux-clients {
> ddns-updates on;
> next-server 192.168.3.11;
> option root-path "192.168.3.7:/opt/ltsp/i386";
> filename "/lts/pxe/pxelinux.0";
> # install client
> host install1 {
> # option option-128 e4:45:74:68:00:00;
> # option option-129 "MOPTS=nolock,ro,wsize=2048,rsize=2048";
> hardware ethernet 00:02:55:8B:06:C9;
> fixed-address 192.168.3.49;
> option host-name "install1";
> ddns-hostname "install1";
> }
> }
> group mac-clients {
> ddns-updates on;
> next-server 192.168.3.11;
> option root-path "192.168.3.11:/opt/ltsp/ppc";
> filename "yaboot";
> # install client
> host mac-linux-1 {
> # server-name "mac-linux-1";
> option vendor-class-identifier "AAPLBSDPC";
> option vendor-encapsulated-options
> 01:01:02:08:04:01:00:00:01:82:
> 05: # length
> 69:6d:61:63:34; # hostname
> option option-128 e4:45:74:68:00:00;
> option option-129 "NIC=ne IO=0x300";
> # option option-129
> "NFSOPTS=nolock,ro,wsize=2048,rsize=2048";
>
> hardware ethernet 00:03:93:7f:5d:1a;
> fixed-address 192.168.3.47;
> option host-name "mac-linux-1";
> ddns-hostname "mac-linux-1";
> }
> }
--
Bill Moseley
[EMAIL PROTECTED]
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.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