The Linux workstation will use much the same configuration steps we used on the Linux server. The major difference between the server and the workstation, is the workstation does not need Samba installed.
For the sake of this tutorial, lets assume you have not setup the name and IP address during installation of Linux. We will then go to the files concerned and make the changes there.
To start the network configuration have a look at the file: /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE= BOOTPROTO= BROADCAST= IPADDR= NETMASK= NETWORK= ONBOOT=
The lines in this file specify how the network will be configured. Here is a brief explaination of these lines:
For our configuration this machine is the server, so it’s configuration should be changed to:
DEVICE=eth0 BOOTPROTO=static BROADCAST=192.168.1.255 IPADDR=192.168.1.7 NETMASK=255.255.255.0 NETWORK=192.168.1.0 ONBOOT=yes
The next file we will modify is: /etc/sysconfig/network
NETWORKING= HOSTNAME= GATEWAY=
Here is a quick definition of the entries in this file.
So for our server install it should say:
NETWORKING=yes HOSTNAME=wizard.home.org GATEWAY=192.168.1.254
Once we have made these changes, we should run the command “/etc/rc.d/init.d/network start” to activate them.
You should configure the file /etc/resolv.conf to know who you are and where to find a name server. It should be setup like this:
domain home.org nameserver 192.168.1.254
This tells the system to use the domain home.org and to look for the DNS information on samson.
First, lets see if we can see the Server and Windows boxes. Try the following command: ping -c4 samson . It should return something like this:
PING samson.home.org (192.168.1.254) from 220.127.116.11 : 56(84) bytes of data. 64 bytes from samson.home.org (192.168.1.254): icmp_seq=1 ttl=124 time=2.56 ms 64 bytes from samson.home.org (192.168.1.254): icmp_seq=2 ttl=124 time=1.67 ms 64 bytes from samson.home.org (192.168.1.254): icmp_seq=3 ttl=124 time=1.89 ms 64 bytes from samson.home.org (192.168.1.254): icmp_seq=4 ttl=124 time=1.67 ms --- samson.home.org ping statistics --- 4 packets transmitted, 4 received, 0% loss, time 3025ms rtt min/avg/max/mdev = 1.670/1.949/2.560/0.365 ms
This indicates that you are able to contact the Firewall box. You should try the same command for wizard and apollo, assuming they are both turned on.
Next we should see if we can get to the internet through the firewall. Start up a web browser and look for a site like www.google.com. If it comes up, you are in business.
Written by John F. Moore
Last Revised: Wed Oct 18 11:01:34 EDT 2017