Score:0

problem setting up pxe boot with diskless client ubuntu 20.04 (dnsmasq,nfs server) ltsp like

cn flag

i have been struggling for the last 3 weeks setting up some thing like ltsp. we have a call center with 50 + client with 2G ram which is not enough, and a beafy server with 64 G ram. we used to use Ubuntu 16.04 with ltsp5 and it was a perfect solution for us as clients only need firefox and a softphone, but new ltsp is not supporting the thin client anymore, client boot up as fat client (using client ram and CPU), so i came to set up my own ltsp like server with ubuntu 20.04, what i did is setting up dnsmasq as a DHCP server and tftp plus nfs server and using debootstrap for setting up chroot environment,i also have made the neboot initrd.img. now clients get the IP from DHCP server and bootup normally with lubuntu-desktop 20.04. im abale to login and use it. now the problem is that they boot as fat client.which means the ubuntu-desktp is boot up on the client itself, and it turns out to be so slow as clients dont have enough ram. i need to let server use server's RAM and CPU as clients are having low RAM and CPU, here is my dnsmasq config:

ort=0

dhcp-range=192.168.1.11,192.168.1.99,255.255.255.0
dhcp-option=option:dns-server,8.8.8.8
dhcp-option=option:dns-server,4.2.2.4
dhcp-option=option:router,192.168.1.1

dhcp-boot=/pxelinux.0

enable-tftp
tftp-root=/var/lib/tftpboot

and here is my pxelinux.cfg/default

DEFAULT linux
LABEL linux
KERNEL ubuntu/vmlinuz-5.4.0-89-generic
APPEND  initrd=ubuntu/initrd.img-5.4.0-89-generic  boot=nfs netboot=nfs nfsroot=192.168.1.180:/var/lib/tftpboot/ubuntu/root,udp,rsize=8192,wsize=8192 diskless fastboot ip=dhcp rw

my /etc/expors

/var/lib/tftpboot/ubuntu/root                *(rw,no_root_squash,async,insecure,no_subtree_check)

please let me know what I am missing here? I really need to do it as my clients are so slow and leads my call center agent to have bad performance. any help will be appreciated

Greenonline avatar
us flag
Fixing the formatting/presentation of your question would be a good idea
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.