Thursday, September 11, 2014

Professional Practice: Day 02

I. Examples of Unethical Behaviour
  • Incorrectly billing time
  • Sharing confidential information about a client
  • Being negative about a competitor
  • Embellishing your resume
  • Failure to report an error discovered in plans and specifications
  • Accepting gifts from contractors or vendors
  • Being involved in a project that will have significant adverse environmental or safety impact
  • Participating in a deceptive presentation to obtain work
  • Failure to disclose relationships
  • Conflict of interest
References1. BE103/BN201/MN501, Professional Practice, Melbourne Institute of Technology (MIT) Lecture Notes, 2014.


Sunday, September 7, 2014

Data communications Day 2

I Error correction via Retransmission

1.1 Stop-and Wait ARQ (Automatic Repeat reQuest)
The sender stops and waits for a response from the receiver after each data packet.

1.2 Continuous ARQ (Automatic Repeat reQuest)
The sender does not wait for an acknowledgement after sending a message, it immediately sends the next one.

  • The packets that are retransmitted may be only those containing an error (called Link Access Protocol for Modems [LAP-M]. This is better because it is more efficient.
  • The first packet with an error and all those that followed it (call Go-Back-N ARQ).

II. TCP Sequences

The client on either side of a TCP session maintains a 32-bit sequence number it uses to keep track of how much data it has sent. This sequence number is included on each transmitted packet, and acknowledged by the opposite host as an acknowledgement number to inform the sending host that the transmitted data was received successfully.

III Network Layer 3 IP Layer

3.1
What does a DNS server do? - to translate name and IP address and vice versa

What does a DHCP server do? - to assign an IP address for a local network computer.

What is the purpose of the default gateway? - to connect to Internet (out of the local area network).

3.2
Output the physical and IP address mappings
arp -a

Show a record of the sites you have visited
ipconfig /displaydns > c:\temp\dnscache.txt

3.3
Show TCP/IP statistics and details about TCP and UDP connections
netstat -a

To view PC's routing table
netstat -r

3.4
Test a PC's connectivity to the network
ping 127.0.0.1 to check that CP/IP layers are working

3.5 Maximum Segment Size
1460 bytes + 20 bytes typical TCP header length + 20 bytes typical IP header length + 18 bytes Ethernet header and CRC = 1518 bytes. That is the maximum allowable packet size on an Ethernet network.


References
[1]. Jerry Fitzgerald, Alan Dennis and Alexandra Durcikova, Business Data Communications and Networking, 11th Edition, John Wiley & Sons, Inc.

Mounting USB drives in Windows Subsystem for Linux

Windows Subsystem for Linux can use (mount): SD card USB drives CD drives (CDFS) Network drives UNC paths Local storage / drives Drives form...