[K12OSN] K12OSN Digest, Vol 94, Issue 11

dhe wardhana forface.dw at gmail.com
Thu Dec 29 10:51:53 UTC 2011


Barry this is my dhcpd.conf and tftp

/etc/ltsp/dhcpd.conf

default-lease-time            21600;
max-lease-time                21600;
ddns-update-style none;
allow booting;
allow bootp;

option subnet-mask            255.255.255.0;
option broadcast-address      172.31.100.255;
option routers                172.31.100.254;
option domain-name-servers    172.31.100.254;
next-server                   172.31.100.254;
option domain-name            "ltsp";
option option-128 code 128 = string;
option option-129 code 129 = text;
option option-221 code 221 = text;

shared-network WORKSTATIONS {
  subnet 172.31.100.0 netmask 255.255.255.0 {
     range dynamic-bootp 172.31.100.100 172.31.100.253;
     use-host-decl-names       on;
     option log-servers        172.31.100.254;

     # trick from Peter Rundle <peter.rundle at au.interpath.net>
     # newer PPC Macs
     if substring (option vendor-class-identifier, 0, 9) = "AAPLBSDPC"
     {
        filename      "yaboot";
        option vendor-class-identifier "AAPLBSDPC";
        option vendor-encapsulated-options 01:01:02:08:04:01:00:00:01:82;
     }
     # really old ppc iMacs
     elsif substring (option option-221, 0, 5) = "Apple"
     {
        filename      "yaboot";
        option vendor-class-identifier "AAPLBSDPC";
        option vendor-encapsulated-options 01:01:02:08:04:01:00:00:01:82;
     }
     # Etherboot ELF (only 5.4), should work with Coreboot
     elsif substring (option vendor-class-identifier, 0, 13) =
"Etherboot-5.4"
     {
        filename      "/ltsp/i386/elf.ltsp";
     }
     # Etherboot NBI (older clients)
     elsif substring (option vendor-class-identifier, 0, 9) = "Etherboot"
     {
        filename      "/ltsp/i386/wraplinux-nbi.ltsp";
     }
     # PXE
     elsif substring (option vendor-class-identifier, 0, 9) = "PXEClient"
     {
        # NOTE: kernels are specified in /tftpboot/ltsp/i386/pxelinux.cfg/
        filename      "/ltsp/i386/pxelinux.0";
     }
     # if all else fails (likely BOOTP), default to an NBI image
     else
     {
        filename      "/ltsp/i386/wraplinux-nbi.ltsp";
     }

     # PPC Apple MAC prefixes
https://fedoraproject.org/wiki/WarrenTogami/AppleMACAddresses
     # initrd did dhcp again with vendor-client-identifier "nash" so we
need another way to set root-path
     # This is most likely an incomplete list.  You may need to add your
own if you have a PPC not covered.
     # 00:03:93
     # 00:05:02
     # 00:0A:27
     # 00:0A:95
     # 00:0D:93
     # 00:11:24
     # 00:14:51
     # 00:30:65
     # 00:50:E4
     if binary-to-ascii (16, 8, "-", substring (hardware, 0, 4)) =
"1-0-3-93"  or
        binary-to-ascii (16, 8, "-", substring (hardware, 0, 4)) =
"1-0-5-2"   or
        binary-to-ascii (16, 8, "-", substring (hardware, 0, 4)) =
"1-0-a-27"  or
        binary-to-ascii (16, 8, "-", substring (hardware, 0, 4)) =
"1-0-a-95"  or
        binary-to-ascii (16, 8, "-", substring (hardware, 0, 4)) =
"1-0-d-93"  or
        binary-to-ascii (16, 8, "-", substring (hardware, 0, 4)) =
"1-0-11-24" or
        binary-to-ascii (16, 8, "-", substring (hardware, 0, 4)) =
"1-0-14-51" or
        binary-to-ascii (16, 8, "-", substring (hardware, 0, 4)) =
"1-0-30-65" or
        binary-to-ascii (16, 8, "-", substring (hardware, 0, 4)) =
"1-0-50-E4"
     {
        option root-path "172.31.100.254:/opt/ltsp/ppc";
        #option root-path "nbd:172.31.100.254:2001:squashfs:ro";
     } else {
        option root-path "172.31.100.254:/opt/ltsp/i386";
        #option root-path "nbd:172.31.100.254:2000:squashfs:ro";
     }
  }
}

## example configurations for specifying specific kernels to specific
clients
## These examples below are VERY OLD, uncertain if they work
#group    {
#    use-host-decl-names       on;
#    option log-servers        172.31.100.254;
#
#    host ws001 {
#        hardware ethernet     00:E0:06:E8:00:84;
#        fixed-address         172.31.100.1;
#        filename              "/ltsp/vmlinuz.ltsp";
#        option option-128 e4:45:74:68:00:00;
#        option option-129 "NIC=3c509";
#    }
#    host ws002 {
#        hardware ethernet     00:D0:09:30:6A:1C;
#        fixed-address         172.31.100.2;
#        filename              "/ltsp/vmlinuz.ltsp";
#        option option-128 e4:45:74:68:00:00;
#        option option-129 "NIC=ne";
#    }
    host ws003 {
        hardware ethernet     00:80:64:7C:75:6A;
#        hardware ethernet     00:D0:09:30:28:B2;
        fixed-address         172.31.100.3;
        #kernels are specified in "/tftpboot/ltsp/i386/pxelinux.cfg/";
        filename              "/ltsp/i386/pxelinux.0";
        #option root-path      "/opt/ltsp/i386";
    }

    host ws004 {
        hardware ethernet     00:1A:4B:4B:1E:CD;
#        hardware ethernet     00:D0:09:30:28:B2;
        fixed-address         172.31.100.4;
        #kernels are specified in "/tftpboot/ltsp/i386/pxelinux.cfg/";
        filename              "/ltsp/i386/pxelinux.0";
        #option root-path      "/opt/ltsp/i386";
    }


/etc/xinetd.d/tftp

service tftp
{
    disable    = no
    socket_type        = dgram
    protocol        = udp
    wait            = yes
    user            = root
    server            = /usr/sbin/in.tftpd
    server_args        = -c -s /var/lib/tftpboot
    per_source        = 11
    cps            = 100 2
    flags            = IPv4
}


Thanks.


On Thu, Dec 29, 2011 at 4:57 PM, dhe wardhana <forface.dw at gmail.com> wrote:

> Hi Berry,
>
> This is output i get when the TC is booting.
>
>
> Dec 29 16:50:03 ps02 dhcpd: Sending on   Socket/fallback/fallback-net
> Dec 29 16:51:11 ps02 dhcpd: DHCPDISCOVER from 00:80:64:7c:75:6a via ltspbr0
> Dec 29 16:51:11 ps02 dhcpd: DHCPOFFER on 172.31.100.3 to 00:80:64:7c:75:6a
> via ltspbr0
> Dec 29 16:51:13 ps02 dhcpd: DHCPREQUEST for 172.31.100.3 (172.31.100.254)
> from 00:80:64:7c:75:6a via ltspbr0
> Dec 29 16:51:13 ps02 dhcpd: DHCPACK on 172.31.100.3 to 00:80:64:7c:75:6a
> via ltspbr0
> Dec 29 16:51:13 ps02 xinetd[1721]: START: tftp pid=10536 from=172.31.100.3
> Dec 29 16:51:13 ps02 in.tftpd[10537]: tftp: client does not accept options
>
> for the link i was go there and i was followed the steps. i was try to
> other TC still same.
>
> Thanks Berry,
>
>
>
> On Thu, Dec 29, 2011 at 12:00 AM, <k12osn-request at redhat.com> wrote:
>
>> Send K12OSN mailing list submissions to
>>        k12osn at redhat.com
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>>        https://www.redhat.com/mailman/listinfo/k12osn
>> or, via email, send a message with subject or body 'help' to
>>        k12osn-request at redhat.com
>>
>> You can reach the person managing the list at
>>        k12osn-owner at redhat.com
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of K12OSN digest..."
>>
>>
>> Today's Topics:
>>
>>   1. Re: Error When Install LTSP 5 on Centos 6.1 (Barry R Cisna)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Tue, 27 Dec 2011 15:14:14 -0600
>> From: Barry R Cisna <brcisna at eazylivin.net>
>> To: K12LTSP <k12osn at redhat.com>
>> Subject: Re: [K12OSN] Error When Install LTSP 5 on Centos 6.1
>> Message-ID: <1325020454.4857.28.camel at localhost.localdomain>
>> Content-Type: text/plain
>>
>> Amanda,
>>
>> With the little information you provided in your post in regards to
>> K12LINUX  TC kernel panic,it is hard to narrow down possible " what it
>> could be's".
>> A few things to consider:
>>
>> On your new K12LINUX network is this an isolated network? In other words
>> there can not be another dhcp server on this network?
>> Are you using an unmanaged switch on this network.
>> Have you tried booting 3-4 different hardwared TC's, to verify it isn't
>> a funky nic problem.
>> On the K12LINUX server before booting a TC open a terminal and run the
>> command:
>> tail -f /var/log/messages
>> Then boot a couple TC's and copy / paste the output of this terminal
>> back here,and  someone may see some clues in this dialog.
>>
>> A starting point to narrow a few things down, anyway.
>>
>> Just in case you didn't see this , this may give you some clues as well.
>>
>>   https://fedorahosted.org/k12linux/wiki/InstallGuide
>>
>>
>> Take Care,
>> Barry
>>
>>
>>
>>
>>
>>
>> ------------------------------
>>
>> _______________________________________________
>> K12OSN mailing list
>> K12OSN at redhat.com
>> https://www.redhat.com/mailman/listinfo/k12osn
>>
>> End of K12OSN Digest, Vol 94, Issue 11
>> **************************************
>>
>
>
>
> --
> Thank's Me
>
>


-- 
Thank's Me
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/k12osn/attachments/20111229/bfdbf2fa/attachment.htm>


More information about the K12OSN mailing list