Wednesday, December 29, 2010

Solution to ipconfig and ping Commands Not Working Problem

It may happen that when you try to run diagnostic commands like ipconfig or ping, an error pops up saying “ping is not recognized as an internal or external command”. While this command runs on other computers absolutely fine, you may have hard time to run the commands.
Ipconfig and ping commands are important to see various details of the computer, like ipconfig helps us to find the Ip address of our PC and other things, while ping helps in determining TCP/IP Networks IP address as well as determine issues with the network and assists in resolving them.
This problem was faced by one of our readers and here goes the solution for the problem.
1.    Just ensure that there is a file named “cmd.exe” in the C:\Windows\System 32 folder and there is no other similar named file like cmd.com or cmd.bat. Only cmd.exe is the required important file while others (if any) are spyware.
2.    To check for those files go to Tools-> Folder Opions-> View-> tick on Show hidden files and folders and uncheck Hide protected operating system files and folders. If the other files are present delete them.
3.    Also make sure that there are the two required files named “ipconfig.exe” and “ping.exe” in the system 32 folder. If not then copy the files from other PC and paste them there.

TCP/IP


TCP/IP
Bermaksud Transmission Control Protocol/Internet Protocol
-digunakan didalam komunikasi berkomputer.
-Dengan kata lain adalah bahasa penghantaraan komunikasi dan tatacara.


TCP/IP Layer
                            I.            Application
                          II.            Host-to-Host
                        III.            Network
                        IV.            Link Interface Layer

IP address
       I.            Adalah alamat untuk penghantaran(Sender) dan penerimaan(Receiver)
Contoh: PC ke PC, PC ke Router.
     II.            Dengan kata lain adalah sama seperti nombor telefon atau nombor ID seseorang.
*penggunaan cable terbahagi kepada 2
1. Straight Cable – Digunakan untuk deveice yang berbeza-beza
Contohnya: sambungan router ke PC perlu meggunakan cable ini.
2.Cross Cable – Digunakan untuk deveice yang sama
Contohnya: Sambungan PC ke PC, Router ke Router.


Class of IP address
-Terbahagi kepada 5 class
Class A.  1 – 127
Class B. 128 – 191
Class C. 192 – 223
Class D. 224 – 239
Class E. 240 – 247
*Class A,B,C adalah untuk kegunaan international
*Class D dan E adalah untuk ‘reserved’ dan ‘experiment’.
(untuk mengenal pasti class IP address perlu melihat OCTET pertama)


                          Perbezaan Class IP

Jenis IP address
*V=Version
1.32bit = IPV4   contoh:     W.X.Y.Z  
Bagi IPV4 setiap satu  OCTET mempunyai 8bit
Contoh: IIIIIIII.IIIIIIII.IIIIIIII.IIIIIIII
*Kiraan bit adalah bermula dari kanan ke kiri iaitu 7,6,5,4,3,2,1,0 kuasadua.
IPV4 adalah dalam kiraan binary nombor iaitu 0 atau 1.




Contoh: Binary nombor bagi 192.

128 64   32        16       8         4        2        1 II000000=192
2.128bit = IPV6         contoh: A:B:C:D:E:F:G:H
Bagi IPV6 setiap satu  OCTET mempunyai 16bit
IPV6 adalah dalam kiraan Hexadecimal iaitu 0123456789ABCDEFGH

 *range bagi setiap OCTET ialah diantara 0 hingga 255.



Gambar rajah 1







Syarat IP address jenis IPV4
x.x.x.x
x = 0 sehingga 254
x4 /=  0
x1-3 = 0 sehingga 255
*x = octet

Syarat untuk valid IP address IPV4
1. Octet 1 dan 4 tidak bernilai 0 atau 255
*nilai 0 = network addr & nilai 255= broadcast addr

2. Octet 1 bukan bernilai 127.x.x.x
*127 = loopback address

Subnet Mask

Bermaksud mekanisma pengiraan untuk memecahkan network
kepada network yang lain.
-untuk mengira network dan host



IP subnetting dan CIDR
CIDR bermaksud (classless inter-domain routing)
digunakan untik ketiga-tiga class IP addr.

contoh CIDR : 10.1.1.10/8
nilai 8 itu merujuk subnet mask yang digunakan.
Jadi untuk CIDR 10.1.1.10/8 Subnet Mask adalah 255.0.0.0



Jadi kesimpulan yang dapat kita buat disini adalah:
Jika Octet pada subnet mask bernilai '0' maka secara automatiknya
Octet pada IP addr yang bernilai 1-254 boleh berkomunikasi.
Dan jika subnet mask=255 maka nilai diantara kedua-dua IP address mestilah sama.

Jika selain itu maka jangan berharap anda boleh berhubung dengan
computer seseorang selagi anda tidak mengikut peraturan IP addr tersebut.
"Tapi bagi aku seorang pro hackers tidak akan ada perkataan 'TIDAK' atau 'TIDAK BOLEH'
dalam kamus hidup dia. Jadi cadangan aku selagi anda berhubung dengan rangkaian internet
maka bersiap sedialah untuk menerima kenyataan bahawa kemungkinan  komputer anda
diceroboh adalah sangat besar".

Introduction


Network Security Professional
Sylibus yang sedang hangat diperkatakan.
1.TCP/IP
2.Encryption
3.Phishing
4.wireless (Hacking)
5.Network Cabling Structure
6.Fiber Optic
7.Linux-command,install.
                              I.       Fedora
                            II.      Centos
8.Network Anylisis
9.SQL injection
    -Serangan keatas web sebagai admin
10.Bypass firewall-Panda
11.Sniffing (Cara mencuri password)
12.Attack
13.Folder Lock & Key Logger
14.PC Maintanance

Empat belas tajuk ini yang diberitahu, Harap-harap lebih lagi tajuk yang akan didedahkan....