[mythtv-users] Struggling with Diskless clients on Ubuntu (probably OT)

Ben Lancaster mail at benlancaster.co.uk
Mon May 31 16:41:07 UTC 2010


Hi list,

I've been trying to get diskless clients up and running on Ubuntu Lucid Lynx for the past couple of days, but have hit a bit of a brick wall. Here's the situation:  Using the "mythbuntu-diskless-server-standalone", I set up DHCP and created a mythbuntu image (ltsp-build-client --mythbuntu). The DHCP server works correctly and machines are able to load the kernel and start booting (vmlinuz and initrd.img), but hang as soon as the mythbuntu boot screen appears, the boot output shows:

udhcp[286]: Sending discover...
udhcp[286]: Seneding select for 192.168.1.24...
udhcp[286]: Lease of 192.168.1.25 obtained, lease time 43200
IP-Config: eth0 hardware address 00:0c:29:ca:04:4f mtu 1500 DHCP RARP

...and then just sits there.

/var/log/daemon.log from the server shows the following output during the boot process:

dhcpd: DHCPDISCOVER from 00:0c:29:ca:04:4f via eth0
dhcpd: DHCPOFFER on 192.168.1.25 to 00:0c:29:ca:04:4f via eth0
dhcpd: DHCPREQUEST for 192.168.1.25 (192.168.1.98) from 00:0c:29:ca:04:4f via eth0
dhcpd: DHCPACK on 192.168.1.25 to 00:0c:29:ca:04:4f via eth0
in.tftpd[1595]: RRQ from 192.168.1.25 filename /ltsp/i386/pxelinux.0
in.tftpd[1595]: tftp: client does not accept options
in.tftpd[1596]: RRQ from 192.168.1.25 filename /ltsp/i386/pxelinux.0
in.tftpd[1597]: RRQ from 192.168.1.25 filename /ltsp/i386/pxelinux.cfg/564d3d34-8815-be6a-ec2d-e0d50aca044f
in.tftpd[1598]: RRQ from 192.168.1.25 filename /ltsp/i386/pxelinux.cfg/01-00-0c-29-ca-04-4f
in.tftpd[1599]: RRQ from 192.168.1.25 filename /ltsp/i386/pxelinux.cfg/C0A80119
in.tftpd[1600]: RRQ from 192.168.1.25 filename /ltsp/i386/pxelinux.cfg/C0A8011
in.tftpd[1602]: RRQ from 192.168.1.25 filename /ltsp/i386/pxelinux.cfg/C0A801
in.tftpd[1603]: RRQ from 192.168.1.25 filename /ltsp/i386/pxelinux.cfg/C0A80
in.tftpd[1604]: RRQ from 192.168.1.25 filename /ltsp/i386/pxelinux.cfg/C0A8
in.tftpd[1605]: RRQ from 192.168.1.25 filename /ltsp/i386/pxelinux.cfg/C0A
in.tftpd[1606]: RRQ from 192.168.1.25 filename /ltsp/i386/pxelinux.cfg/C0
in.tftpd[1607]: RRQ from 192.168.1.25 filename /ltsp/i386/pxelinux.cfg/C
in.tftpd[1608]: RRQ from 192.168.1.25 filename /ltsp/i386/pxelinux.cfg/default
in.tftpd[1609]: RRQ from 192.168.1.25 filename /ltsp/i386/vmlinuz
in.tftpd[1610]: RRQ from 192.168.1.25 filename /ltsp/i386/initrd.img
dhcpd: DHCPDISCOVER from 00:0c:29:ca:04:4f via eth0
dhcpd: DHCPOFFER on 192.168.1.25 to 00:0c:29:ca:04:4f via eth0
dhcpd: DHCPREQUEST for 192.168.1.25 (192.168.1.98) from 00:0c:29:ca:04:4f via eth0
dhcpd: DHCPACK on 192.168.1.25 to 00:0c:29:ca:04:4f via eth0
dhcpd: DHCPDISCOVER from 00:0c:29:ca:04:4f via eth0
dhcpd: DHCPOFFER on 192.168.1.25 to 00:0c:29:ca:04:4f via eth0

I can't see any NFS mount requests coming in (should there be any?)

Here's the contents of relevant config files:

# /etc/default/tftpd-hpa
TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/var/lib/tftpboot"
TFTP_ADDRESS="0.0.0.0:69"
TFTP_OPTIONS="--secure -v"
# -- end

# /etc/ltsp/dhcpd.conf

authoritative;

subnet 192.168.1.0 netmask 255.255.255.0 {
    range 192.168.1.20 192.168.1.250;
    option domain-name "benlancaster.co.uk";
    option domain-name-servers 192.168.1.254;
    option broadcast-address 192.168.1.255;
    option routers 192.168.1.254;
#    next-server 192.168.0.1;
#    get-lease-hostnames true;
    option subnet-mask 255.255.255.0;
    option root-path "/opt/ltsp/i386";

    if substring( option vendor-class-identifier, 0, 9 ) = "PXEClient" {
        filename "/ltsp/i386/pxelinux.0";
    } else {
        filename "/ltsp/i386/nbi.img";
    }
}
# --end 

# /var/lib/tftpboot/ltsp/i386/pxelinux.cfg/default

default ltsp

label ltsp
kernel vmlinuz
append ro initrd=initrd.img quiet splash nbdport=2000
# --end

Thanks in advance.

Ben


More information about the mythtv-users mailing list