Open main menu

CDOT Wiki β

Changes

Set up FatClient Configuration

1,374 bytes added, 06:12, 22 April 2011
no edit summary
# Open and terminal (shell) and login as root.
# Edit the ''dhcpd.conf '' file by issuing the command: '''vi <tt>gedit vi /etc/ltsp/dhcpd.conf</tt>''' and ensure that the following command line exists, otherwise enter it: <br />'''<tt></tt>option routers 192.168.1.254;'''#Save and exit the editor.# Restart the dhcpd server by issuing the command: '''sudo /etc/init.d/dhcp3-server restart'''# Edit the ''<tt>sysctl.conf</tt>'' file by issuing the command: '''<tt>vi </tt><tt>gedit /etc/sysctl.conf</tt>'''# Add the following line or uncomment (if it already exists):<br />'''net.ipv4.ip_forward=1'''# Save and exit the editor.# Run the command: '''sudo sysctl -w net.ipv4.ip_forward=1'''# Issue the following command:<br /><br />'''iptables --table nat --append POSTROUTING --jump MASQUERADE --source 192.168.1.0/24'''# Run the following command to make the above setting permanent:<br /><br />'''sudo sh -c 'iptables-save > /etc/ltsp/nat''''# Edit the ''interfaces'' file by issuing the command:<br /><br />'''vi <tt>/etc/network/interfaces</tt>'''# Make changes to the file to add the line '''up iptables-restore < /etc/ltsp/na'''t to the existing file. See below for our example:  # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 #iface eth0 inet dhcp auto eth1 iface eth1 inet static address 192.168.1.254 netmask 255.255.255.0 network 192.168.1.0 up iptables-restore < /etc/ltsp/nat broadcast 192.168.1.255
13,420
edits