ltsp 2 Nic still not working (Mint and Debian)
"Douglas G. Oechsler" <[email protected]>
| Newsgroups | gmane.linux.terminal-server.general |
|---|---|
| Message-ID | <CADUfT+esdVrUmgv9UZA6hSqCnLz5_JFdt9UWN_y_YZnuaJsEJw@mail.gmail.com> |
Hello I am trying to install LTSP in Mint 19 and after Debian 9. The client side up but not connect internet. I go show my steps on Debian 1 - install packages sudo apt-get install ldm ldm-server ldm-themes ltsp-client ltsp-client-core ltsp-docs ltsp-server ltsp-server-standalone ltspfs ltspfsd ltspfsd-core 2 - configure second nic to LTSP etc/network/interfaces # 2 NIC auto enp1s10 iface enp1s10 inet static address 192.168.67.1 netmask 255.255.255.0 3 - Restart Network Manager: sudo systemctl restart network-manager 4 - Create file default dnsmasq: sudo ltsp-config dnsmasq 5 - Edit file /etc/dnsmasq.d/ltsp-server-dnsmasq.conf # dhcp-range=10.1.1.0,proxy (comment here#) #port=0 change port=o 6 - Edit file: /etc/ltsp/update-kernels.conf # Supported booth methods BOOT_METHODS="NBD AOE NFS" change to BOOT_METHODS=NBD #IPAPPEND=3 change to: IPAPPEND=3 7- Create the client image: sudo ltsp-update-image --cleanup / 8 - Create lts.conf file: sudo ltsp-config lts.conf 9 - In file /var/lib/tftpboot/ltsp/amd64/lts.conf insert line: DNS_SERVER=8.8.8.8 10 - Enable IPV4 forward In file /etc/sysctl.conf #net.ipv4.ip_forward=1 change to: net.ipv4.ip_forward=1 11 - Create file inside /etc/network/if-up.d and insert line: #!/bin/sh iptables -t nat -A POSTROUTING -o eno1 -j MASQUERADE ???? Internet NIC or LTSP NIC? Here stiil not tested Do Need I Enable NAT or not? sudo iptables --table nat --append POSTROUTING --jump MASQUERADE --source (IP LTSP NIC) and last Do Need I permanent enable NAT? command: sudo sh -c 'iptables-save > /etc/ltsp/nat' LTSP no connect Internet on Debian and Linux Mint but the client side up (fat clinet) What can I be wrong? Please, can you help me? thanks so much Douglas -- Douglas Giovani Oechsler e-mail: [email protected] <douglasgiovani-vy6/[email protected]> Prudentópolis - PR *Linux Mint* Seja Livre Usuário Linux #479644 _____________________________________________________________________ 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