[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

problems in setting up an embedded system



Hi all,
I have been trying to set up linux based embedded system. The target
should boot from network. I am using Pxelinux, DHCP and tftp. When I
start the target, it gets its IP address from the dhcp server running
on the host. But it just stops there, it does not pick up the
pxelinux.0 file and proceed. I am unable to find out what could be the
reason of failure. Here are the dhcpd.conf file and default file under
pxelinux.cfg directory.

default file in /tftpboot/pxelinux.cfg

LABEL linux 
	KERNEL bzImage
	APPEND ip=auto 


----------------------------------
dhcpd.conf file in /etc 

allow booting;
allow bootp;
subnet 192.168.0.0 netmask 255.255.255.0 {
}
subnet 192.168.0.0 netmask 255.255.255.0 {
	option subnet-mask 255.255.255.0;
      option routers 192.168.0.5;
      #option vendor-class-identifier "PXEClient";
	next-server 192.168.0.5;
	filename "/tftpboot/pxelinux.0";
	host clnt {
		hardware ethernet 00:03:47:7C:8B:49;
            fixed-address 192.168.0.6;
	}
}

Here, 192.168.0.5 is the host Ip and 00:03:47:7C:8B:49 is the target's
mac address.

I have following files in my /tftpboot directory
bzImage
pxelinux.0
pxelinux.cfg/default
rootfs.gz


Can somebody point out what are the worng configurations i am doing?


Thanks,
Samar



Reply to: