[syslinux] PXEboot trouble with Soekris 4826

sritej s sritejv at gmail.com
Sat May 23 17:36:09 PDT 2009


Hello Everyone,

I am having trouble with booting a soekris 4826 board.after setting up my
tftp,dhcp and web servers ,I log into the board using minicom and type boot
f0,which doesn't quite work out.

> boot f0

NSC DP83815/DP83816 Fast Ethernet UNDI, v1.03
Copyright (C) 2002, 2003 National Semiconductor Corporation
All rights reserved.

Pre-boot eXecution Environment  PXE-2.0 (build 082)
Copyright (C) 1997-2000  Intel Corporation


CLIENT MAC ADDR: 00 00 24 C8 C9 60
CLIENT IP: 192.168.200.3  MASK: 255.255.255.0  DHCP IP: 192.168.200.1

It just stops at this point,doesnt freeze.My dhcp is configured correctly I
guess but I suspect my tftp is not ,because when I mention an incorrect file
name in the dhcpd.conf file,it immediately reports file not found.There must
be a problem with the file transfer.

My dhcp file is like this
/etc/dhcpd.conf
ddns-update-style none;
# option subnet-mask 255.255.255.0;
default-lease-time 600;
max-lease-time 600;

subnet 192.168.200.0 netmask 255.255.255.0  {
  range 192.168.200.2 192.168.200.3;
  # option broadcast-address 10.2.1.31;
  # option routers 10.2.1.1;
  allow booting;
  allow bootp;

  next-server 192.168.200.1;
#filename "/tftpboot/pxelinux.0"; when this statement is used,file not found
is reported
  filename "pxelinux.0";
}

I installed tftp server using tft-hpa-0.46 package.Then i made changes to

xinetd.conf file :

defaults
{
        instances               = 60
        log_type                = SYSLOG authpriv
        log_on_success          = HOST PID
        log_on_failure          = HOST
        cps                     = 25 30
}

includedir /etc/xinetd.d

service tftp
{
        disable = no
        socket_type = dgram
        protocol = udp
        wait = yes
        user = root
        server = /usr/sbin/in.tftpd
        server_args = -s /tftpboot
        per_source      =11
        cps             =100 2
        flags           =IPv4
}

(there are also a few tftp files in the xinetd.d directory).
My /tftpboot/pxelinux.cfg has the file C0 which is like this:

(I use a USB-serial port connector)

SERIAL 0 19200
DEFAULT /vmlinuz console=ttys0,19200,n8 initrd=initrd.img ramdisk_size=8192
root=/dev/ram0

my initrd.img is in the /tftpboot directory and the final images are in the
/var/www directory.

I use a USB-serial port connector.

Did I miss anything?

Thank you for your time.
Sritej



More information about the Syslinux mailing list