Weekly Report

Download Report

Transcript Weekly Report

Programming Assignments
EE323 Computer Networks
NETWORKED & DISTRIBUTED COMPUTING SYSTEMS LAB
Assignment Layout
• Total 5 assignments (15%)
–
–
–
–
–
Web Server
UDP Pinger
SMTP Mail Client
ICMP Ping
Web Proxy
• What to do
–
–
–
–
Implement your code (DO NOT COPY!)
Write a simple report that includes your code and result screenshots
Bonus question in every assignment if you’re up for a challenge
Submit your report to KLMS
NETWORKED & DISTRIBUTED COMPUTING SYSTEMS LAB
2
Lab Environment (Linux)
• Lab machine is administered by TA
• IP address
– 143.248.56.44
• Use SSH protocol to communicate with the lab machine
– PuTTY (Windows)
– Terminal (Mac OS)
• ID
– Your student number
• Password
– ee323
NETWORKED & DISTRIBUTED COMPUTING SYSTEMS LAB
3
Cygwin
• Provide Linux-like environment in Windows
– http://cygwin.com/install.html
• Install Cygwin
– Download & run setup.exe
– Choose any URL to download files
NETWORKED & DISTRIBUTED COMPUTING SYSTEMS LAB
4
Accessing from Outside KAIST
• Require virtual private network (VPN) program
– At first run, use Internet Explorer!
– kvpn.kaist.ac.kr
–
– Log in
– Press Start
–
NETWORKED & DISTRIBUTED COMPUTING SYSTEMS LAB
5
Change Your Password!
• Connect to the machine with default ID & PASSWORD
• Type “passwd”
– In response to “(current) UNIX password:”, type current password
– In response to “New password:”, type new password.
– In response to “Retype new password:”, type new password again.
• Reminder
– It is your responsibility to back up
your files
• Keep the code locally
• Use the lab machine only for
testing and debugging
NETWORKED & DISTRIBUTED COMPUTING SYSTEMS LAB
6
VMware Player / VirtualBox
• Run another OS (Linux, Windows, etc.) on top of main OS
– https://my.vmware.com/web/vmware/free#desktop_end_user_computi
ng/vmware_player/5_0
• Install VMware
– Download VMware Player for
Windows 32-bit and 64-bit
– Run downloaded file
NETWORKED & DISTRIBUTED COMPUTING SYSTEMS LAB
7
VMware Player / VirtualBox
• Download Linux (Ubuntu) image file
– http://www.ubuntu.com/download/desktop
• Install Linux on VMware
–
–
–
–
–
Click on “Create a New Virtual Machine”
Click on “Browse…” button
Add image file downloaded from website
Insert information : username, password, etc.
Press “Play virtual machine” button
NETWORKED & DISTRIBUTED COMPUTING SYSTEMS LAB
8