LinuxMCE Forums
May 20, 2013, 02:05:39 pm GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
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
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: PXE booting  (Read 1592 times)
zug
Veteran
***
Posts: 60


View Profile WWW
« on: March 30, 2008, 11:24:43 am »

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
Logged

Z-Wave,  Peripherals, Licenced Media Directors and Cores now available with European-wide Delivery at www.hightechpad.com.
Zaerc
Alumni
LinuxMCE God
*
Posts: 2256


Department of Redundancy Department.


View Profile
« Reply #1 on: March 30, 2008, 12:18:53 pm »

Do you have 2 NICs in that MD by any chance?
Logged

"Change is inevitable. Progress is optional."
-- Anonymous

zug
Veteran
***
Posts: 60


View Profile WWW
« Reply #2 on: March 31, 2008, 09:34:40 am »

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.
Logged

Z-Wave,  Peripherals, Licenced Media Directors and Cores now available with European-wide Delivery at www.hightechpad.com.
zug
Veteran
***
Posts: 60


View Profile WWW
« Reply #3 on: March 31, 2008, 05:54:34 pm »

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?
Logged

Z-Wave,  Peripherals, Licenced Media Directors and Cores now available with European-wide Delivery at www.hightechpad.com.
zug
Veteran
***
Posts: 60


View Profile WWW
« Reply #4 on: April 03, 2008, 08: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 Sad.
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?
Logged

Z-Wave,  Peripherals, Licenced Media Directors and Cores now available with European-wide Delivery at www.hightechpad.com.
totallymaxed
LinuxMCE God
****
Posts: 4310


View Profile WWW
« Reply #5 on: April 03, 2008, 08:30:20 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 Sad.
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
Code:
http://wiki.linuxmce.org/index.php/PXE

Andrew
Logged

Andy Herron,
Convergent Home Technologies Ltd
United Kingdom

Dianemo S Now Shipping on Ubuntu 12.04LTS
Build your system on the latest Ubuntu OS Release!

Get a Dianemo S License: http://forum.linuxmce.org/index.php?topic=8880.0
iOS Orbiter: http://wiki.linuxmce.org/index.php/Dianemo_iOS_Orbiter
Follow us on Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

Sales & Info:
http://www.dianemo.co.uk
Zener
Newbie
*
Posts: 8


View Profile
« Reply #6 on: April 04, 2008, 07:13:09 am »

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
Logged
zug
Veteran
***
Posts: 60


View Profile WWW
« Reply #7 on: April 04, 2008, 07:50:40 pm »

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?
Logged

Z-Wave,  Peripherals, Licenced Media Directors and Cores now available with European-wide Delivery at www.hightechpad.com.
zug
Veteran
***
Posts: 60


View Profile WWW
« Reply #8 on: April 05, 2008, 04:40:22 pm »

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
Logged

Z-Wave,  Peripherals, Licenced Media Directors and Cores now available with European-wide Delivery at www.hightechpad.com.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!