Re: No Internet Connection for Server and clients

richard kweskin <rkwesk_ltsp-YLKW/[email protected]> Sun, 17 Feb 2019 08:25:57 +0200
Newsgroups gmane.linux.terminal-server.general
Message-ID <[email protected]>
On 2019-02-16 15:25, Tichaona Zvidzayi wrote:
> im using dual NIC  and it can't ping but when I unplug the LTSP
> (192.168...) ethernet cable the ping works
> 
> On Sat, Feb 16, 2019 at 2:39 PM andrea biancalana
> <[email protected]> wrote:
> 
>> il giorno Sat, 16 Feb 2019 13:47:34 +0200  Tichaona Zvidzayi
>> <g13z0022-OUPsdyG8Ndvt/[email protected]> ha scritto:
>> 
>>> Hi all,
>>> 
>>> I have Managed to setup the LTSP server using guideline from
>>> http://wiki.ltsp.org/wiki/Installation/Ubuntu but both thin
>> clients
>>> and the server can't connect to the Internet now.
>>> 
>>> ant suggestions.
>> 
>> DNS ?
>> 
>> Try "ping 8.8.8.8"
>> 
Launch nm-connection-editor from the command line. After launching: 
Choose the Wired connection that corresponds to the router network side 
and click Edit. Click on the IPv4 Settings tab. Choose 'Automatic (DHCP) 
addresses only' instead of just 'Automatic (DHCP)'. In the DNS servers 
field enter 127.0.0.1 first followed by one or two external DNS servers 
that your Internet connection uses, separated by spaces (e.g. 127.0.0.1 
208.67.222.222 8.8.8.8). Save these settings and close the window. Then 
restart Network Manager with
      sudo systemctl restart network-manager.service

Create a default configuration file for dnsmasq with the command
      sudo ltsp-config dnsmasq

You must edit the file /etc/dnsmasq.d/ltsp-server-dnsmasq.conf
When the server has two nics be sure to connect the gigabit capable 
device to the switch with the clients and give that device the static ip 
192.168.67.1 and check that this line does NOT have the # symbol:
     "dhcp-range=192.168.67.20,192.168.67.250,8h"
and then check this other line:
     "dhcp-range=x.y.z.0,proxy
corresponds to the subnet pointing to the Internet and also does NOT 
have the # symbol.

Thus dnsmasq will be the dhcp server for the subnet with the clients and 
allow the router to be the dhcp server of the Internet subnet.
Then restart dnsmasq with the command
      sudo systemctl restart dnsmasq.service

Richard


_____________________________________________________________________
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