Please answer following short questions for thumbs up:- a) Which Linux commands
ID: 3904406 • Letter: P
Question
Please answer following short questions for thumbs up:-
a) Which Linux commands may you use to find the current private IP address assigning to your host.
b) If your private IP changes, explain the reason why this change will not affect the integrity the network forensic evidence?
c) What is the function of the Linux dhclient command?
d) Explain how the Linux dhclient command can be used to provide the current MAC address of your network interface device?
e) Which Windows line command is most similar to the Linux dhclient command?
f) How can we improve the PuTTy Screen?
g) List several reasons why you may get a Server unexpectedly closed the network connection error
h) List several reasons why you may get a Putty Network error: Connection timed out error
Explanation / Answer
1. Ways to find the current IP address: ifconfig OR ip addr show
3. Function of Dhclient : Dynamic Host Configuration Protocol Client. It provides a means for configuring one or more network interfaces using DHCP or other protocols and if that fails, it assigns static IP addresses.
5. For windows you can use: ipconfig / registerdns.
6. Ways to improve Putty Screen: a) Configure the default entries before starting to work. This can be done by choosing SSH in connection category. b) Increase the scrolling lines. c) Change the font size and color. d) Change copy and paste settings. d) Change background color to some dark color. e) increase the keep alive packets time so that it doesnot goes to idle state in few mins. f) Use proper encoding. All these settings can be changed as follows:
Category: Window
Lines of scrollback: 20000
Category: Window > Appearance
Font: Lucida Console, 9-point
Font quality: ClearType
Gap between text and window edge: 3
Category: Window > Translation
Character set: UTF-8
Handling of line drawing characters: Unicode
Category: Window > Selection
Action of mouse buttons: xterm (Right extends, Middle pastes)
Paste to clipboard in RTF as well as plain text: enabled
Category: Window > Colours
ANSI Blue: Red:74 Green:74 Blue:255
ANSI Blue Bold: Red:140: Green:140 Blue:255
Category: Connection
Seconds between keepalives (0 to turn off): 25
7. Severals reasons can be : a) Putty session left idle for sometime. b) Maxstartups setting in server's sshd_config file. This varaible might be set to a limited value and you might be exceeding the number of connections.
8. There might be several reasons why you get this error: a) server you were trying to connect was not available or it is completely isolated. b) this can also happen when you try to send across some data and connection with the server ahs been completely lost.