imac dhcp or bootp
Carl Olof Englund
realdiskdoc at gmail.com
Mon Jan 14 17:50:25 GMT 2008
I've been trying to set up our imac as a terminal for several hours now and
it's starting to get to me, so I'm asking for help and taking a little
break :)
I got the client enviroment (image?) built nicely according to the link Gavin
supplied:
https://help.ubuntu.com/community/UbuntuLTSP/LTSPCrossArchSetup
There was some trouble with the Edubuntu-LiveCD not booting all the way
(atyfb?) but I found the 7.10 ppc XUbuntu alternative and used that instead.
NOW.. I've struggled with modifying dhcp.conf to account for the imac. Problem
is, I can't get classes set up the way Bill did it. The PC terminals which
work fine with my current setup (supplied below) refuse to boot when I try to
class:ify them. Now I'm thinking to try and put all the imac-stuff under a
host-statement, since we only have a single mac, and keep the PC-stuff under
subnet as before..
But.. Reading around (like here for example:
http://ask.metafilter.com/21425/Is-is-possible-to-NetBoot-a-G3-iMac) I get
the impression the iMac wants BOOTP, not DHCP? I'm pressing "n" while booting
(with the latest firmware, v1.2) but the screen just stays grey for a while
before presenting options to boot from the harddisk or CD. Looking
at /var/lib/dhcp3/dhcpd.leases I can't see any sign of the iMac having asked
for an IP, it's MAC:adress isn't in there. However, looking
at /var/log/dhcp.log I see this:
Jan 14 19:21:20 edumaster dhcpd: BOOTREQUEST from 00:05:02:47:f1:82 via eth0:
BOOTP from dynamic client and no dynamic leases
Jan 14 19:21:55 edumaster last message repeated 5 times
So..maybe I could open a shell and let someone do all the working and thinking
for me..? :-) Naah..but I sure could use a hand with this. Here's my
dhcp.conf btw. Messy, I know.
-----------
#
# Default LTSP dhcpd.conf config file.
#
#Från http://www.brennan.id.au/10-DHCP_Server.html
#ddns-update-style none;
#ddns-updates off;
#ignore client-updates;
#allow booting;
#EndFrån
authoritative;
log-facility local7;
set vendor-string = option vendor-class-identifier;
# Deal with broken mac clients. Not sure what these first options do.
#option option-128 code 128 = string;
#option option-129 code 129 = text;
#option option-128 e4:45:74:68:00:00; # magic value for PXE booting
#option dhcp-parameter-request-list 1,3,6,15,17,43,44,46,60;
host imac {
hardware ethernet 00:05:02:47:F1:82;
option dhcp-parameter-request-list 1,3,6,12,15,17,43,53,54,60;
# The Apple Boot Loader binary image. This file will in turn TFTP the
# kernel image and extension cache.
filename "/ltsp/powerpc/yaboot";
option vendor-class-identifier "AAPLBSDPC";
if (option dhcp-message-type = 1) { # DHCP Discover
option vendor-encapsulated-options 08:04:81:00:00:09;
} elsif (option dhcp-message-type = 8) { # DHCP Inform
option vendor-encapsulated-options 01:01:02:08:04:81:00:00:09;
} else {
option vendor-encapsulated-options 00:01:02:03:04:05:06:07;
}
subnet 10.0.0.0 netmask 255.255.255.0 {
range 10.0.0.2 10.0.0.25;
option domain-name "ltsp.kumlinge.ax";
option domain-name-servers 10.0.0.1;
option broadcast-address 10.0.0.255;
option routers 10.0.0.1;
# next-server 192.168.0.254;
# get-lease-hostnames true;
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";
}
}
-------------------------------------------------
More information about the edubuntu-users
mailing list