Hello H. Peter, we use pxelinux to start linux on desktop pcs. Now we have a problem with the interaction of dhcp. If the ip address is not fix, we cannot use the ip address as name for the configfile. A better solution would be, first to check for the mac and then for the ip address. Is it possible? TIA, Tobias
Tobias Wollgam wrote:> Hello H. Peter, > > we use pxelinux to start linux on desktop pcs. Now we have a problem > with the interaction of dhcp. If the ip address is not fix, we cannot > use the ip address as name for the configfile. A better solution would > be, first to check for the mac and then for the ip address. >Yes, you need to use special DHCP options. See pxelinux.doc. -hpa
Hello, I'm having some issues with PXELINUX. PXE manages to download pxelinux.0 just fine, which loads and gets the configuration from the TFTP server. However, as soon as it gets the configuration file the system reboots and I can't figure out why. Here's a copy of my configuration (in pxelinux.cfg/0A000008): label linux kernel vmlinuz-p3 append nfsroot=10.0.0.1:/diskless/rootfs ipappend 1 And here's what I can see when PXELINUX boots: PXELINUX 1.66 2002-01-01 Copyright (C) 1994-2002 H. Peter Anvin Found PXENV+ structure PXE API version is 0201 UNDI data segment at: 0009DB40 UNDI data segment size: 3284 UNDI code segment at: 00090000 UNDI code segment size: 24C0 PXE entry point found (we hope) at 9DB4:00F6 My IP address seems to be 0A000008 10.0.0.8 ip=10.0.0.8:10.0.0.1:0.0.0.0:255.255.255.0 It then attempts to grab the configuration. Here's a transcript from syslog: Jul 25 13:52:52 node1 in.tftpd[18710]: connect from node8 Jul 25 13:52:52 node1 tftpd[18711]: tftpd: trying to get file: pxelinux.cfg/0A000008 Jul 25 13:52:52 node1 tftpd[18711]: tftpd: serving file from /diskless/tftp At which point the machine restarts, without ever trying to grab vmlinuz-p3 Any ideas? Tony Arcieri
Is thier a way to set a password to prevent unathorized user from booting certain image files? I have my pxelinux.cfg/default setup to allow the user a choice of an image. However, I would like to place restrictions for some by using a password. An example of my default file is: default image prompt 1 display fcs.msg timeout 100 label linux kernel bzImage4 ipappend 1 append root=/dev/nfs nfsroot=131.202.244.214:/tftpboot/testroot/testroot2 label image kernel linux.1 append initrd=linux.2 lang= text devfs=nomount PROXYADDR=anubus.cs.unb.ca label 3c905 kernel memdisk append initrd=nw3c905.img Thanks, -- Jeff Geddes, BSc(UNB) Computer Systems Specialist University of New Brunswick Faculty of Computer Science eMail: jgeddes at unb.ca office: Rm. E119 phone : (506) 452-6102 fax : (506) 453-3566
Geddes wrote:> Is thier a way to set a password to prevent unathorized user from booting > certain image files? I have my pxelinux.cfg/default setup to allow the > user a choice of an image. However, I would like to place restrictions for > some by using a password. An example of my default file is: > > default image > prompt 1 > display fcs.msg > timeout 100 > label linux > kernel bzImage4 > ipappend 1 > append root=/dev/nfs nfsroot=131.202.244.214:/tftpboot/testroot/testroot2 > label image > kernel linux.1 > append initrd=linux.2 lang= text devfs=nomount PROXYADDR=anubus.cs.unb.ca > label 3c905 > kernel memdisk > append initrd=nw3c905.img > > Thanks, >Not in the current version. -hpa