[Soekris] net4521 boot problem
dinakar
dinakar31 at gmail.com
Sat Dec 9 11:06:45 UTC 2006
> - which tftpd program are you using
I am on redhat9 and installed tftpd from it's CDs
[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
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 ? ----------------------------------------------
> #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/
Regards,
Dinakar
More information about the Soekris-tech
mailing list