solved PFsense and LTSP (pnp mode) 1 NIC - Mint Mate 19 64 bits

"Douglas G. Oechsler" <[email protected]> Mon, 25 Feb 2019 16:56:46 -0300
Newsgroups gmane.linux.terminal-server.general
Message-ID <CADUfT+cwE9n6gF7mxiL=ZEWb21wK8X+vt_pMME_5CmFA=2rsQA@mail.gmail.com>
Hello!
How are you?

I had following this link to install Ltsp
http://wiki.ltsp.org/wiki/Installation/Ubuntu#a.29_Installing_LTSP_in_.22chrootless.22_.28previously_pnp.29_mode

For a long time the client cannot access or navigate in internet with
PFsense (no DHCP server) togheter

Here is my changes:


*01-*
*ltsp-config dnsmasq --enable-dns*


*02 - Let the same subnet that PFsense in: /etc/ltsp/dhcpd.conf *

#
# Default LTSP dhcpd.conf config file.
#

authoritative;

subnet 10.1.1.0 netmask 255.255.255.0 {
    range 10.1.1.21 10.1.1.23;
    option domain-name "example.com";
    option domain-name-servers 10.1.1.1;
    option broadcast-address 10.1.1.255;
    option routers 10.1.1.1;
#    next-server 192.168.67.1;
#    get-lease-hostnames true;
    option subnet-mask 255.255.255.0;
    option root-path "/opt/ltsp/images";
    if substring( option vendor-class-identifier, 0, 9 ) = "PXEClient" {
        filename "/ltsp/images/pxelinux.0";
    } else {
        filename "/ltsp/images/amd64.img";
    }



*03 -  Made some change in : /etc/dnsmasq.d/ltsp-server-dnsmasq.conf*

# IP ranges to hand out.
dhcp-range=10.1.1.21,10.1.1.23,8h

# If another DHCP server is present on the network, you may use a proxy
range
# instead. This makes dnsmasq provide boot information but not IP leases.
# (needs dnsmasq 2.48+)

*# dhcp-range=10.1.1.0,proxy*


# Disable the DNS server functionality of dnsmasq by setting port=0
*#port=0*


04 -
*Enable IPv4 Forwarding in /etc/sysctl.conf*

# Uncomment the next line to enable packet forwarding for IPv4
*net.ipv4.ip_forward=1*

And ok! Restart system and clients works fine!
There are some problems but, this is solved

Thanks all

Douglas

_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net