Showing posts with label IPv6. Show all posts
Showing posts with label IPv6. Show all posts

Friday, July 26, 2013

OPENSSH-SERVER


SSH is program to login into remote computer in Network. You can have all accessibility when you logged into remote computer. This is done by Linux terminal. You can also login from Windows to Linux System but you must have the Public key and password of the remote System, but for Linux you just need password of remote system. As I mention in the  beginning of this blog SSH is a program from which you can login into remote System. But it is must that Remote System must have Openssh-server installed in its system.

You can read more about SSH program by typing “man ssh” on your Linux terminal, as shown below.

Fig :1
In above image you can see at left most corner is given “SSH(1)”, that 1 means its “Executable programs or shell commands”. In Linux there are different types of programs that run on Linux Terminal. For example there is one command that is “kill()” which can be use for two different purposes.

You can check program type by typing on terminal “man man”, it shows following output on terminal as below.

Fig : 2

As mention we must have Openssh-server on Remote system, following is an example for installing Openssh-server in your system.
For installing openssh-server:

    sudo apt-get install openssh-server

Fig :3
You can also download openssh-server(any package) instead of installing it for later use.

For downloading openssh-server:

        sudo apt-get download openssh-server

Fig:4
Now, to connect to remote System you have to type on your terminal,

          ssh -4 IP_Address_of_Remote_System

Fig:5
In above command I used “-4”, which indicate that it's a IPV4, for IPV6 use “-6”. When you'll try to login into Remote host, it will ask for the Remote account password for security purpose. After logged into Remote Host you can have all access to Remote host on your terminal. But for Administrative or root access you must know it's password. To access as Administrative or root you can switch to that account by typing on terminal:

      su account_name

It will ask you the password for the same account. After entering into that account you can have access as Admin or root.

Many times it happened that you login as Admin but you can't use some commands like poweroff . So for that purpose just try following command,

       sudo poweroff

Here, it will ask for the Admin Account password, type it and then you can use some of the root command easily.

Thursday, January 17, 2013

IPv6 can boost the performance of Mobile Networks


As we all know the next version of Internet protocol is IPv6 which is said that it made the life of the people more easier than before. IPv6 is a big step up from the Internet Protocol version 4. The IPv4 is the IP address, which is made of sequence of four sets of numbers. This IPv4 was used from long time ago. IP address is what allows communication between different devices. However due to the ever-growing usage of the internet, the number of sequence in IPv4 has been exhausted. The solution to overcome this problem was IPv6 which would use as a set of six numbers so to allocate more number of new addresses to the users. IPv6 was developed by the Internet Engineering Task Force (IETF).
 
The mobile devices having IPv6 has many benefits over IPv4 for mobile networks and the devices connecting them. As we know that IPv6 has six set of numbers for addresses so there is almost endless IP addresses. Because of this, NAT (Network Address Translation) is not supported in IPv6. In fact, NAT is not being implemented at all in IPv6 networks. NAT is used to allow the multiple devices to share the same IP address. As this was necessary in IPv4, due to lack of IP addresses for everyone and everything. The condition had become so worse that no new address was left for anyone.
Now with IPv6 every single device has a unique and globally accessible IPv6 addresses. The fact of mobile network using IPv4 is that NAT increases the latency by a few milliseconds. This is because the network switch has to translate the IP addresses for routing packets between the public IP address used by the switch, and the internal IP address used by the mobile network. This is also in the case of home internet connections but the latency is quite low so it’s not so noticeable, but it is especially noticeable with mobile networks.
So with globally accessible unique address per device offers the quick point to point communication. Because the device doesn’t have to tell the NAT layer that it is still connected and waiting for the data. This also serves another purpose that the battery will not drain as much when actively accessing the mobile network to access resources on the internet. This is especially important when we use the services like Google Talk video chat or Skype. Because these types of services rely on direct peer to peer communication to work properly in real-time. When NAT is used to insert in between, it delays the service because of keep-alive packets and the requisite way along the multiple networks through NAT.
Of course, there are some pitfalls present. Every device may need a firewall with an intrusion detection system to protect the mobile devices from direct attacks as the devices would be directly accessible from the global network. The antivirus scanning of files downloads would become more important in using the IPv6 networks.
But the advantages of the IPv6 are too important to ignore the few pitfalls. This IPv6 can be used in many of the smartphones and tablets including iPhone 5, Samsung Galaxy S III etc. Now usage of IPv6 is on full swing and we should get used to IPv6 and building services that operate well over IPv6 because as soon as we will have to completely switch to IPv6.