[Soekris] net4521 boot problem
Bill Maas
bill at stsx.org
Sat Dec 9 16:06:18 UTC 2006
On Sat, 2006-12-09 at 16:36 +0530, dinakar wrote:
> > - which tftpd program are you using
> I am on redhat9 and installed tftpd from it's CDs
Reading "trying to load debian" in your original e-mail, I assumed that
you were using a Debian TFTP server as well. My mistake..
> [root at localhost root]# tftp -V
> tftp-hpa 0.32, without readline
> ---------------------------------------------
> > - the contents of dhcpd.conf
> [root at localhost root]# cat /etc/dhcpd.conf
> ddns-update-style none;
> default-lease-time 600;
> option domain-name-servers 202.56.215.6;
> max-lease-time 7200;
>
> subnet 192.168.0.0 netmask 255.255.255.0{
>
> }
>
> host soekris{
> hardware ethernet 00:00:24:c4:64:28;
> fixed-address 192.168.0.127;
> option subnet-mask 255.255.255.0;
> option broadcast-address 192.168.0.255;
> option routers 192.168.0.1;
> filename "pxelinux.0";
> }
> ---------------------------------------------
> > - the contents of [x]inetd.conf or the the tftpd 'default' file
> [root at localhost root]# cat /etc/xinetd.conf
> #
> # Simple configuration file for xinetd
> #
> # Some defaults, and include /etc/xinetd.d/
>
> defaults
> {
> instances = 60
> log_type = SYSLOG authpriv
> log_on_success = HOST PID
> log_on_failure = HOST
> cps = 25 30
> }
>
> includedir /etc/xinetd.d
>
> ===and====
>
> [root at localhost root]# cat /etc/xinetd.d/tftp
> {
> disable=no
> socket_type=dgram
> protocol=udp
> wait=yes
> user=root
> #server=/usr/sbin/in.tftpd
> # /usr/sbin/in.tftfp file is not present in my system and hence replaced it
> # with [/usr/bin/tftp] in below line. Don't know if this is right step or not !!
> server=/usr/bin/tftp
I think you are assuming the 'tftp' package will provide you with a TFTP
server. It doesn't; /usr/bin/tftp is a TFTP client. Look for the
'tftp-server' rpm. That one will provide you with /usr/sbin/in.tftpd.
>From your other e-mail:
> PXE-E32: TFTP open timeout
> PXE-M0F: Exiting MacPhyter PXE ROM.
>
> No Boot device available, enter monitor.
See for example http://www.emboot.com/faq-pxe.shtml :
"PXE-E32: TFTP open timeout.
TFTP open request was not acknowledged. Verify that the TFTP
service is running."
Makes sense here..
> server_args=-s /tftpboot
> per_source=11
> cps=100 2
> flags=IPv4
> }
>
> ---------------------------------------------
> > - the contents of pxelinux.cfg/{default,ip} file
> [root at localhost root]# cat /tftpboot/pxelinux.cfg/default
> SERIAL 0 19200
> DEFAULT vmlinuz console=ttyS0,19200n81 root=/dev/nfs
> nfsaddrs=192.168.0.127:192.168.0.76:192.168.0.1:255.255.255.0:soekris:eth0
> nfsroot=192.168.0.76:/nfsroot/debian panic=10
> IPAPPEND 1
> ---------------------------------------------
> > I tried running tftpd-hpa from /etc/inetd.conf, but it gave trouble (it
> > did show the TFTP prompt though). So I run it as a daemon instead, and
> > evrything works fine:
> >
> > /etc/default/tftpd-hpa:
>
> I don't have this file in my machine, Can I create it with the
> commonds given by u ? ----------------------------------------------
No, this is Debian (as explained above;)
> > #Defaults for tftpd-hpa
> > RUN_DAEMON="yes"
> > OPTIONS="-l -s /tftpboot"
> > #OPTIONS="-l -s /var/lib/tftpboot"
> >
> >
> > As another fine example of what can go wrong (and of my own stupidity at
> > that time), I once set the wrong serial port in the PXE config, and
> > everything booted as it should have, except I never knew..
>
> I didn't try anything extra except for the ones given in
> http://www.cheapnet.net/~mike/soekris/
Hope all this will have pointed you in the right direction. Maybe
upgrade your RedHat 9 box as well??;)
Bill
> Regards,
> Dinakar
> _______________________________________________
> Soekris-tech mailing list
> Soekris-tech at lists.soekris.com
> http://lists.soekris.com/mailman/listinfo/soekris-tech
>
--
Good that there are standards, and enough of them
More information about the Soekris-tech
mailing list