On Thu, 17 Jan 2002 14:26:58 -0500
"Cyrus Elder" <[EMAIL PROTECTED]> wrote:

> Thanks everyone for the help. I'm back in buisness. 
> 
> I have another question though does anyone have any experience using systems like 
>and IPAQ or a 3-com 3c905c with PXE. If I boot from the ether disk they work great. 
>But when I try to boot from the NIC, I get an IP addy just fine but then when it hits 
>the tftp PXE comes back and says to many packages and it halts. If you could point me 
>in the direction of doc's or make a few suggestions I would appreciate it.

In order to boot with PXE, you'll need to be using DHCP version 3, which you
can download and install from www.isc.org.

Here's my sample dhcpd.conf file from home, with one of the entries set
up for PXE booting (from an IBM 100 meg card).

-= snip =-
#
# dhcpd.conf for ISC DHCPD 3.0
#

option domain-name              "alburg.net";
option domain-name-servers      192.168.1.254;
option broadcast-address        192.168.0.255;
option routers                  192.168.1.254;
option subnet-mask              255.255.255.0;
option log-servers              192.168.1.10;
default-lease-time              172800;
max-lease-time                  172800;
ddns-update-style               ad-hoc;
use-host-decl-names             on;
send dhcp-max-message-size      1024;
option root-path                "192.168.0.254:/opt/ltsp/i386";

#
# These are the dhcpd boot menu definitions.
#

option bootmenu-magic-numbers   code 128 = string;
option option-129               code 129 = string;
option bootmenu-timeout-default code 160 = string;
option bootmenu-prompt0         code 184 = string;
option bootmenu-prompt1         code 185 = string;
option bootmenu-prompt2         code 186 = string;
option bootmenu-prompt3         code 187 = string;
option bootmenu-prompt4         code 188 = string;
option bootmenu-prompt5         code 189 = string;
option bootmenu-prompt6         code 190 = string;
option bootmenu-prompt7         code 191 = string;
option bootmenu-menu0           code 192 = string;
option bootmenu-menu1           code 193 = string;
option bootmenu-menu2           code 194 = string;
option bootmenu-menu3           code 194 = string;
option bootmenu-menu4           code 194 = string;
option bootmenu-menu5           code 194 = string;
option bootmenu-menu6           code 194 = string;
option bootmenu-menu7           code 194 = string;
option bootmenu-menu8           code 194 = string;
option bootmenu-menu9           code 194 = string;
option bootmenu-menu10          code 194 = string;
option bootmenu-menu11          code 194 = string;
option bootmenu-menu12          code 194 = string;
option bootmenu-menu13          code 194 = string;
option bootmenu-menu14          code 194 = string;

#
# Definition of PXE-specific options
#

option vendor-encapsulated-options 01:04:00:00:00:00:ff;
option space PXE;
option PXE.mtftp-ip    code 1 = ip-address;  
option PXE.mtftp-cport code 2 = unsigned integer 16;
option PXE.mtftp-sport code 3 = unsigned integer 16;
option PXE.mtftp-tmout code 4 = unsigned integer 8;
option PXE.mtftp-delay code 5 = unsigned integer 8;

#
# Host motoko on 192.168.1.0 subnet
#

subnet 192.168.1.0 netmask 255.255.255.0 {

  host motoko {
    hardware ethernet     00:80:C8:59:4A:E7;
    fixed-address         192.168.1.2;
  }

  host brian {
    hardware ethernet   00:D0:09:24:5E:A7;
    fixed-address       192.168.1.3;
    filename            "/tftpboot/lts/vmlinuz.all";
  }
 
  host test {
    hardware ethernet   00:30:84:0B:F0:21;
    fixed-address       192.168.1.4;
  }
  

}

#
# LTSP subnet
#

subnet 192.168.0.0 netmask 255.255.255.0 {

host ws001 {
    hardware ethernet               00:00:B4:A7:69:14;
    fixed-address                   192.168.0.1;
    option bootmenu-magic-numbers   e4:45:74:68:00:00;
    #option option-129               "NIC=8139too";
    filename                        "/lts/vmlinuz-2.4.9-ltsp-5";
    option bootmenu-timeout-default 05:00;
    option bootmenu-prompt0 "--------------------------------------";
    option bootmenu-prompt1 "|           DHCP Boot menu           |";
    option bootmenu-prompt2 "+------------------------------------+";
    option bootmenu-prompt3 "|   Please select the boot method    |";
    option bootmenu-prompt4 "|        from the menu below.        |";
    option bootmenu-prompt5 "--------------------------------------";
    option bootmenu-menu0   "LTSP:::/tftpboot/lts/vmlinuz.ltsp:::";
    option bootmenu-menu1   "DOS:::/tftpboot/fdos.nb:::";
}


  host ws002 {
    hardware ethernet   00:A0:D2:1C:9E:67;
    fixed-address       192.168.0.2;
    filename            "/tftpboot/lts/vmlinuz.rtl8139";
  }

  host ws003 {
    hardware ethernet   00:90:27:54:84:39;
    fixed-address       192.168.0.3;
    filename            "/tftpboot/pxelinux.0";
    class "pxeclients" {
      match if substring (option vendor-class-identifier, 0, 9) = "PXEClient";
      option vendor-class-identifier    "PXEClient";
      option PXE.mtftp-ip               192.168.0.254;
      vendor-option-space               PXE;
    }
  }

  host ws004 {
    hardware ethernet   00:60:97:57:E3:61;
    fixed-address                   192.168.0.4;
    option bootmenu-magic-numbers   e4:45:74:68:00:00;
    option option-129               "NIC=3c509";
    filename                        "/tftpboot/lts/vmlinuz.ltsp";
  }
  
  host ws005 {
    hardware ethernet   00:A0:D2:1C:69:3D;
    fixed-address       192.168.0.5;
    option bootmenu-magic-numbers   e4:45:74:68:00:00;
    option option-129     "NIC=8139too";
    filename            "/tftpboot/lts/vmlinuz.ltsp";
  }
  

}

-= snip =-

Scott


-- 
Scott L. Balneaves      | "If people are good only because they 
Unix Administrator      |  fear punishment, and hope for reward,
Legal Aid Manitoba      |  then we are a sorry lot indeed."
[EMAIL PROTECTED] |       -- Albert Einstein

_____________________________________________________________________
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.openprojects.net

Reply via email to