From Fedora Project Wiki

(Created page with "{{QA/Test_Case |description=This test case ensures that the disk drive(s) are properly dismounted when Fedora is being shut down or when a Reboot is done. |setup=Install the p...")
 
 
Line 1: Line 1:
 
{{QA/Test_Case
 
{{QA/Test_Case
|description=This test case ensures that the disk drive(s) are properly dismounted when Fedora is being shut down or when a Reboot is done.
+
|description=This test case detects that a remote host is alive using nmpa and guesses the opertaing system.
|setup=Install the pre-release version of Fedora that is to be tested on a bare metal system using the default Anaconda settings except to reclaim all disk space in the process.
+
|setup=
|actions=
+
Ensure the {{package|nmap}} package is installed.
Be as specific as required for the target audience.
+
|actions=  
# Start here ...
+
# Run nmap -O ip_or_hostname
# Next do this ...
 
# Finally click that
 
 
|results=
 
|results=
The following must be true to consider this a successful test run. Be brief ... but explicit.  
+
<pre> Starting Nmap 7.80 ( https://nmap.org ) at 2021-06-16 16:31 IST
# Step #1 completes without error
+
Nmap scan report for MyRouter (192.168.)
# The system boots into runlevel 5
+
Host is up (0.000064s latency).
# Program completes with exit code 0
+
Other addresses for MyRouter (not scanned): fe80::9ac4:2c1e:8d03:bb4d 192.168.122.1
|optional=Optionally provide hints for exploratory testing.
+
Not shown: 999 closed ports
 +
PORT  STATE SERVICE
 +
22/tcp open  ssh
 +
Device type: general purpose
 +
Running: Linux 2.6.X
 +
OS CPE: cpe:/o:linux:linux_kernel:2.6.32
 +
OS details: Linux 2.6.32
 +
Network Distance: 0 hops </pre>
 
}}
 
}}

Latest revision as of 15:39, 16 June 2021

Description

This test case detects that a remote host is alive using nmpa and guesses the opertaing system.

Setup

Ensure the Package-x-generic-16.pngnmap package is installed.

How to test

  1. Run nmap -O ip_or_hostname

Expected Results

 Starting Nmap 7.80 ( https://nmap.org ) at 2021-06-16 16:31 IST
Nmap scan report for MyRouter (192.168.)
Host is up (0.000064s latency).
Other addresses for MyRouter (not scanned): fe80::9ac4:2c1e:8d03:bb4d 192.168.122.1
Not shown: 999 closed ports
PORT   STATE SERVICE
22/tcp open  ssh
Device type: general purpose
Running: Linux 2.6.X
OS CPE: cpe:/o:linux:linux_kernel:2.6.32
OS details: Linux 2.6.32
Network Distance: 0 hops