Friday 8 April 2011

Establishing peer-to-peer connection or point-to-point network

People thinks that it is very easy to establish peer-to-peer connection. But things can be very much complicated. The setup of point-to-point network is shown in the Figure below:


Fig: Configuration of master PC which would act as a gateway for second PC connected to it.


Fig: configuration of second PC having master PC as gateway.

Now, In this scenario since both PC can communicate with each other but to access internet from second PC master PC acts as a gateway for the second PC.

People might think that it is very easy but sometimes it becomes complicated.

For example, When People try to esatblish connection between two PC's with different configurations they find it difficult to establish connection. They even changes the network cable thinking that cable is not good. Even they think that since both the PC's are of different configurations that's why connection is not establishing. They even go for external LAN card. But none of them thinks about the speed. The speed of network adapter. Now, modern days PC's support speed up to 1Gbps. By default, the speed of network adapter is in autonegotiate mode i.e; it will adjust speed automatically as per the envoronment (switch supporting speed up to 1Gbps). In point-to-point network to establish connectivity both the system must have same speed. For example: If one system is supporting the speed 10 Mbps/100 Mbps/1Gbps & other system is supporting the spped of 10/100 Mbps then set the system having maximum speed of 1Gbps to 100Mbps  & Try to establish connection. You will find that connection is established

Note: In pont-to-pont network to establish connection speed must be same doesn't matter what the configuration is.

Tuesday 5 April 2011

To break password of GRUB in Linux

Step1 :> Boot from 1st CD or DVD

Step2:> Boot : Type linux rescue & press enter

Step3:> Do you want to enable the networking interface

                  yes/no  
Choose no for standalone system

Step4:> chroot /mnt/sysimage

                     continue
Press continue

Step5:> Type chroot /mnt/sysimage

Step6:>Type vi /etc/grub.conf

In grub.conf file remove the line

password --md5 ------------------------------

:wq

Step7:> exit

Step8:> reboot

To see the mountpoint of pendrive or external hardware

//To see the mount point:

tail -f /var/log/messages

or

tail /var/log/messages

To determine speed of ethernet card in linux

//To determine speed of ethernet card:

ethtool eth0

This command will tell whether the speed is 10mbps/100mbps & it would show the information about Lan card

To set speed 10mbps/100mbps of ethernet card in linux

//To set speed 10mbps:

ethtool -s eth0 speed 10 duplex full autonego off

mii-tool eth0

//To set speed 100mbps:

ethtool -s eth0 speed 100 duplex full autonego off

mii-tool eth0

//To set speed autonego

ethtool -s eth0 autonego on

mii-tool eth0

NFS Versions & Packages Required for NFS (LINUX/UNIX)

NFS : Network File System (NFS) protocol allow Linux client to mount remote file systems and interact with those file systems as they are m...

Recently Viewed