Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Part 1: linux a. What does the following command do: nmap -sP192.168.1.1/24 b. What would the following commands do: uname a and unamemrs? c. what

Part 1: linux

a. What does the following command do: nmap -sP192.168.1.1/24

b. What would the following commands do: uname –a and uname–mrs?

c. what does command tree -d do?

d. How do you create a tree for /etc directorycontent?

e. What does ls -la | less?

f. Does Raspberry Pi 3 support vi? what would happen if you typevi test.txt?

g. What does arp –a accomplish?

h. If you are using SSH, how can you install a package suchas wireshark?

i. What will be the advantage of enabling port forwardingon a RPi

j. Try nano test.txt – what do you see? What is thedifference between nano and vi?

k. An interesting feature of Linux is its ability to logall activities, including SSH logins. The log file is located in/var/log/auth.log. Try the following commands: tail -500/var/log/auth.log | grep 'sshd' or simply: grep 'sshd'/var/log/auth.log Answer the following questions: a. Is it possibleto see which users have attempted to SSH? b. What is the singleLinux command to figure out which users failed to perform SSH? c.What is the default port number for SSH? d. How is it possible tochange the SSH port number using /etc/ssh/sshd_config?

l. Here is an example of SSH command using a differentport: ssh user@192.168.1.1 -p 26 Change the default SSH port onyour RPi and make sure you can log back. After changing the defaultport you need to restart the SSH server: service ssh restart. Alsotry the following service ssh status. . Electrical EngineeringProgram Lab 1 - Introduction to RPi F. Farahmand Ver. 2 10 23-Measure the power consumption of a Pi in the following conditions(HINT: you need to use a digital multi meter, remember P=VI): e.When there is no WiFi connection. f. When there is WiFiconnection.

 

Step by Step Solution

3.46 Rating (162 Votes )

There are 3 Steps involved in it

Step: 1

Answer a The command nmap sP1921681124 will scan the network address range of 1921681124 to find computers servers and other devices on the network b The command uname a displays all system informatio... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Income Tax Fundamentals 2013

Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill

31st Edition

1111972516, 978-1285586618, 1285586611, 978-1285613109, 978-1111972516

More Books

Students also viewed these Programming questions