MINI PROJECT

DKT 221/3

OPERATING SYSTEM PRINCIPLE

 

 

MINI PROJECT


DKT 221/3

OPERATING SYSTEM PRINCIPLE

 







PART 1-CHECKING NETWORK



1. First let's make sure the connection is really down by pinging a known external address. I use Road Runner as my ISP, so for me the command would be: 

:ping rr.com (This website is no more active) , You can try your blogspot website here:

: ping www.farienasyafrinie.blogspot.com


2. Something like this should appear:

3. Press Ctr/+ 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. Let's try to fix it.







PART 2(USING FILEZILLA)


1. We open filezilla in LINUX
In the terminal session (client ) run this command : ftp 192.168.8.128
(my ip address for server) and type server username and password




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



3.You should see listing files.Run help to show a list of commands .They might not all available on your system (which i consider bug).



4.One thing to remember when using ftp is to know wheree you are at all times.It very easy to get confused .Use pwd often it will show connection time out .


5.The commands that i type are on the  server ,To run command locally ,prefix it  with an exclamation point .Try these command :!pwd and then type !ls




6.So lets actually do something .Change local directory to /tmp by running :

lcd /home/rienlinux/jklewis


7.Run !ls command 


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


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







10.Run this command to exit ftp :quit

11.Now let's run scp command to begin : cd /tmp


12.Create test file : ls > f1.txt








PART 3 (TELNET SERVER)


1.You need to install telnet server first and check with cmd ,run this command 





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

3.A banner and prompt should appear .Enter the username and password .








4.Run this command to exit session :exit 






PART 4 :SSH SERVER


1.Run this command to exit session :ssh service status to check ssh is runninng or not if not run ssh service start




2.Now lets try  running secure shell session .Run this command ssh rienlinux@192.168.8.128 Enter your password .



3.Run the following command : pwd



4.Run this command : uptime 



5.Run this command to exit session :exit 





GETING A WEB PAGE WITHOUT A BROWSER -WGET


1.Run the following command : cd /tmp

2.Run the following command enter any website u know 

 resulting file will be named index.html .View it with more index.html.Yes,its general webpage kali linux .



4.Specific file.Try this commad:










Comments

Popular posts from this blog

LAB 2 : Exploring the ESP32 GPIOs

LAB 3

LAB 1