Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
soc:2009:pravin:journal:dnsissue [2009/08/07 08:19] less1 |
soc:2009:pravin:journal:dnsissue [2009/08/16 17:11] (current) less1 |
||
|---|---|---|---|
| Line 79: | Line 79: | ||
| ====== editing pxelinux ====== | ====== editing pxelinux ====== | ||
| I have been warned that I will need assembly knowledge and I will need to modify C parser for this :-(\\ | I have been warned that I will need assembly knowledge and I will need to modify C parser for this :-(\\ | ||
| - | the pxeknife.asm contains 2700 lines of assembly code which does not look very promising for quick fix. | + | the pxeknife.asm contains 2700 lines of assembly code which does not look very promising for quick fix.\\ |
| + | Here is the code of [[http://git.kernel.org/?p=boot/syslinux/syslinux.git;a=blob;f=core/pxelinux.asm;h=190f4c66a39247a4079e5e7d5c32512c008b33c0;hb=8e01231be41fd889bcb71604dbda511688ed0f38|pxeknife.asm]] | ||
| ===== Solution - 3 | dynamically generate config files with DNS entry ===== | ===== Solution - 3 | dynamically generate config files with DNS entry ===== | ||
| Line 90: | Line 91: | ||
| COM32 menu.c32 | COM32 menu.c32 | ||
| APPEND somemenu.ini | APPEND somemenu.ini | ||
| - | echo Would fetch http://boot.kernel.org/bko/boot?dnsip=10.0.2.2&fetch=menu.c32 | + | echo Would fetch http://boot.kernel.org/bko/boot?dnsip=10.0.2.2&fetch= |
| </code> | </code> | ||
| - | Only problem with this approach is that, all menus need to be generated dynamically with correct dnsip embedded. | + | rwrc's patch has been applied and it is working fine :-) |
| + | |||
| + | ===== Solution - 4 | Use syslinux with -dhcpinfo option ===== | ||
| + | |||
| + | - Information about how to do this [[http://syslinux.zytor.com/wiki/index.php/Linux.c32]] | ||
| + | - Failed attempt from warthog [[http://www.eaglescrag.net/stuff/bko_knoppix6_fail2.png]] | ||