The following networking job I have done in this Lab. It is enough for a small office to access or transfer file Printing and access of shared Internet in different type of operating system.
We have recently set up a home office (small laboratory) LAN. All the computers access the internet through a USB wireless (CMDA) dongle. The USB stick is Huawei EC168C and internet service provider is Reliance Infocom (India). But any USB internet dongle can be use to share internet in a LAN in the following way. And you don't need a router for that. In the areas where ISP cannot give wire line internet connection this type of USB wireless sticks are really helpful for home office.
Basic LAN Connection:
Here this lab has 4 PCs. One Windows XP, another Windows Vista starter and two RedHat Linux server systems. Here in this lab I have done the basic LAN connection using cat5 cable & RJ45 connector and an 8 port hub. I have connect the two windows based OS. Using cross cable I have connected two windows system with the hub. Then I put static IP address in Ipv4 of TCP/IP. After that I set workgroup name to join in a workgroup in windows PCs. Then I tried to ping the systems, and it was pinging. Then I have setup a home or small office network in both windows system. That I have enabled the Printer sharing. After that I can share file, data and printer through the system gateway.
Now I have to connect other two Linux PCs in this network. With same cross cable I have joined the both Linux system with the hub. Then to detect the Ethernet device I have put down "DEVICE=eth0" entry in /etc/sysconfig/network-scripts/ifcfg-eth0 file. Then I set IP address in Ethernet device in network configuration in graphical mode (or System-config-network in text mode).After doing this job I restart the network service with "service network restart" command. Then I am trying to ping the systems to one another, And It was pinging.
Now Linux system can access with each other and files also shared through SSH, Telnet,FTP using process and command.
Linux Configuration:
I have configured the Linux system in the following way. First I have set the host name in /etc/sysconfig/network file by VI editor. Next I have edit /etc/sysconfig/network-scripts/ifcfg-eth0 file with "Device=eth0" to detect the Ethernet device. After that I have put the IP add in network configuration file and Restart the network service. To keep the eth0 on permanently I also use the chkconfig command.
After doing this job File sharing can be possible through network file sharing (Nfs). I have install Nfs package & shared the nfs dir by editing exports file. Then I am trying to automount the NFS dir by automounting process. So that I put automounting entry of nfs file in fstab file. After that it's automounted in other system's mount location.
Windows & Linux Networking:
Through basic LAN both OS can only ping each other. To share file or data samba server (a client server in Linux) must be configured in Linux system. So I Install smb rpm package from yum repository. Then I have Configure the samba/smb.conf file. I put the Workgroup name on Workgroup column of samba/smb.conf file. Then I Set the network IP without host to route in network in Host allow column. At last I put down all details of Samba dir, users at the end of the configuration file set the samba password. After that I restart the samba demon to up the samba server. Now files can shared through samba server. In windows I Set the workgroup name pairs with samba server and also set username and password same as samba server. Now I trying to send or access file through samba in both OS and it happened.
USB Net Connect:
Here in this lab workers are use internet from an Usb net connect. So it must be shared in Network. It is too fast so shared internet can be access easily. In Windows XP system I connect the USB netconnect & share it in network. IF all the network setting is ok then all the systems can access shared internet through gateway. Here all users use this shared internet now.
Access of Another System:
VNC Server & Viewer is software through which we can access of another system easily. I just install the software & set the password. Then I run the vnc server. After that I Put the IP add of vncserver from vncviewer of another system and type the password & start access the vnc server system. It can be access form WAN also. I just Run the Vnc server and connect the internet and I got a Wan IP add provided by ISP.
130 views
Usually answered in minutes!
×