Kamis, 12 Februari 2015

How to Enable Telnet


Telnet is a Protocol and application that can be used to control remote computers in a Local network or over the Internet. Although including a protocol that was very old and less secure, however telnet remains the still widely used to this day. Not the same as Remote Desktop using graphics as it looks, Telnet has only text mode display, and you must use the CLI (command line interface) in the implementation.

In this tutorial we will discuss how to enable telnet in Windows 8, so that our computers can be remote (control) over the network.
The first thing you should do before you enable the telnet service in Windows 8 is ensure that Telnet Server is already installed on the computer that you want to remote (kompter target) and make sure you have installed the Telnet Client on the computer that will perform remote (client computer).


In this article we will assume the target computer (which you wish the remote) has IP Address 10.2.2.2 and computers who want meremote is 10.1.1.1, make sure that you have menyetting IP Address correctly.

To install the Telnet Client and Telnet Server, you can perform through the Control Panel Program > > Program and Feature. And then click Turn Windows features on or off, and then tick check on Telnet Clientatau Telnet Server as in the picture. Then click OK to perform the installation. (sometimes have to restart the computer)


After the installation is complete, move the following things you need to do is run the telnet service on the target computer, from the Run dialog box (Windows + R), type services.msc, who will open the Services MMC.



Then in Service MMC, locate the telnet service, double-click the service, and then change the startup type from Automatic to be Disable, click Apply, and then click Start, and then click OK. Make sure the result as in the picture below.


The next step is to determine which User on the target computer are allowed to Login via Telnet service. For that you need to log in to the Local User and Group, here's how from the Run dialog box (Windows + R) type LUSRMGR. msc, to open the Local Users and Groups MMC.


On Local and Group MMC, click Groups, and then double-click the Telnet Clients group to membukaTelnet Clients Properties, and then click Add, as shown in the image below.



Then type the name of the user who you want to give access to telnet (in Figure assumed at the target computer is the name of a user named admin), and then click Check Names to verify that you're not incorrect typing user name, and then click OK, and click OK again to close the Telnet Clients Properties.


Up here you have finished the configuration on the target computer (the computer that you want to remote). Next to do the testing you could try it from another computer (client computer) and enter the command telnet < target ip address > in command prompt. As in the picture below (assuming the target computer's IP address 10.2.2.2)


So the tutorial how to enable the Telnet service in Windows 8. Good luck and happy learning ... you!!

Basic Linux Console Command


Commands (command) base on Linux run on a terminal shell commonly referred to as terminal or console. Terminal or console is known as the command line interface (CLI) that can be activated by means of the menu click Applications-Accessories-Terminal. In addition it could also work with pure diconsole by pressing the key combination ctrl + alt + F1 where F1 can be replaced up to F6. To return to the mode of Grafical User Interface (GUI) press ctrl + alt + F7.

Here are some Basic Linux Console Command:

login: to log into the network.

password: enter the password after login.

who: to know the list of users who are active (logged in).

finger: provides user identity information that is more complete than there are who.

Logout: to get out of the system or ending a session log

whoami: to know the user who is currently logged on is used in a computer/terminal.

date: indicates the date/set.

ls: displays a list of files in the current directory.

Description: this command will display information about directories and files.The simple form of the ls command will display only the file name. The long form is marked by using the option-l, which will display the names of files along with information for each file is displayed. Several options are provided other antra as follows:
-a: Show all files in the directory including the stuffing.
-o: Show only the name of the directory
-g group ID: print only for long form
-l: Show the entire file of the complete
-r: change the order of the settings file names has been compiled
-t: set the name of the file based on the last modification time, not by name

chmod: changing permissions of a directory/file.
example: chmod 777 nama_file

clear: clears the screen to work on CLI
example: clear or pressing the ctrl + D

CMP: Compare file1 and file2 and report differences
example: cmp file1 and file2

CP: copying files
example: # cp file1/usr/lib

RM: deleting files
example: rm namafileyangmaudihapus

MV: move a file rename ato
example: # mv renamefile1 menjadifile2

Cat: display the contents of a file (similar to the TYPE command on DOS). Paint function to print to the screen monitors the contents of a text file. If the file dililihat using the command is not a text file it will be weird karakterkarakter out on the odd characters can use the command cat-v screen is. .. To avoid tercetaknya

grep: search for a file in any directory
example: grep-n ' file name '/direktori

mkdir: create a directory
example: mkdir namadirektori

rmdir: delete directory
example: rmdir namadirektori

CD: change directory
example: cd/pathdirektori

Basic Linux Backtrak


For users who've always backtrack, must already be familiar with basic command that I wrote it. .. But create new in the backtrack, must be very troublesome if not know what command to use. .. This command is most often I use, please correct the kalu nothing wrong. ..

[*] Login
Root password username default user > toor on backtrack, ane suggestions directly after login change password with the command
root @: ~ # passwd bt
then enter the new password



[*] Fix display of splash:
root @: ~ # bt fix-splash

[*] Starting the X-server (Desktop GUI)
root @: ~ # bt startx

[*] networking
to start networking usually use WICD tpi previously previewed in the console type:
root @ bt: ~ #/etc/init.d/wicd start
and then click:
menu internet > > wicd netwok manager

dynamic ip settings,
root @: ~ # dhclient bt < interface network ente >
--the interfaces here could be eth0 or eth1

Static IP settings
for example:
interface eth0
192.168.1.9-IP Address/24
Default Gateway-192.168.1.1
DNS server 192.168.1.1
then the command used was:

root @: ~ # bt ifconfig eth0 192.168.1.9/24
root @ bt: ~ # route add default gw 192.168.1.1
root @: ~ # echo bt nameserver 192.168.1.1 >/etc/resolv.conf

This will return the default settings when the reboot, to make permanent then we need to edit the/etc/network/interfaces file,

root @: ~ # nano bt/etc/network/interfaces

Auto eth0
iface eth0 inet static
address 192.168.1.9
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
Gateway 192.168.1.1

then save using the command CTRL + X then y then enter answer

root @ bt: ~ # update-rc.d networking defaults
root @: ~ # bt/etc/init.d/networking restart

[*] Start the service at BT:
• SSH (Secure Shell)
before running the ssh service for the first time, we need to generate its key run the commands:
root @: ~ # sshd bt-generate
root @: ~ # bt/etc/init.d/ssh start
Starting in OpenBSD Secure Shell server sshd.

to stop the service:
root @: ~ # bt/etc/init.d/ssh stop
Stopping OpenBSD Secure Shell server sshd.
• apache webserver
root @: ~ # bt/etc/init.d/apache2 start
or it could be with the command of jg

root @ bt: ~ # service apache2 start
* Starting web server apache2

or:
root @: ~ # apache2ctl bt start

to stop the service:

root @: ~ # bt/etc/init.d/apache2 stop

or:
root @ bt: ~ # service apache2 stop

or:
root @: ~ # apache2ctl bt stop
• MySQL
to start using the command:
root @ bt: ~ #/etc/init.d/mysql start

or:
root @ bt: ~ # mysql start

to stop:
root @: ~ # bt/etc/init.d/mysql stop

or:
root @ bt: ~ # mysql stop