LAB 5

Name: Muhammad Danial Bin Zainal Azlan                                                Matric No: 192020173

PART 1 ( Checking Network)

1.    First let's make sure the connection is really down by pinging a known external address. 
       im using my blogspot website : ping www.danialzainal192020173-lab-os.blogspot.com
     

    Something like this should appear:


2.    Press ctrl+c to stop the output. If the command line says timed out, or says something about no host or bad route, the connection is indeed down.

PART 2 ( Using FileZilla)

1. Open FileZilla using xampp


2.    Use port 21 (default)




3.    In the terminal session (client) run this command : ftp 192.168.0.100 (my ip address) and type server username and password



4.    It should show something like logged on. Then type this command ls -la


5. You should see listing files. 


6.    One thing to remember when using ftp is to know where you are at all times. Use pwd often and it will show connection timed out.



7.    To run command locally, prefix it with an exclamation point : !pwd and the type !ls




8.    Let's make a file transfer. Change local directory to /tmp by running : lcd /home/kali/danialzainal


9.    Run !ls command


10. Now let's copy file1.txt to the server :put file1.txt


11.    Now let's retrieve file5.txt from the server




12.    Run this command to exit ftp :quit


13.    Now run scp command to begin : cd /tmp


14.    Create test file : ls > f1.txt



PART 3 ( TELNET SERVER)

1.    After installing telnet server, run this command


2.    Run this command on linux :telnet 192.168.0.100 (my ip address)


3.    A prompt should appear


PART 4 (SSH server)

1.    Run this command to check SSH status :service ssh status


2.    To run SSH we must use command : service ssh start



3.    Run the following command : pwd
   Then run this command : uptime


PART 5 ( Getting a web page without a browser -wget)

1.    Run the following command : cd /tmp


2.    Run the following command and enter any website you know ( i'm entering my blogspot website)



3.    The resulting file will be named index.html


4.    You can also try with more specific file.






































Post a Comment

0 Comments