Hi,

My current login "ZeroQI" is banned for no reason... I look like a spammer so 
it seems...

I do support for dell thin clients (FX130, FX170) but soon to be deprecated as 
Dell bought Wyse, and also support the Dell Kace appliances for inventory, 
software deployment, imaging, etc...

I would like to share my project (pxe boot menus showcasting most possibilities 
of ipxe) like graphical menus (and skins that can be changed temporarilyl from 
within the menu (useless and a bitch to code) or loading pxelinux 4.04 or 3.86 
and have the menu still works, etc...

As PHP creator Marcus said in PHP2012, you need to show what a tool can do 
before people to use it more....

I want to share my little menu, as I worked with iscsi boot also in there, and 
also useful scripts like the one below...

I think a section with exemple scripts like below (or even posted by me in the 
forum) could help even if it is in a small way...
Please unban my account so I can share on the forum at least...

Kind regards,
Benjamin, a French ipxe fan in Dublin.




#!ipxe
# PXE error codes        
http://h18013.www1.hp.com/products/servers/management/rdp/knowledgebase/00000138.html
# Ascii to Hec convertor http://easycalculation.com/ascii-hex.php
#In the same way that option 43 is an option space containing 
vendor-encapsulated options,
# gPXE uses option 175 to contain gPXE-specific encapsulated options.

:first_page
echo Client Fields___ Option_ 
Value_________________________________________________
echo manufacturer.... ....... ${manufacturer}
echo product......... ....... ${product}
echo serial.......... ....... ${serial}
echo asset........... ....... ${asset}
echo mac............. ....... ${mac}
echo uuid............ 097.... ${uuid}
echo busid........... 175.177 ${busid}#can be used to chainload
echo user class...... 077.... ${user-class}
echo
echo DHCP Fields_____ Option_ 
Value_________________________________________________
echo dhcp-server..... 054.... ${dhcp-server}
echo domain.......... 015.... ${domain}
echo hostname........ 012.... ${hostname}
echo ip.............. 050.... ${ip}
echo netmask......... 001.... ${netmask}
echo gateway......... 003.... ${gateway}
echo dns............. 006.... ${dns}
echo syslog.......... 007.... ${7:ipv4} / "${syslog}" (if support compiled)
echo ntp-server...... 042.... ${42:ipv4}
echo
echo next-server..... 066.... ${next-server}
echo filename........ 067.... ${filename}
echo
prompt Press any key to continue...

:second_page
echo DHCP options____ Option_ 
Value_________________________________________________
echo priority........ 175.001 ${priority:hex}
echo no-pxedhcp...... 175.176 ${175.176:hex}
echo use-cached...... 175.178 ${use-cached:hex}
echo scriptlet....... 175.081 ${scriptlet}
echo bios-drive...... 175.189 ${189}#what is this for???
echo version-code.... 175.235 ${235}#what is this for???
echo
echo San settings____ Option_ 
Value_________________________________________________
echo keep-san........ 175.008 ${keep-san:hex}
echo skip-san-boot... 175.009 ${skip-san-boot}
echo root-path....... 017.... ${root-path}                #iscsi:<servername 
(domain name, ipv4)>:[protocol (6)]:[port (3260)]:[LUN (0)]:<targetname (IQN)>
echo initiator-iqn... 203.... ${initiator-iqn}              
#iscsi:my.target.dns.name::::iqn.2007-08.name.dns.target.my:iscsiboot 
#[Serva32/64 forbid ascii use]
echo
echo Authenticaition_ Option_ 
Value_________________________________________________
echo username........ 175.190 ${username}
echo password........ 175.191 ${password}
echo reverse-username 175.192 ${reverse-username}
echo reverse-password 175.193 ${reverse-password}
echo
echo
echo
echo
echo
#Go in windows character map, select system font, 0x100+ascii code for letter 
in key.h [ http://git.ipxe.org/ipxe.git/blob/HEAD:/src/include/ipxe/keys.h ]
prompt --key 0x141 Press UP to go back to the first page or any other key to 
continue... && goto first_page ||  #UP


#!ipxe
echo 
===============================================================================
time imgfetch tftp://${next-server}/diag/test/1MB                               
                         && imgfree && set tftp 1 ||
time imgfetch http://${next-server}/diag/test/1MB                               
                        && imgfree && set http 1 ||
time imgfetch  ftp://serva:serva@${next-server}:21/diag/test/1MB                
                       && imgfree && set ftp  1 ||
#echo 
===============================================================================
#isset $(tftp) && time imgfetch tftp://${next-server}/diag/test/5MB             
        && imgfree ||
#isset $(hftp) && time imgfetch http://${next-server}/diag/test/5MB             
      && imgfree ||
#isset $(ftp)  && time imgfetch  ftp://serva:serva@${next-server}/diag/test/5MB 
          && imgfree ||
echo 
===============================================================================
isset $(tftp) && time imgfetch tftp://${next-server}/diag/test/10MB             
         && imgfree ||
isset $(hftp) && time imgfetch http://${next-server}/diag/test/10MB             
       && imgfree ||
isset $(ftp)  && time imgfetch  ftp://serva:serva@${next-server}/diag/test/10MB 
          && imgfree ||
#echo 
===============================================================================
#isset $(tftp) && time imgfetch tftp://${next-server}/diag/test/20MB            
       && imgfree ||
#isset $(hftp) && time imgfetch http://${next-server}/diag/test/20MB            
     && imgfree ||
#isset $(ftp)  && time imgfetch  
ftp://serva:serva@${next-server}/diag/test/20MB         && imgfree ||
#echo 
===============================================================================
#isset $(tftp) && time imgfetch tftp://${next-server}/diag/test/50MB            
       && imgfree ||
#isset $(hftp) && time imgfetch http://${next-server}/diag/test/50MB            
     && imgfree ||
#isset $(ftp)  && time imgfetch  
ftp://serva:serva@${next-server}/diag/test/50MB         && imgfree ||
echo 
===============================================================================
isset $(tftp) && time imgfetch tftp://${next-server}/diag/test/100MB            
       && imgfree ||
isset $(hftp) && time imgfetch http://${next-server}/diag/test/100MB            
     && imgfree ||
isset $(ftp)  && time imgfetch  
ftp://serva:serva@${next-server}/diag/test/100MB         && imgfree ||
echo 
===============================================================================
prompt Press a key to continue...


#!ipxe
 dhcp
goto host_${hostname} || goto unknown
 :host_thinclient1
sanboot iscsi:192.168.0.1::::iqn.2010-04.org.ipxe:winxp
 :host_thinclient2
sanboot iscsi:192.168.0.1::::iqn.2010-04.org.ipxe:win7
 :unknown
echo Unknown host ${hostname}

#!ipxe
#to enable when embedded, use cache set to 1 if kkpxe, not for kpxe due to 
dropped pxe stack
#set use-cached 0
#dhcp net0

set keep-san 1
set initiator-iqn 
${next-server}::::iqn.2008-08.com.starwindsoftware:${next-server}-test
set root-path iscsi:${initiator-iqn}-test

#sanhook --drive 0x80 --no-describe 
iscsi:10.0.0.1::::iqn.2008-08.com.starwindsoftware:10.0.0.1-test
#sanboot --drive 0x81 --no-describe 
iscsi:10.0.0.1::::iqn.2008-08.com.starwindsoftware:10.0.0.1-esx41

sanhook 
iscsi:${next-server}::::iqn.2008-08.com.starwindsoftware:${next-server}-${net0/mac:hexhyp}
 ||
sanboot --drive 0x81 --no-describe 
iscsi:${next-server}::::iqn.2008-08.com.starwindsoftware:${next-server}-esx41
sanboot ${root-path} ||
Kind Regards,

Benjamin Brisson
Enterprise Technical Support Advisor
Dell | Solutions Support Team, EMEA.
Tel: +353 1 279 2596
[email protected]<mailto:[email protected]>
Dell Inc. Innovation House, Cherrywood Science & Technology Park, Dublin, Rep 
of Ireland

My work schedule is 09:30 am - 5:30 pm (GMT) Monday to Friday.  If you need 
immediate assistance, please email Quinn, Robert<mailto:[email protected]>

Customer feedback | How am I doing? Please contact my manager Gallagher, 
Joe<mailto:[email protected]> and Gukhool, 
Sardanund<mailto:[email protected]>

Please consider the environment before printing this email.

Confidentiality Notice | This e-mail message, including any attachments, is for 
the sole use of the intended recipient(s) and may contain confidential or 
proprietary information. Any unauthorized review, use, disclosure or 
distribution is prohibited. If you are not the intended recipient, immediately 
contact the sender by reply e-mail and destroy all copies of the original 
message

_______________________________________________
ipxe-devel mailing list
[email protected]
https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel

Reply via email to