Diskless LTSP Frontend

From MythTV Official Wiki
Revision as of 02:05, 27 December 2013 by Wagnerrp (Talk | contribs)

Jump to: navigation, search

This guide is based on Ubuntu 12.04

There are two parts to this guide. One part will have commands to install a 32-bit client, the other part will have commands to install a 64-bit client.

When you see this


It means the commands should be executed on the LTSP server.

When you see this


It means the commands should be executed on the LTSP server, but after you have run the chroot command ltsp-chroot. Chroot is type of isolated environment.


  1. Your mythtv server has an IP address of
  2. Your mythtv frontend is diskless, it will use a dhcp client address of
  3. You will create a new user called mythltsp
  4. Your mythtv server resolves DNS queries
  5. Your default router IP is
  6. Your mythtv server is not already serving DHCP
  7. You mythtv frontend has a mac address of 87:01:2a:ab:08:56

Install the LTSP Server Software

root@ltsp-server:~# apt-get install ltsp-server-standalone

Configure DHCP

Installing the ltsp server software will create a dhcpd config file /etc/ltsp/dhcpd.conf

You already have dhcpd running, this new file will override it.

Dhcpd is used to provide the client frontend with an IP address.

Script.png dhcpd.conf

# This will be the subnet your client will use.  Your server must have an interface serving this range.
subnet netmask {
    option domain-name "example.com";
    option domain-name-servers;
    option broadcast-address;
    option routers;
#    next-server;
#    get-lease-hostnames true;
    option subnet-mask;
    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";

  host mythfront {
  # tftp client hardware address
  hardware ethernet 87:01:2a:ab:08:56;
  # Uncomment the line below if your client is 32-bit
  # filename "/ltsp/i386/pxelinux.0";
  # Uncomment the line below if your client is 64-bit
  filename "/ltsp/amd64/pxelinux.0";



Restart DHCP

 root@ltsp-server:~# service isc-dhcpd-server restart