News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

PXE booting

Started by zug, March 30, 2008, 12:24:43 PM

Previous topic - Next topic

zug

My md boots into the pxelinux kernel, then as it loads it runs dhclient and gets the Ip address but seems to hang there. Then about two minutes later it will output the dhcp reply over and over again. I can go no further and have to restart. Has anybody experienced this before? Is there any logs saved when pxebooting?
Thanks,
Mark
Z-Wave,  Peripherals, Licenced Media Directors and Cores now available with European-wide Delivery at [url="//www.hightechpad.com"]www.hightechpad.com[/url].

Zaerc

Do you have 2 NICs in that MD by any chance?
"Change is inevitable. Progress is optional."
-- Anonymous

[url=http://petition.stopsoftwarepatents.eu/181001941347/][/url]

zug

well yes I do but the 2nd nic is not plugged in. I think I have tried it with just one though. I will try again.
Z-Wave,  Peripherals, Licenced Media Directors and Cores now available with European-wide Delivery at [url="//www.hightechpad.com"]www.hightechpad.com[/url].

zug

I have got a little bit further now, I have only one card but it seems to get the IP ok but then says unable to connect to router. Restarting in 5 seconds.
Are there any logs anywhere to find out whats going on?
Z-Wave,  Peripherals, Licenced Media Directors and Cores now available with European-wide Delivery at [url="//www.hightechpad.com"]www.hightechpad.com[/url].

zug

This is driving me mad, can nobody help? it seems during the pxe boot and loading of the pxekernel it does a DHCP request, gets an IP address then quickly bombs out with no meaningful output. I just don't know what to do next :(.
where is the image for pxe booting stored? what script is run after obtaining an IP address? Is there any logging or any in depth documentation on the pxe process?
Z-Wave,  Peripherals, Licenced Media Directors and Cores now available with European-wide Delivery at [url="//www.hightechpad.com"]www.hightechpad.com[/url].

totallymaxed

Quote from: zug on April 03, 2008, 09:21:31 PM
This is driving me mad, can nobody help? it seems during the pxe boot and loading of the pxekernel it does a DHCP request, gets an IP address then quickly bombs out with no meaningful output. I just don't know what to do next :(.
where is the image for pxe booting stored? what script is run after obtaining an IP address? Is there any logging or any in depth documentation on the pxe process?

This is a good place to start http://wiki.linuxmce.org/index.php/PXE

Andrew
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses [url="http://forum.linuxmce.org/index.php?topic=14026.0"]http://forum.linuxmce.org/index.php?topic=14026.0[/url]

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: [url="http://wp.me/P4KgIc-5P"]http://wp.me/P4KgIc-5P[/url]

Facebook: [url="https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465"]https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465[/url]

[url="http://www.dianemo.co.uk"]http://www.dianemo.co.uk[/url]

Zener

Hi,

Do you have this file on your core? /tftpboot/pxelinux.cfg/01-[mac address]. mac adress being your diskless MD's mac. I once had a simular problem and found the file had something like "#ernel vmlinuz". I deleted the # and replaced it with a k, after which my diskless MD booted up. Either way I'd start looking for the problem there or simply just try another nic.

l8r

zug

I have looked there but no such look. There is just a default file.
Thanks for the link above but it does not really go into enough depth to help me diagnose the problem.

Can anybody else shed some light onto this? It is so annoying that the screen goes blank before saying "could not connect to router" so I cannot see any error messages. Is there a script that produces this error somewhere?
Z-Wave,  Peripherals, Licenced Media Directors and Cores now available with European-wide Delivery at [url="//www.hightechpad.com"]www.hightechpad.com[/url].

zug

I have noticed my exports file seems to be missing the disklessmdroots section. Can anybody tell me what should be in this file?


## BEGIN : InternalStorageDevices

/mnt/device/38 192.168.80.0/255.255.255.0(rw,no_root_squash,no_all_squash,async,nohide,no_subtree_check)
/mnt/device/39 192.168.80.0/255.255.255.0(rw,no_root_squash,no_all_squash,async,nohide,no_subtree_check)
/mnt/device/40 192.168.80.0/255.255.255.0(rw,no_root_squash,no_all_squash,async,nohide,no_subtree_check)
/mnt/device/42 192.168.80.0/255.255.255.0(rw,no_root_squash,no_all_squash,async,nohide,no_subtree_check)
## END : InternalStorageDevices


## BEGIN : CommonDiskless

/home                   192.168.80.0/255.255.255.0(rw,no_root_squash,no_all_squash,sync,no_subtree_check)
/usr/pluto/orbiter      192.168.80.0/255.255.255.0(ro,no_root_squash,no_all_squash,sync,no_subtree_check)
/usr/pluto/keys         192.168.80.0/255.255.255.0(ro,no_root_squash,no_all_squash,sync,no_subtree_check)
/usr/pluto/deb-cache    192.168.80.0/255.255.255.0(ro,no_root_squash,no_all_squash,sync,no_subtree_check)
/usr/pluto/var          192.168.80.0/255.255.255.0(rw,no_root_squash,no_all_squash,sync,no_subtree_check)

## END : CommonDiskless


## BEGIN : DisklessMDRoots

## END : DisklessMDRoots
Z-Wave,  Peripherals, Licenced Media Directors and Cores now available with European-wide Delivery at [url="//www.hightechpad.com"]www.hightechpad.com[/url].