Re: ltsp 2 Nic still not working (Mint and Debian)
Dashamir Hoxha <[email protected]>
| Newsgroups | gmane.linux.terminal-server.general |
|---|---|
| Message-ID | <CAMucfLxaZnj_vNXaN8CPOL6S4qhKBxBJGhZa+Cz+-aHKraXHtw@mail.gmail.com> |
On Mon, Jan 7, 2019 at 7:46 PM Douglas G. Oechsler <[email protected]> wrote: > 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 > You don't need to install both `ltsp-server` and `ltsp-server-standalone`, only one of them. Maybe there is nothing wrong installing both of them, but it is not necessary. > > 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 > This takes effect after restart. > > 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? > `eno1` should be the internet NIC. > > Here stiil not tested > Do Need I Enable NAT or not? > sudo iptables --table nat --append POSTROUTING --jump MASQUERADE --source > (IP LTSP NIC) > This is almost the same as the script above, > > and last Do Need I permanent enable NAT? > command: > sudo sh -c 'iptables-save > /etc/ltsp/nat' > I think that the script above does it. Otherwise you may have to install `iptables-persistent`. > > 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? > As Alkis said, you better follow some guide and start from scratch. I would even suggest that you start by installing the system again. Dashamir _____________________________________________________________________ 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